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

Bug#358817: marked as done (apt-get upgrade hangs forever)



Your message dated Fri, 24 Mar 2006 10:14:24 -0800
with message-id <20060324181423.GB22228@mauritius.dodds.net>
and subject line Bug#358817: apt-get upgrade hangs forever
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
On Fri, Mar 24, 2006 at 03:52:33PM +0100, Udo Rader wrote:

> 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.

Then this isn't a bug in apt: something is wrong with your NFS mount.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: