Bug#439063: upgrading lvm2 hangs

Nagy Gábor Péter linux42 at freemail.hu
Tue Aug 21 22:22:50 UTC 2007


Package: lvm2
Version: 2.02.26-1+b1
Severity: normal


Hi, I have tried to upgrade this machine today.
So there was an aptitude update, and the upgrade.
lvm2 was upgraded from previous version, meanwhile lvm-common was
removed, as the new lvm2 package conflicts with it:

Selecting previously deselected package libdevmapper1.02.1.
(Reading database ... 74217 files and directories currently installed.)
Unpacking libdevmapper1.02.1 (from
.../libdevmapper1.02.1_2%3a1.02.20-2_i386.deb) ...
dpkg: lvm-common: dependency problems, but removing anyway as you
request:
 lvm2 depends on lvm-common (>> 1.5.8).
(Reading database ... 74223 files and directories currently installed.)
Removing lvm-common ...
Purging configuration files for lvm-common ...
(Reading database ... 74208 files and directories currently installed.)
Preparing to replace lvm2 2.02.06-4 (using
.../lvm2_2.02.26-1+b1_i386.deb) ...
Unpacking replacement lvm2 ...

Setting up lvm2 (2.02.26-1+b1) ...
Installing new version of config file /etc/lvm/lvm.conf ...
Backing up any LVM2 metadata that may exist...       

And now, nothing happens.

In the ps output I see that it is running something. But it seems this
command will never finish.

root     28133 28054  2 Aug21 pts/1    Rl+    0:31  |   |   \_ aptitude
root     31038 28133  0 Aug21 pts/1    S+     0:00  |   |       \_ /usr/bin/dpkg --status-fd 17 --configure libc6-dev libc6-i686 lvm2
root     31052 31038  0 Aug21 pts/1    S+     0:00  |   |           \_ /bin/sh /var/lib/dpkg/info/lvm2.postinst configure 2.02.06-4
root     31053 31052  0 Aug21 pts/1    D+     0:00  |   |               \_ /sbin/vgcfgbackup

It is D, so I can't even kill it. I don't know how to move forward.

Regards,
Gabor

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lvm2 depends on:
ii  libc6                     2.6.1-1        GNU C Library: Shared libraries
ii  libdevmapper1.02.1        2:1.02.20-2    The Linux Kernel Device Mapper use
ii  libncurses5               5.6+20070716-1 Shared libraries for terminal hand
ii  libreadline5              5.2-3          GNU readline and history libraries
ii  libselinux1               2.0.15-2+b1    SELinux shared libraries
ii  libsepol1                 2.0.3-1+b1     Security Enhanced Linux policy lib

lvm2 recommends no packages.

-- debconf information:
  lvm2/snapshots:




More information about the pkg-lvm-maintainers mailing list