LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-08-2005, 08:44 PM   #1
forgox
LQ Newbie
 
Registered: Jul 2004
Posts: 27

Rep: Reputation: 15
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?)


Hi,
Since Debian testing as been released, it seems that there is some errors when trying to do an apt-get update (see errors below). The source.list file below has been working for more than a year and coincidently after Debian testing got released, "apt-get update" started to fails. Maybe they moved packages around and now the testing branch isn't ready yet???

The system is a Debian stable (i.e. Woody) on which the sources.list has change to be pointing to the testing version (see below) thus making the system a Debian testing system. Again, this configuration has been working for long time until now.

thanks for your help


$ cat /etc/apt/sources.list
#deb file:///cdrom/ sarge main
deb http://http.us.debian.org/debian testing main non-free contrib
deb http://non-us.debian.org/debian-non-US testing/non-US main non-free contrib
deb http://security.debian.org testing/updates main non-free contrib


$ apt-get update
Get:1 http://http.us.debian.org testing/main Packages [3413kB]
Err http://security.debian.org testing/updates/main Packages
404 Not Found
Ign http://security.debian.org testing/updates/main Release
Err http://security.debian.org testing/updates/non-free Packages
404 Not Found
Ign http://security.debian.org testing/updates/non-free Release
Err http://security.debian.org testing/updates/contrib Packages
404 Not Found
Ign http://security.debian.org testing/updates/contrib Release
Err http://non-us.debian.org testing/non-US/main Packages
404 Not Found
Ign http://non-us.debian.org testing/non-US/main Release
Err http://non-us.debian.org testing/non-US/non-free Packages
404 Not Found
Ign http://non-us.debian.org testing/non-US/non-free Release
Err http://non-us.debian.org testing/non-US/contrib Packages
404 Not Found
Ign http://non-us.debian.org testing/non-US/contrib Release
Get:2 http://http.us.debian.org testing/main Release [81B]
Get:3 http://http.us.debian.org testing/non-free Packages [58.9kB]
Get:4 http://http.us.debian.org testing/non-free Release [85B]
Get:5 http://http.us.debian.org testing/contrib Packages [57.1kB]
Get:6 http://http.us.debian.org testing/contrib Release [84B]
Fetched 3529kB in 6s (521kB/s)
Failed to fetch http://non-us.debian.org/debian-non-...86/Packages.gz 404 Not Found
Failed to fetch http://non-us.debian.org/debian-non-...86/Packages.gz 404 Not Found
Failed to fetch http://non-us.debian.org/debian-non-...86/Packages.gz 404 Not Found
Failed to fetch http://security.debian.org/dists/tes...86/Packages.gz 404 Not Found
Failed to fetch http://security.debian.org/dists/tes...86/Packages.gz 404 Not Found
Failed to fetch http://security.debian.org/dists/tes...86/Packages.gz 404 Not Found
Reading Package Lists... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.

Last edited by forgox; 06-08-2005 at 08:54 PM.
 
Old 06-08-2005, 09:06 PM   #2
juanbobo
Member
 
Registered: Mar 2005
Location: Chicago
Distribution: Gentoo AMD64
Posts: 365

Rep: Reputation: 30
You should find the answer here...

http://osnews.com/comment.php?news_id=10785
 
Old 06-09-2005, 12:16 AM   #3
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Quote:
deb http://security.debian.org testing/updates main non-free contrib
I think everyone is having this problem. I changed the line quoted to:
deb http://security.debian.org stable/updates main non-free contrib
in /etc/apt/sources.list, and that's working fine. Guess I'll just change it back to 'testing' every so often until they get it working.
 
Old 06-09-2005, 12:54 AM   #4
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Quote:
Guess I'll just change it back to 'testing' every so often until they get it working.
Or you could add this page to your bookmarks and check every now and then if "testing" will appear among the available options: http://security.debian.org/dists/

I'm also curious to see how Etch/testing will be receiving security updates -- but so far there has been very little info about this available. Apparently the "testing security team" already exists and their plans are that:

"After sarge is released and once the autobuilder infrastructure is in place, we hope to begin issuing security advisories for holes in testing, and providing fixed packages immediatly on security.debian.org or a similar site." http://secure-testing.alioth.debian.org/

However, they merely say that they "hope to" start these actions after Sarge has been released, so we will have to wait to see if these hopes will actually turn into concrete actions.
 
Old 06-09-2005, 02:09 PM   #5
jsmarshall85
Member
 
Registered: Aug 2003
Posts: 386

Rep: Reputation: 30
you might want to change testing to sarge. sarge is no longer the testing build but the stable build, there will be a new name for testing (as far as i know). try changing it to sarge.
 
Old 06-09-2005, 03:02 PM   #6
goozlq
Member
 
Registered: Oct 2004
Location: Holland, Zaanstad
Distribution: Debian Sarge 3.1 / K 2.6 / KDE 3.3.2 / Pentium 3 512MB 20G / Amilo L7300 / P2 128MB 260GB
Posts: 31

Rep: Reputation: 15
If you used to be using Sarge search and replace all testing into sarge in /etc/apt/sources.list

Testing is after the release of Debian 3.1 (Sarge) the stable version.

Remeber to run lilo before you reboor after a (apt-get update, apt-get upgrade) apt-get dist-upgrade! Otherwise you wil have the same problem as I had: lilo will not boot....
 
Old 06-09-2005, 03:19 PM   #7
stimpsonjcat
Member
 
Registered: Apr 2005
Location: switzerland
Distribution: debian etch
Posts: 99

Rep: Reputation: 15
you can remove the non-us lines from your sources.list
the non-us archives are obsolete
stimpy
 
Old 06-09-2005, 03:35 PM   #8
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,883
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
"non-US obsoleted
For the sarge release, packages that were formerly in the non-US part of the archive have been moved into the regular archive. If you have any lines referring to "non-us" in your /etc/apt/sources.list, you should remove them." http://www.debian.org/releases/sarge....html#s-non-us


I would guess that applies to testing and unstable as well since it says "any lines".

I know by removing the non-us and testing security updates lines, apt-get update works with no errors nd the number of packages is about the same.
 
Old 06-10-2005, 10:00 PM   #9
jsmarshall85
Member
 
Registered: Aug 2003
Posts: 386

Rep: Reputation: 30
Quote:
Originally posted by goozlq
Remeber to run lilo before you reboor after a (apt-get update, apt-get upgrade) apt-get dist-upgrade! Otherwise you wil have the same problem as I had: lilo will not boot....
well thats only if you have lilo installed. the debian-installer by defalut installs grub
 
Old 06-13-2005, 10:17 AM   #10
goozlq
Member
 
Registered: Oct 2004
Location: Holland, Zaanstad
Distribution: Debian Sarge 3.1 / K 2.6 / KDE 3.3.2 / Pentium 3 512MB 20G / Amilo L7300 / P2 128MB 260GB
Posts: 31

Rep: Reputation: 15
@ jsmarshall85:

That's correct, but my 1.5 years old install of Debian Sarge uses Lilo and I didn't want to change that.

Maybe Grub users do not need to run Grub after the dist-upgrade, but I needed to run Lilo in order to get the system up again...
 
Old 06-13-2005, 12:28 PM   #11
jsmarshall85
Member
 
Registered: Aug 2003
Posts: 386

Rep: Reputation: 30
gotcha
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 01:57 PM
apt sources.list TranceDude Linux - Software 11 08-13-2005 01:22 PM
apt-get sources.list utw-mephisto Debian 5 05-17-2005 11:36 PM
Guide: apt-get sources,list for KDE KDevelop on Debian/Xandros jdruin Linux - Software 0 10-25-2004 08:09 PM
apt-get sources list davnetuk Fedora 1 08-26-2004 10:39 PM

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

All times are GMT -5. The time now is 10:22 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