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

Bug#374790: apt: rred code gets stuck, insufficient debugging capabilities



Package: apt
Severity: normal

Hello,

while writting on new apt-cacher I faced a weird problem with apt.
It does reproducibly freeze somewhere after gettint a 404 from
non-existing index file.

The funny thing: when I enable Debug::Acquire::Http then it prints the
final GET request to STDERR but that request is never sent to the
server! See attached logs. Instead, it keeps looping around a select
with timeout somewhere.

Further, I would like to get more useful Debug information from rred or
from the synchronisation mechanisms inside of apt programs. I suspect
that it gets confused with something in apt-cacher's replys, but I
cannot see anything suspicious and all files (or corresponding 404s)
seem to have been delivered.

I cannot reproduce the problem on a second box, with apt version
0.6.43.3exp1.

Eduard.


-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "amd64";
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::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/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:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";
Acquire "";
Acquire::Queue-Mode "host";
Acquire::Retries "0";
Acquire::Source-Symlinks "true";
Acquire::http "";
Acquire::http::Pipeline-Depth "0";

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


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

deb http://ftp.uni-kl.de/debian unstable main contrib non-free
deb-src http://ftp.uni-kl.de/debian unstable main contrib non-free
deb http://ftp.uni-kl.de/debian experimental main
deb-src http://ftp.uni-kl.de/debian experimental main
deb-src http://ftp.uni-kl.de/debian stable main contrib non-free
deb-src http://ftp.uni-kl.de/debian unstable main contrib non-free


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-amd64-k8
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

-- 



Reply to: