Bug#348154: lvm2: fails to upgrade (and probably install)
Andrew Suffield
asuffield at debian.org
Sun Jan 15 10:48:54 UTC 2006
Package: lvm2
Severity: serious
Version: 2.02.01-2
From preinst:
#! /bin/sh
set -e
[...]
if [ "`/sbin/lvmiopversion`" -le 10 ]; then
[ -x /sbin/lvscan ] && /sbin/lvscan 2>/dev/null | grep Snapshot 2>&1 > /dev/null
if [ "$?" = 0 ]; then
You cannot do this in set -e. The script will always abort and fail if
$? is not zero. You'll have to set +e or put the if around the
command.
--
.''`. ** Debian GNU/Linux ** | Andrew Suffield
: :' : http://www.debian.org/ |
`. `' |
`- -><- |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20060115/b94925c2/attachment.pgp
More information about the pkg-lvm-maintainers
mailing list