Bug#358817: apt-get upgrade hangs forever
Package: apt
Version: 0.6.43.3
Severity: grave
I was trying to update two of our servers to the most recent 'unstable'
versions yet have succeeded for only one, the other one hangs forever
after issuing apt-get upgrade on the commandline:
---------CUT---------
bash$ apt-get upgrade
[...]
tasksel tcl8.4 tcpd tcpdump tex-common texinfo textutils tk8.4 ttf-bitstream-vera ttf-dejavu ucf unrar
unzip util-linux vacation vim vim-common vim-runtime whois wwwconfig-common x-dev x11-common
xbase-clients xfree86-common xfsdump xfsprogs xlibmesa-gl xlibs xlibs-data xlibs-static-dev xpdf-common
xpdf-utils xutils yaird zlib1g zlib1g-dev zoo zsh
382 upgraded, 0 newly installed, 0 to remove and 36 not upgraded.
---------CUT---------
All our servers share the same NFS based archive for package updates,
if that matters. For that reason I have also looked for any (nfs) lock
files, but did not find anything suspicious.
An strace on the hanging process shows this:
---------CUT---------
bash$ strace -p4274
Process 4274 attached - interrupt to quit
close(11
---------CUT---------
Another thing is that I cannot even kill -9 the process, only a reboot
(obviously :-) makes it go away.
However, I am able to install new packages individually using dpkg -i,
yet apt-get install does not work either. dpkg -i though is working,
I updated apt itself from 0.6.43.1 to 0.6.43.3 this way, but
apt-get install OTOH does not work either.
-- 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::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";
-- (no /etc/apt/preferences present) --
-- /etc/apt/sources.list --
deb http://security.debian.org/ stable/updates main
deb http://ftp.at.debian.org/debian/ unstable main non-free contrib
deb-src http://ftp.at.debian.org/debian/ unstable main non-free contrib
#deb http://ftp.debian.org/debian/ unstable main non-free contrib
#deb-src http://ftp.debian.org/debian/ unstable main non-free contrib
#deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
#deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
#deb ftp://debian.inode.at/debian/ unstable main non-free contrib
#deb-src ftp://debian.inode.at/debian/ unstable main non-free contrib
deb http://einsteinmg.dyndns.org/debian unstable/
deb-src http://einsteinmg.dyndns.org/debian unstable/
-- 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.15-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages apt depends on:
ii libc6 2.3.5-11 GNU C Library: Shared libraries an
ii libgcc1 1:4.0.2-6 GCC support library
ii libstdc++6 4.0.2-6 The GNU Standard C++ Library v3
Versions of packages apt recommends:
pn debian-archive-keyring <none> (no description available)
-- no debconf information
Reply to: