After installed the Debian operating system update the basic packages using apt-get command,
# apt-get update
Ign http://download.videolan.org stable Release.gpg
Ign http://download.videolan.org stable Release
Err http://download.videolan.org stable/main Sources
404 Not Found [IP: 88.191.250.9 80]
Err http://download.videolan.org stable/main i386 Packages
404 Not Found [IP: 88.191.250.9 80]
Ign http://download.videolan.org stable/main Translation-en_US
Ign http://download.videolan.org stable/main Translation-en
W: Failed to fetch http://download.videolan.org/pub/videolan/debian/i386/dists/stable/main/source/Sources 404 Not Found [IP: 88.191.250.9 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
The package updating failed may be missing the "stable" part of the repository, you need to check the sources.list file,
Follow the steps:
You can added 'wheezy/updates' repository which contains all Debian packages.
The debian provide easy steps to get the stable packages, open the url :
http://debgen.simplylinux.ch/
Select the Country name which is nearest of you
Select your Debian release version.
Select your architeture: (32 bit or 64 bit)
Select sources
Click on "Generate Sources List"
Copy and paste the lines to your sources.list file,
# vim /etc/apt/sources.list
deb http://ftp.ru.debian.org/debian stable main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
# apt-get update
Then, you may get an error like, Unmet dependencies....
Error:
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Solution:
# apt-get autoclean
# apt-get clean
# apt-get -f install
# apt-get clean
# apt-get -f install
Comments (0)