Bug#384821: Should predepend on lvm-common

Bastian Blank waldi at debian.org
Sun Aug 27 10:13:38 UTC 2006


severity 384821 normal
thanks

On Sat, Aug 26, 2006 at 07:30:06PM -0500, Adam Majer wrote:
> lvm2 preinst script is using files from lvm-common. Policy states,
>  Pre-Depends are also required if the preinst script depends on the
>  named package. It is best to avoid this situation if possible.

It only requires it, if it fails without or does other nasty things.
This is not the case, it is only a warning that some data may be not
longer accessible under some conditions.

> I'm not a LVM expert (just installing it now :), so I'm not sure if
> this bug can cause silent data loss for some if they don't have
> lvm-common installed at all, but have lvm1 data.

No. The data is not removed, only inaccessible.

> Preparing to replace lvm2 2.02.06-2 (using lvm2_2.02.06-2_i386.deb) ...

Err, you have lvm2 configured,

> /var/lib/dpkg/tmp.ci/preinst: line 1: /sbin/lvmiopversion: No such file or directory
> /var/lib/dpkg/tmp.ci/preinst: line 15: [: : integer expression expected
> Unpacking replacement lvm2 ...
> Selecting previously deselected package lvm-common.
> Unpacking lvm-common (from lvm-common_1.5.20_i386.deb) ...

without lvm-common?

> Setting up lvm-common (1.5.20) ...
> Installing new version of config file /etc/init.d/lvm ...
> Installing new version of config file /etc/default/lvm-common ...

Bastian

-- 
Killing is wrong.
		-- Losira, "That Which Survives", stardate unknown




More information about the pkg-lvm-maintainers mailing list