Package: apt Version: 0.5.28.6 Severity: normal When adding a new entry to sources.list I've noticed I often (always?) get an error the first time I do an update.
E.g., I changed my entry for security from woody to sarge, and got this in response to apt-get update W: Couldn't stat source package list http://security.debian.org sarge/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_sarge_updates_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://security.debian.org sarge/updates/contrib Packages (/var/lib/apt/lists/security.debian.org_dists_sarge_updates_contrib_binary-i386_Packages) - stat (2 Nosuch file or directory) W: Couldn't stat source package list http://security.debian.org sarge/updates/non-free Packages (/var/lib/apt/lists/security.debian.org_dists_sarge_updates_non-free_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://security.debian.org sarge/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_sarge_updates_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://security.debian.org sarge/updates/contrib Packages (/var/lib/apt/lists/security.debian.org_dists_sarge_updates_contrib_binary-i386_Packages) - stat (2 Nosuch file or directory) W: Couldn't stat source package list http://security.debian.org sarge/updates/non-free Packages (/var/lib/apt/lists/security.debian.org_dists_sarge_updates_non-free_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 update the package lists to correct these missing files Doing aptitude update again produced no errors. As I said, I've seen this other times (I think using apt-get update as well), and others have commented to me that they think they've seen this. Since the problem is a one-shot thing, it appears nobody has filed a bug on it. It's fairly easy to work around, but it seems likely that someone who is new will hit this early on and find it confusing. I'm not so new, but found it confusing as well :(. -- Package-specific info: -- apt-config dump -- APT ""; APT::Architecture "i386"; APT::Build-Essential ""; APT::Build-Essential:: "build-essential"; APT::Default-Release "testing"; Dir "/"; Dir::State "var/lib/apt/"; Dir::State::lists "lists/"; Dir::State::cdroms "cdroms.list"; Dir::State::userstatus "status.user"; Dir::State::status "/var/lib/dpkg/status"; Dir::Cache "var/cache/apt/"; Dir::Cache::archives "archives/"; Dir::Cache::srcpkgcache "srcpkgcache.bin"; Dir::Cache::pkgcache "pkgcache.bin"; Dir::Etc "etc/apt/"; Dir::Etc::sourcelist "sources.list"; Dir::Etc::vendorlist "vendors.list"; Dir::Etc::vendorparts "vendors.list.d"; Dir::Etc::main "apt.conf"; Dir::Etc::parts "apt.conf.d"; Dir::Etc::preferences "preferences"; Dir::Bin ""; Dir::Bin::methods "/usr/lib/apt/methods"; Dir::Bin::dpkg "/usr/bin/dpkg"; DPkg ""; DPkg::Pre-Install-Pkgs ""; DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10"; DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true"; DPkg::Tools ""; DPkg::Tools::Options ""; DPkg::Tools::Options::/usr/bin/apt-listchanges ""; DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2"; DPkg::Post-Invoke ""; DPkg::Post-Invoke:: "test -f /var/run/zope.restart && invoke-rc.d zope restart ; rm -f /var/run/zope.restart"; DPkg::Post-Invoke:: "if [ -x /usr/sbin/localepurge ] && [ $(ps w -p $PPID | grep -c remove) != 1 ]; then /usr/sbin/localepurge; else exit 0; fi"; Acquire ""; Acquire::ftp ""; Acquire::ftp::Passive ""; Acquire::ftp::Passive::st.cs.uiuc.edu "false"; DSelect ""; DSelect::Clean "auto"; -- /etc/apt/preferences -- Explanation: Try to prevent unstable from creeping in Package: * Pin: release a=unstable Pin-Priority: 50 -- /etc/apt/sources.list -- deb file:/var/cache/apt-build/repository apt-build main # See sources.list(5) for more information, especialy # Remember that you can only use http, ftp or file URIs # CDROMs are managed throught the apt-cdrom tool. # Proxy configuration is covered through environment variables or # ### security ### deb http://security.debian.org/ sarge/updates main contrib non-free # There is also volatile, though it's not clear it adds much # beyond testing. Also, no servers in North America. ###testing### deb http://http.us.debian.org/debian testing main contrib non-free # recommended in mozilla notes deb ftp://ftp.tux.org/java/debian/ sarge non-free deb http://jopa.studentenweb.org/debian ./ # and for some AV stuff (mplayer) deb ftp://ftp.nerim.net/debian-marillat/ testing main deb-src http://perso.wanadoo.fr/debian/ unstable main ###Ximian/Helix### #deb file:/usr/local/download/Helix woody main #deb-src file:/usr/local/download/Helix woody main #deb http://red-carpet.ximian.com/debian stable main #deb-src http://red-carpet.ximian.com/debian stable main ###unstable### deb http://http.us.debian.org/debian unstable main deb-src http://http.us.debian.org/debian unstable main contrib non-free # squeak. Note it unstable only. See http://minnow.cc.gatech.edu/squeak/3616 deb http://box1.squeakfoundation.org/files/debian/ unstable main deb-src http://box1.squeakfoundation.org/files/debian/ unstable main -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (990, 'testing'), (50, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.4.27advncdfs Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages apt depends on: ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libgcc1 1:3.4.3-13 GCC support library ii libstdc++5 1:3.3.5-13 The GNU Standard C++ Library v3 -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]