Hi, I must say I don't understand what grub-probe is supposed to do/return, the manpage is awfully terse.
On my lvm-based machine (non-encrypted), it gives the same error message for lv mountpoints, and for /boot and / just returns "ext2" (despite / being a lv too) - I thought it was supposed to return a device name of some sort, but it appears not. Despite this, the upgrade on this machine does work. In short, it is very possible that you are hit by a bug in grub, so I reassign this report. Thanks; -- Yann On Sun, Jun 27, 2010 at 05:48:04PM +0200, J? Fahlke wrote: > Package: memtest86+ > Version: 4.00-2.3 > Severity: normal > > When trying to upgrade memtest86+ from 4.00-2.2 to 4.00-2.3 I get the > following error: > ====================================================================== > Reading changelogs... Done > Preconfiguring packages ... > (Reading database ... 480652 files and directories currently installed.) > Preparing to replace memtest86+ 4.00-2.2 (using > .../memtest86+_4.00-2.3_i386.deb) ... > Unpacking replacement memtest86+ ... > /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 ... > /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?). > dpkg: error processing /var/cache/apt/archives/memtest86+_4.00-2.3_i386.deb > (--unpack): > subprocess new post-removal script returned error exit status 1 > /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 > Processing triggers for man-db ... > Errors were encountered while processing: > /var/cache/apt/archives/memtest86+_4.00-2.3_i386.deb > E: Sub-process /usr/bin/dpkg returned an error code (1) > A package failed to install. Trying to recover: > Press return to continue. > ====================================================================== > > Both "mount" and /proc/mounts think that /dev is mounted: > ====================================================================== > j...@paranoia:~/src/dune2/UG/ug/parallel$ mount > /dev/dm-2 on / type ext3 (rw,errors=remount-ro) > tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) > proc on /proc type proc (rw,noexec,nosuid,nodev) > sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) > udev on /dev type tmpfs (rw,mode=0755) > tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) > devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620) > /dev/sda5 on /boot type ext3 (rw) > tmpfs on /tmp type tmpfs (rw,size=4g) > fusectl on /sys/fs/fuse/connections type fusectl (rw) > ====================================================================== > ====================================================================== > j...@paranoia:~/src/dune2/UG/ug/parallel$ cat /proc/mounts > rootfs / rootfs rw 0 0 > none /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 > none /proc proc rw,nosuid,nodev,noexec,relatime 0 0 > none /dev devtmpfs rw,relatime,size=1968292k,nr_inodes=492073,mode=755 0 0 > none /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0 > /dev/mapper/Paranoia-Root_crypt / ext3 > rw,relatime,errors=remount-ro,data=ordered 0 0 > tmpfs /lib/init/rw tmpfs rw,nosuid,relatime,mode=755 0 0 > tmpfs /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0 > /dev/sda5 /boot ext3 rw,relatime,errors=continue,data=ordered 0 0 > tmpfs /tmp tmpfs rw,relatime,size=4194304k 0 0 > fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0 > j...@paranoia:~/src/dune2/UG/ug/parallel$ > ====================================================================== > > My setup is / on dm-crypt on lvm, and /boot on its own non-excrypted > partition. > > Jö. > > -- System Information: > Debian Release: squeeze/sid > APT prefers testing-proposed-updates > APT policy: (500, 'testing-proposed-updates'), (500, 'testing') > Architecture: i386 (x86_64) > > Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) > Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > > Versions of packages memtest86+ depends on: > ii debconf [debconf-2.0] 1.5.32 Debian configuration management > sy > > memtest86+ recommends no packages. > > Versions of packages memtest86+ suggests: > ii grub 0.97-61 GRand Unified Bootloader (dummy > pa > pn hwtools <none> (no description available) > pn kernel-patch-badram <none> (no description available) > pn memtest86 <none> (no description available) > pn memtester <none> (no description available) > ii mtools 4.0.12-1 Tools for manipulating MSDOS > files > > -- debconf information: > shared/memtest86-run-lilo: false > > -- > Q: How does a Unix guru have sex? > A: unzip;strip;touch;finger;mount;fsck;more;yes;umount;sleep > -- unknown source -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

