Comment 10 for bug 47972

Revision history for this message
Craig Box (craig.box) wrote :

The problem happens because of this code in the preinst:

if ! dpkg --compare-versions $(uname -r) ge '2.6.12'; then
 db_fset lvm2/kernel seen false
 db_input critical lvm2/kernel || true
 db_go
 exit 1
fi

I'm upgrading from Hoary, so my kernel is < 2.6.12, the code runs, and the question doesn't exist, so it fails as Edd reports.

This problem is reported at Debian's BTS: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358373

Their fix is version 2.02.05, which supports older kernels. Being that the upgrade will result in a kernel > 2.6.12 pretty soon afterwards, it really doesn't matter.

I had a go at backporting it, but it seems to need a newer version of libdevmapper now, so I've just resigned myself to building a package without the version check. :)