On 2014-01-11 07:59, Charles Plessy wrote:
> it seems that Piuparts is not able to install grub-common, on which
> pv-grub-menu depends, but I do not undertand why.  Do you have an explanation 
> ?

grub-common is successfully installed.
Keeping the failed chroot and digging around there manually:
* adding set -x to the postinst:


# dpkg --configure --pending
Setting up pv-grub-menu (1.2.1) ...
+ set -e
+ [ configure = configure ]
+ update-menu-lst
Searching for GRUB installation directory ... found: /boot/grub
dpkg: error processing package pv-grub-menu (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 pv-grub-menu

# update-menu-lst -v
Searching for GRUB installation directory ... found: /boot/grub
# echo $?
1

so update-menu-lst fails somewhere:

# bash -x $(which update-menu-lst)
+ set -e
++ uname -s
++ tr '[A-Z]' '[a-z]'
+ host_os=linux
++ find_grub_dir
++ echo -n 'Searching for GRUB installation directory ... '
Searching for GRUB installation directory ... ++ for d in /boot/grub
/boot/boot/grub
++ '[' -d /boot/grub ']'
++ grub_dir=/boot/grub
++ break
++ '[' -z /boot/grub ']'
++ echo 'found: /boot/grub'
found: /boot/grub
++ echo /boot/grub
+ grub_dir=/boot/grub
+ device_map=/boot/grub/device.map
+ menu_file_basename=menu.lst
+ menu_file=/boot/grub/menu.lst
++ find_device /
++ grub-probe --device-map=/boot/grub/device.map -t device /
+ root_device=


Andreas


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to