Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

apt-get update missing package list error

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
john_h
Posts: 218
Joined: 2005-11-17 13:01

apt-get update missing package list error

#1 Post by john_h »

For some time now, I've been having frequent problems when running apt-get update or aptitude update.

Code: Select all

W: Couldn't stat source package list ftp://security.debian.org sarge/updates/main Packages (/var/lib/apt/lists/security.debian.org_debian-security_dists_sarge_updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://security.debian.org sarge/updates/contrib Packages (/var/lib/apt/lists/security.debian.org_debian-security_dists_sarge_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to update the package lists to correct these missing files
W: You may want to run apt-get update to correct these problems
Until recently, multiple running of apt-get update (say four or five times in succession) would clear this, but in the past few days I've been unable to shake this off at all.

Here are the entries for the Debian repositories from my sources.list:

Code: Select all

deb http://ftp.uk.debian.org/debian sarge main contrib non-free
#deb-src http://ftp.uk.debian.org/debian sarge main contrib non-free

deb ftp://security.debian.org/debian-security sarge/updates main contrib non-free
#deb-src http://security.debian.org/debian-security sarge/updates main contrib non-free

deb http://ftp.uk.debian.org/debian etch main contrib non-free
#deb-src http://ftp.uk.debian.org/debian etch main contrib non-free

deb http://security.debian.org/debian-security etch/updates main contrib non-free
#deb-src http://security.debian.org/debian-security etch/updates main contrib non-free

deb http://ftp.uk.debian.org/debian sid main contrib non-free
#deb-src http://ftp.uk.debian.org/debian sid main contrib non-free

User avatar
dawgie
Posts: 430
Joined: 2004-06-16 21:30
Location: New Hampshire USA

#2 Post by dawgie »

Mine is:
deb ftp://security.debian.org/debian-security sarge/updates main contrib non-free

Seems to work ok.

clydefrog
Posts: 20
Joined: 2006-01-19 15:51
Location: Norwich UK

#3 Post by clydefrog »

You could try a quick apt-get clean and another apt-get update and see if that helps? It may be that you were hammering the repo when an update was occurring, as this has happened to me before, but I just waited a couple of hours to try again.....

Post Reply