Bug#565954: lvm2: Doesn't install because update-initramfs fails: ln /tmp/.../vgchange File exists

Jaime Alberto Silva jaimealbertosilva at gmail.com
Wed Jan 20 21:31:42 UTC 2010


I found a script:

/usr/share/initramfs-tools/hooks/lvm

That copies vgchange. But it doesn't belongs to any package:

# dpkg -S /usr/share/initramfs-tools/hooks/lvm
dpkg: /usr/share/initramfs-tools/hooks/lvm not found.

Any clues?

I moved it away and now lvm2 installed fine:

sgautomatizacion:/home/jaime# mv /usr/share/initramfs-tools/hooks/lvm
~/lvm_was-in-usr-share-initramfs-tools-hooks_with-no-owner
sgautomatizacion:/home/jaime# apt-get install lvm2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
  lvm2
0 upgraded, 1 newly installed, 0 to remove and 15 not upgraded.
Need to get 0B/397kB of archives.
After this operation, 1098kB of additional disk space will be used.
Selecting previously deselected package lvm2.
(Reading database ... 351395 files and directories currently installed.)
Unpacking lvm2 (from .../lvm2_2.02.54-1_i386.deb) ...
Processing triggers for man-db ...
Setting up lvm2 (2.02.54-1) ...
Setting up LVM Volume Groups  Reading all physical volumes.  This may take a
while...
.
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.30-2-686
sgautomatizacion:/home/jaime#

Thanks a lot!

Any ideas on which package installed that script? I had already run
'aptitude purge ~c' to remove remaining stuff from removed packages.

Jaime Alberto Silva Colorado
Gerente
SG Automatización Ltda.
Pereira \ Risaralda \ Colombia
http://www.sgautomatizacion.com


On Wed, Jan 20, 2010 at 3:48 AM, Bastian Blank <waldi at debian.org> wrote:

> severity 565954 important
> tags 565954 unreproducible
> thanks
>
> On Tue, Jan 19, 2010 at 07:03:50PM -0500, Jaime Alberto Silva wrote:
> > update-initramfs: Generating
> > /boot/initrd.img-2.6.30-2-686
> > ln: creating symbolic link `/tmp/mkinitramfs_78XFbD/sbin/vgchange': File
> > exists
>
> Something else than the lvm2 initramfs-tools hook copies vgchange. This
> is not allowed and does not happen on my unstable system. Please check
> for that in /etc/initramfs-tools and /usr/share/initramfs-tools.
>
> Bastian
>
> --
> You!  What PLANET is this!
>                -- McCoy, "The City on the Edge of Forever", stardate 3134.0
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20100120/b845cac9/attachment.htm>


More information about the pkg-lvm-maintainers mailing list