Bug#298878: apt: lots of sources in sources.list --> gzip: stdin: Resource temporarily unavailable
Package: apt
Version: 0.5.28.1
Severity: important
With the sources.list file below and no lists previously downloaded,
when I run "apt-get update", it results into this:
[- Start of output -]
[...]
Get:35 http://ftp.ro.debian.org unstable/non-free Packages [68.3kB]
Get:36 http://ftp.ro.debian.org unstable/non-free Release [86B]
99% [31 Packages gzip 0]
gzip: stdin: Resource temporarily unavailable
Err http://ftp.ro.debian.org unstable/main Packages
Could not open file /var/lib/apt/lists/partial/ftp.ro.debian.org_debian_dists_unstable_main_binary-i386_Packages - open (2 No such file or directory)
Err http://ftp.ro.debian.org unstable/contrib Packages
Could not open file /var/lib/apt/lists/partial/ftp.ro.debian.org_debian_dists_unstable_contrib_binary-i386_Packages - open (2 No such file or directory)
Err http://ftp.ro.debian.org unstable/non-free Packages
Could not open file /var/lib/apt/lists/partial/ftp.ro.debian.org_debian_dists_unstable_non-free_binary-i386_Packages - open (2 No such file or directory)
Fetched 13.7MB in 3s (4001kB/s)
Failed to fetch http://ftp.ro.debian.org/debian/dists/unstable/main/binary-i386/Packages.gz Could not open file /var/lib/apt/lists/partial/ftp.ro.debian.org_debian_dists_unstable_main_binary-i386_Packages - open (2 No such file or directory)
Failed to fetch http://ftp.ro.debian.org/debian/dists/unstable/contrib/binary-i386/Packages.gz Could not open file /var/lib/apt/lists/partial/ftp.ro.debian.org_debian_dists_unstable_contrib_binary-i386_Packages - open (2 No such file or directory)
Failed to fetch http://ftp.ro.debian.org/debian/dists/unstable/non-free/binary-i386/Packages.gz Could not open file /var/lib/apt/lists/partial/ftp.ro.debian.org_debian_dists_unstable_non-free_binary-i386_Packages - open (2 No such file or directory)
Reading Package Lists... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.
gzip: stdin: unexpected end of file
gzip: stdin: unexpected end of file
[- End of output -]
If I run "apt-get update" again, it uses the downloaded files and finishes ok.
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Cache-Limit "12582912";
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/sbin/dpkg-preconfigure --apt || true";
Acquire "";
Acquire::http "";
Acquire::http::Proxy "http://127.0.0.1:8123";
Acquire::ftp "";
Acquire::ftp::Proxy "ftp://127.0.0.1:2121";
Acquire::ftp::ProxyLogin "";
Acquire::ftp::ProxyLogin:: "USER $(SITE_USER)@$(SITE):$(SITE_PORT)";
Acquire::ftp::ProxyLogin:: "PASS $(SITE_PASS)";
-- (no /etc/apt/preferences present) --
-- /etc/apt/sources.list --
deb file:/usr/pluto/deb-cache/ sarge main
deb file:/home/mirrors/Debian.ro/debian sarge main non-free contrib
deb file:/home/mirrors/MythTV/~mdz/debian unstable mythtv
deb-src http://ftp.ro.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.ro.debian.org/debian-non-US/ testing non-US/main non-US/contrib non-US/non-free
deb http://ftp.ro.debian.org/debian/ stable main contrib non-free
deb http://ftp.ro.debian.org/debian/ testing main contrib non-free
deb http://ftp.ro.debian.org/debian/ unstable main contrib non-free
deb http://ftp.ro.debian.org/debian/ unstable main contrib non-free
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages apt depends on:
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libgcc1 1:3.4.3-7 GCC support library
ii libstdc++5 1:3.3.5-6 The GNU Standard C++ Library v3
-- no debconf information
Reply to: