LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-13-2011, 11:41 PM   #1
Tribulation
Member
 
Registered: Jun 2008
Distribution: Slackware
Posts: 129

Rep: Reputation: 27
I'm having problems upgrading packages


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.
 
Old 02-14-2011, 03:48 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Post your sources.list please
 
Old 02-14-2011, 04:31 PM   #3
Tribulation
Member
 
Registered: Jun 2008
Distribution: Slackware
Posts: 129

Original Poster
Rep: Reputation: 27
Code:
# 
# 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
 
Old 02-14-2011, 04:41 PM   #4
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
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.

Last edited by snowday; 02-14-2011 at 04:43 PM.
 
Old 02-14-2011, 07:01 PM   #5
Tribulation
Member
 
Registered: Jun 2008
Distribution: Slackware
Posts: 129

Original Poster
Rep: Reputation: 27
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?
 
Old 02-14-2011, 07:16 PM   #6
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
You're already switched to Sid. It might be possible to downgrade from Sid to Testing, I'm really not sure.
 
Old 02-14-2011, 07:24 PM   #7
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
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.

Last edited by snowday; 02-14-2011 at 07:26 PM.
 
Old 02-14-2011, 07:31 PM   #8
Tribulation
Member
 
Registered: Jun 2008
Distribution: Slackware
Posts: 129

Original Poster
Rep: Reputation: 27
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.
 
Old 02-14-2011, 07:38 PM   #9
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
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).

Debian repos have had some structural changes recently, you can read more here:
http://www.linuxquestions.org/questi...s-list-861500/

Not sure if/how that affects your situation.

Last edited by snowday; 02-14-2011 at 07:40 PM.
 
Old 02-14-2011, 08:36 PM   #10
Tribulation
Member
 
Registered: Jun 2008
Distribution: Slackware
Posts: 129

Original Poster
Rep: Reputation: 27
I gave that thread and the link in the last post a read but it doesn't sound like any of that relates to my issue.
 
Old 03-13-2011, 09:22 PM   #11
Tribulation
Member
 
Registered: Jun 2008
Distribution: Slackware
Posts: 129

Original Poster
Rep: Reputation: 27
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading all packages of slackware 13.0 cola Slackware 4 11-26-2009 09:01 AM
Will checkinstall packages cause problems later while upgrading vharishankar Slackware 8 04-05-2006 06:26 PM
upgrading packages paulr1984 Linux - Software 6 03-23-2005 03:42 PM
Upgrading packages linuxhippy Slackware 2 03-21-2005 06:18 PM
upgrading packages from source nukeu666 Linux - Newbie 1 08-03-2004 10:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration