[Bug 47972] Re: preinst reports exit status 10
Now that Dapper is, in fact, the lowest supported version of Ubuntu (Dapper Server only even), this bug, while real, has no effect on supported users. Changing status to 'Won't Fix'. ** Changed in: lvm2 (Ubuntu) Status: Confirmed = Won't Fix -- preinst reports exit status 10 https://bugs.launchpad.net/bugs/47972 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 47972] Re: preinst reports exit status 10
Is this bug still an issue for feisty/gutsy/hardy? -- preinst reports exit status 10 https://bugs.launchpad.net/bugs/47972 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 47972] Re: preinst reports exit status 10
Even if it hasn't been fixed, if the lowest supported version of Ubuntu has a kernel newer than 2.6.12 (i.e. is newer than Dapper) it should be OK. As Dapper is still in LTS, should bugs that affect an upgrade from a now non-supported version be ignorable? -- preinst reports exit status 10 https://bugs.launchpad.net/bugs/47972 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 47972] Re: preinst reports exit status 10
I'm upgrading from breezy and not even using lvm AFAIK. The dpkg --purge [...] workaround failed for me, though the purge succeeded. Am running a custom 2.6.10 kernel. This workaround allowed installation to proceed: /bin/sh cd /var/cache/apt/archives cat uname EOF #!/bin/sh echo 2.6.12 EOF chmod +x uname PATH=.:$PATH dpkg -i lvm2_2.02.02-1ubuntu1_i386.deb rm uname CTL+D Will upgrade kernel soon. -- preinst reports exit status 10 https://launchpad.net/bugs/47972 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 47972] Re: preinst reports exit status 10
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. :) -- preinst reports exit status 10 https://launchpad.net/bugs/47972 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 47972] Re: preinst reports exit status 10
The problem happens because of the kernel running. I strace'd the install and got the error FSET lvm2/kernel seen false 10 lvm2/kernel doesn\'t exist I've not tried it yet, but I suspect putting lvm2 on hold as the others suggest, finishing the install, then rebooting into the 2.6.15 kernel, is the way to go. -- preinst reports exit status 10 https://launchpad.net/bugs/47972 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 47972] Re: preinst reports exit status 10
I am experiencing the same issue. I have purged the package but am still unable to reinstall it. When I first ran into the problem, I completed my dist-upgrade with a echo lvm2 hold | dpkg --set-selections My workaround for now was to unpack the files, modify the preinst file to exit 0 immediately, and then rebuild the .deb ... -- preinst reports exit status 10 https://launchpad.net/bugs/47972 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs