Package: grml-rescueboot Version: 0.4.1 Severity: serious User: debian...@lists.debian.org Usertags: piuparts
Hi, during a test with piuparts I noticed your package fails to remove. piuparts tests the package in a minimal chroot, so grub can't access the boot device. >From the attached log (scroll to the bottom...): Installation works fine, grub itself does not fail installation if the boot device is not available: [...] Setting up grub-common (1.99-14) ... Setting up grub2-common (1.99-14) ... Setting up grub-pc-bin (1.99-14) ... Setting up grub-pc (1.99-14) ... Creating config file /etc/default/grub with new version grub-probe: error: cannot find a device for / (is /dev mounted?). grub-probe: error: cannot find a device for /boot (is /dev mounted?). grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?). [OK] [...] Selecting previously unselected package grml-rescueboot. (Reading database ... 7049 files and directories currently installed.) Unpacking grml-rescueboot (from .../grml-rescueboot_0.4.1_all.deb) ... Setting up grml-rescueboot (0.4.1) ... INFO: No *.iso files found inside /boot/grml. INFO: Please create /boot/grml and place rescue ISO(s) there. INFO: Finally invoke update-grub and enjoy your rescue system. [OK] [...] Now let's remove (but not purge) grml-rescueboot: Removing grml-rescueboot ... Updating grub.cfg to make sure there are no non-existing entries being left. /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?). dpkg: error processing grml-rescueboot (--remove): subprocess installed post-removal script returned error exit status 1 [FAIL] If the package is now purged, everything is fine: Removing grml-rescueboot ... Purging configuration files for grml-rescueboot ... [OK] But if it gets reinstalled instead, reinstallation fails: Selecting previously unselected package grml-rescueboot. (Reading database ... 7051 files and directories currently installed.) Preparing to replace grml-rescueboot 0.4.1 (using .../grml-rescueboot_0.4.1_all.deb) ... Unpacking replacement grml-rescueboot ... Updating grub.cfg to make sure there are no non-existing entries being left. /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?). dpkg: warning: subprocess old post-removal script returned error exit status 1 dpkg - trying script from the new package instead ... Updating grub.cfg to make sure there are no non-existing entries being left. /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?). dpkg: error processing /var/cache/apt/archives/grml-rescueboot_0.4.1_all.deb (--unpack): subprocess new post-removal script returned error exit status 1 configured to not write apport reports Updating grub.cfg to make sure there are no non-existing entries being left. /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?). dpkg: error while cleaning up: subprocess new post-removal script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/grml-rescueboot_0.4.1_all.deb [FAIL] cheers, Andreas
grml-rescueboot_0.4.1.log.gz
Description: GNU Zip compressed data
grml-rescueboot_0.4.1.reinstall.log.gz
Description: GNU Zip compressed data