Bug#328876: apt-get claims that it failed to get Packages.gz but it was trying to get Packages.bz2 (which does not exist)
Package: apt
Version: 0.6.41
Severity: normal
i have the following line in sources.list:
deb http://mail.incase.de/cyrus22/i386/ ./
when i run "apt-get update", apt reports this error:
Failed to fetch http://mail.incase.de/cyrus22/i386/./Packages.gz Error reading from server. Remote end closed connection
but since my apt works via proxy server, i was able to check what
request was REALLY made by apt-get, and it appears that it really
tried Packages.bz2 (which does not exist):
1126988484.000 170 xx.xx.xx.xx TCP_MISS/404 1238 GET http://mail.incase.de/cyrus22/i386/./Packages.bz2 - DIRECT/mail.incase.de text/html
and there was NO attempt to request Packages.gz at all.
So there are two bugs:
1) misleading error message - telling that request to Packages.gz failed
(when in fact it was a request to Packages.bz2 which failed)
2) apt-get shall try to download Packages.gz when it does not find Packages.bz2
which it obviously does not.
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
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";
Acquire "";
Acquire::http "";
Acquire::http::Proxy "http://cache.vsu.ru:3128";
-- (no /etc/apt/preferences present) --
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.2-vvv
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages apt depends on:
ii libc6 2.3.5-6 GNU C Library: Shared libraries an
ii libgcc1 1:4.0.1-7 GCC support library
ii libstdc++6 4.0.1-7 The GNU Standard C++ Library v3
apt recommends no packages.
-- no debconf information
Reply to: