DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Lately when I've tried to update my packages many of them don't update. I get nothing out of the ordinary when using the terminal but when I try to update via the Update manger I get this error message:
Code:
Error message:
Fetch failed: W:Failed to fetch bzip2:/var/lib/apt/lists/partial/mirror.steadfast.net_debian_dists_testing_main_source_Sources Hash Sum mismatch
, W:Failed to fetch bzip2:/var/lib/apt/lists/partial/mirror.steadfast.net_debian_dists_testing_main_binary-amd64_Packages Hash Sum mismatch
, W:Failed to fetch http://mirror.steadfast.net/debian/dists/testing/updates/main/source/Sources 404 Not Found [IP: 208.100.4.53 80]
, W:Failed to fetch http://mirror.steadfast.net/debian/dists/testing/updates/contrib/source/Sources 404 Not Found [IP: 208.100.4.53 80]
, W:Failed to fetch http://mirror.steadfast.net/debian/dists/testing/updates/non-free/source/Sources 404 Not Found [IP: 208.100.4.53 80]
, W:Failed to fetch http://www.lamaresh.net/apt/dists/testing/main/binary-amd64/Packages 404 Not Found
, E:Some index files failed to download, they have been ignored, or old ones used instead.
I've tried several different mirrors but get the same error with every one. Same result with ftp as well. Yesterday I upgraded to Wheezy and every package successfully upgraded, but today the problem started again.
#
# deb cdrom:[Debian GNU/Linux testing _testing_ - Official Snapshot amd64 CD Binary-1 20100216-17:50]/ testing main
# deb cdrom:[Debian GNU/Linux testing _testing_ - Official Snapshot amd64 CD Binary-1 20100216-17:50]/ testing main
deb http://mirror.steadfast.net/debian/ testing main non-free contrib
deb-src http://mirror.steadfast.net/debian/ testing main non-free contrib
## Debian security updates:
deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://mirror.steadfast.net/debian/ testing/updates main contrib non-free
## Debian.org:
## Debian Official Repository Mirror testing:
deb ftp://debian.oregonstate.edu/debian/ testing main contrib non-free
deb-src ftp://debian.oregonstate.edu/debian/ testing main contrib non-free
deb ftp://debian.oregonstate.edu/debian/ testing-proposed-updates main contrib non-free
deb http://http.us.debian.org/debian/ sid non-free contrib main
deb-src ftp://debian.oregonstate.edu/debian/ testing-proposed-updates main contrib non-free
## Liquorix Kernel
deb http://liquorix.net/debian sid main
## WINE
deb http://www.lamaresh.net/apt testing main
## Multimedia
deb http://www.debian-multimedia.org testing main non-free
You're running Sid/Unstable. You can trim your sources.list back to:
Code:
## Debian.org:
## Debian Official Repository Mirror testing:
deb http://http.us.debian.org/debian/ sid non-free contrib main
## Liquorix Kernel
deb http://liquorix.net/debian sid main
## WINE
deb http://www.lamaresh.net/apt sid main
## Multimedia
deb http://www.debian-multimedia.org sid main non-free
Also note that I changed the Wine and Multimedia repos from testing to sid.
I don't remember when or why I put deb http://http.us.debian.org/debian/ sid non-free contrib main in there, I must have done it for some reason. I had been running Testing for months until it became the new Stable. So how would switching to Sid help?
Actually, I shouldn't jumpt to conclusions. Check the contents of /etc/apt/preferences ... if Testing is a higher priority than Sid, then you're running a mixed testing/unstable system... if Sid is equal or higher priority, then you're running Sid, as its newer packages would take priority.
I don't seem to have a preferences file but in /etc/debian_version it is listed as Wheezy/Sid, so I should be running a mixed system as I remember doing such a thing some months ago.
Just as a note, I removed deb http://http.us.debian.org/debian/ sid non-free contrib main from my sources.list and ran an update. Still getting that error so it's not causing any problems (though I don't think it would, especially if it's been in my sources.list for as long as I think it has).
Last edited by Tribulation; 02-14-2011 at 07:33 PM.
Disregard my post #4 if you are running a mixed Testing/Unstable system, sorry for any confusion (you definitely want to keep the testing repos if that's the case).
I have returned. I finally got around to re-installing Debian, hoping that would solve the problem. Note that I tried out Ubuntu and Slackware and had no problems downloading anything with them. I just finished installing Debian Squeeze and I've done nothing with it so far. I've tried a few different servers and I still get the error message:
Code:
Failed to fetch http://ftp.us.debian.org/debian/dists/testing-updates/main/binary-amd64/Packages.gz 404 Not Found [IP: 64.50.233.100 80]
Some index files failed to download, they have been ignored, or old ones used instead.
Since it's a completely new install with the latest Stable .iso I have absolutely no idea what the problem could be.
EDIT: Nevermind, someone whipped up a sources.list for me that wasn't much different than the stock one but somehow worked. I'm just going to write the problem off as "Shit happens" and the solution as "magic".
Last edited by Tribulation; 03-14-2011 at 01:20 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.