[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#393333: apt: Most debian package archives are partial and apt does not handle the case



Package: apt
Version: 0.6.45
Severity: important

apt-get update and most apt-get install operations return error that some file cannot be found in the archive. 
Knowing that the archives are big (though they should be complete if sync-ed with rsync), this might be normal, but apt should handle the case and locate the missing file elsewhere (instead of failing to complete the operation). 
apt-get is a wonderful tool, but despite the much effort in the consistent debian package system, under actual circumstances apt-get fails to deliver the promised easy installation. 
This is an important bug that often prevents the usage of apt-get (without making it unusable for everyone). At the same time, this locator service would be able to provide for MD5sum-s that would enhance security.

   Marcell

This is an apt-get update example, which might be server specific AFAIK (and locator service might not be much use), but the problem is similar for debian packages that could be serviced from elsewhere:
Get:29 2006-09-25-1317.20.pdiff [83.2kB]          
Get:30 2006-09-25-1317.20.pdiff [83.2kB]
Fetched 12B in 24s (0B/s)      
Failed to fetch http://non-us.debian.org/dists/unstable/non-US/main/binary-i386/Packages.gz  404 Not Found
Failed to fetch http://non-us.debian.org/dists/unstable/non-US/contrib/binary-i386/Packages.gz  404 Not Found
Failed to fetch http://non-us.debian.org/dists/unstable/non-US/non-free/binary-i386/Packages.gz  404 Not Found
Failed to fetch http://ftp.debian.org/debian/dists/testing/main/binary-i386/PackagesIndex  MD5Sum mismatch
Failed to fetch http://ftp.de.debian.org/debian/dists/testing/main/binary-i386/PackagesIndex  MD5Sum mismatch
Failed to fetch http://ftp.hu.debian.org/debian/dists/testing/main/binary-i386/PackagesIndex  MD5Sum mismatch
Reading package lists... Done
W: Couldn't stat source package list http://ftp.debian.org testing/main Packages (/var/lib/apt/lists/ftp.debian.org_debian_dists_testing_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.de.debian.org testing/main Packages (/var/lib/apt/lists/ftp.de.debian.org_debian_dists_testing_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.hu.debian.org testing/main Packages (/var/lib/apt/lists/ftp.hu.debian.org_debian_dists_testing_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.debian.org testing/main Packages (/var/lib/apt/lists/ftp.debian.org_debian_dists_testing_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.de.debian.org testing/main Packages (/var/lib/apt/lists/ftp.de.debian.org_debian_dists_testing_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.hu.debian.org testing/main Packages (/var/lib/apt/lists/ftp.hu.debian.org_debian_dists_testing_main_binary-i386_Packages) - stat (2 No such file or directory)


-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Cache-Limit "15000000";
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::sourceparts "sources.list.d";
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/sbin/dpkg-preconfigure --apt || true";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";
DPkg::Post-Invoke:: "test -f /var/run/zope.restart && invoke-rc.d zope restart ; rm -f /var/run/zope.restart";

-- (no /etc/apt/preferences present) --


-- /etc/apt/sources.list --

#
#  cleaned when playing with dselect :(
# feel free to correct it
# Cell

#deb cdrom:[Debian GNU/Linux 3.0 r0 _Woody_ - Official i386 Binary-1 (20020718)]/ unstable contrib main non-US/contrib non-US/main

#deb http://security.debian.org/ potato/updates main contrib non-free
#deb http://ftp.hu.debian.org/debian potato main contrib non-free
#deb http://debian.inf.elte.hu/debian potato main contrib non-free
#deb cdrom:[Debian GNU/Linux 3.0 _Woody_ - fsn.hu's i386 Binary-8 (20020218)]/ unstable contrib main non-US/contrib non-US/main non-US/non-free non-free
#deb cdrom:[Debian GNU/Linux 3.0 _Woody_ - fsn.hu's i386 Binary-7 (20020218)]/ unstable contrib main non-US/contrib non-US/main non-US/non-free non-free
#deb cdrom:[Debian GNU/Linux 3.0 _Woody_ - fsn.hu's i386 Binary-6 (20020218)]/ unstable contrib main non-US/contrib non-US/main non-US/non-free non-free
#deb cdrom:[Debian GNU/Linux 3.0 _Woody_ - fsn.hu's i386 Binary-5 (20020218)]/ unstable contrib main non-US/contrib non-US/main non-US/non-free non-free
#deb cdrom:[Debian GNU/Linux 3.0 _Woody_ - fsn.hu's i386 Binary-4 (20020228)]/ unstable contrib main non-US/contrib non-US/main non-US/non-free non-free
#deb cdrom:[Debian GNU/Linux 3.0 _Woody_ - fsn.hu's i386 Binary-3 (20020228)]/ unstable contrib main non-US/contrib non-US/main non-US/non-free non-free
#deb cdrom:[Debian GNU/Linux 3.0 _Woody_ - fsn.hu's i386 Binary-2 (20020228)]/ unstable contrib main non-US/contrib non-US/main non-US/non-free non-free
#deb cdrom:[Debian GNU/Linux 3.0 _Woody_ - fsn.hu's i386 Binary-1 (20020228)]/ unstable contrib main non-US/contrib non-US/main non-US/non-free non-free


# actual:
# deb http://ftp.nl.debian.org/debian unstable main
# deb http://ftp.at.debian.org/debian unstable main
# deb http://ftp.hu.debian.org/debian unstable main
deb http://ftp.debian.org/debian testing main 
deb http://ftp.de.debian.org/debian testing main 
deb http://ftp.hu.debian.org/debian testing main 

# deb ftp://ftp.hu.debian.org/debian unstable main contrib non-free
#deb http://ftp.de.debian.org/debian unstable main contrib non-free
#deb http://ftp.de.debian.org/debian testing main 
deb http://non-us.debian.org/ unstable non-US/main non-US/contrib non-US/non-free

#-------
#deb http://ftp.at.debian.org/debian woody main contrib non-free
#deb http://ftp.hu.debian.org/debian woody main
#deb http://non-us.debian.org/ potato non-US/main non-US/contrib non-US/non-free




-- System Information
Debian Release: testing/unstable
Kernel Version: Linux oops.home 2.6.15 #2 PREEMPT Fri Feb 3 17:40:00 CET 2006 i686 GNU/Linux

Versions of the packages apt depends on:
ii  libc6          2.3.6.ds1-4    GNU C Library: Shared libraries
ii  libgcc1        4.1.1-13       GCC support library
ii  libstdc++6     4.1.1-13       The GNU Standard C++ Library v3



Reply to: