Bug#562081: uninstallable: /etc/grub.d/30_os-prober: 40: function: not found
Wolfram Quester
wolfi at sigxcpu.org
Tue Dec 22 13:55:47 UTC 2009
Package: grub-pc
Version: 1.97+experimental.20091213-1
Severity: grave
Justification: renders package unusable
Hi altogether,
I tried to upgrade grub-pc to version 1.98~20091221-1,
but this failed with
Setting up grub-common (1.98~20091221-1) ...
Installing new version of config file /etc/grub.d/30_os-prober ...
Setting up grub-pc (1.98~20091221-1) ...
/usr/sbin/grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!
/usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and its use is discouraged.
Installation finished. No error reported.
Generating grub.cfg ...
Found background image: moreblue-orbit-grub.png
Found linux image: /boot/vmlinuz-2.6.32-trunk-amd64
Found initrd image: /boot/initrd.img-2.6.32-trunk-amd64
Found linux image: /boot/vmlinuz-2.6.31-1-amd64
Found initrd image: /boot/initrd.img-2.6.31-1-amd64
Found linux image: /boot/vmlinuz-2.6.30-2-amd64
Found initrd image: /boot/initrd.img-2.6.30-2-amd64
Found linux image: /boot/vmlinuz-2.6.30-1-amd64
Found initrd image: /boot/initrd.img-2.6.30-1-amd64
Found linux image: /boot/vmlinuz-2.6.29-1-amd64
Found initrd image: /boot/initrd.img-2.6.29-1-amd64
Found linux image: /boot/vmlinuz-2.6.28-1-amd64
Found initrd image: /boot/initrd.img-2.6.28-1-amd64
Found linux image: /boot/vmlinuz-2.6.26-1-amd64
Found initrd image: /boot/initrd.img-2.6.26-1-amd64
Found linux image: /boot/vmlinuz-2.6.25-2-amd64
Found initrd image: /boot/initrd.img-2.6.25-2-amd64
Found linux image: /boot/vmlinuz-2.6.24-1-amd64
Found initrd image: /boot/initrd.img-2.6.24-1-amd64
File descriptor 3 (pipe:[260566]) leaked on lvs invocation. Parent PID 15926: /bin/sh
/etc/grub.d/30_os-prober: 40: function: not found
dpkg: error processing grub-pc (--configure):
subprocess installed post-installation script returned error exit status 127
Processing triggers for menu ...
Errors were encountered while processing:
grub-pc
With best regards,
Wolfi
-- Package-specific info:
*********************** WARNING grub-setup left core.img in filesystem
*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/f6f20b67-a6cf-4647-b98a-f79409c16aba / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/sda
*********************** END /boot/grub/device.map
*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
load_env
set default=0
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
set locale_dir=/boot/grub/locale
set lang=en
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set gfxpayload=keep
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
insmod png
if background_image /boot/grub/moreblue-orbit-grub.png ; then
set color_normal=black/black
set color_highlight=magenta/black
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, with Linux 2.6.32-trunk-amd64" {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
linux /boot/vmlinuz-2.6.32-trunk-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro quiet quiet
initrd /boot/initrd.img-2.6.32-trunk-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.32-trunk-amd64 (recovery mode)" {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
linux /boot/vmlinuz-2.6.32-trunk-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro single quiet
initrd /boot/initrd.img-2.6.32-trunk-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.31-1-amd64" {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
linux /boot/vmlinuz-2.6.31-1-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro quiet quiet
initrd /boot/initrd.img-2.6.31-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.31-1-amd64 (recovery mode)" {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
linux /boot/vmlinuz-2.6.31-1-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro single quiet
initrd /boot/initrd.img-2.6.31-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.30-2-amd64" {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
linux /boot/vmlinuz-2.6.30-2-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro quiet quiet
initrd /boot/initrd.img-2.6.30-2-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.30-2-amd64 (recovery mode)" {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
linux /boot/vmlinuz-2.6.30-2-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro single quiet
initrd /boot/initrd.img-2.6.30-2-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.30-1-amd64" {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
linux /boot/vmlinuz-2.6.30-1-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro quiet quiet
initrd /boot/initrd.img-2.6.30-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.30-1-amd64 (recovery mode)" {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
linux /boot/vmlinuz-2.6.30-1-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro single quiet
initrd /boot/initrd.img-2.6.30-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.29-1-amd64" {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
linux /boot/vmlinuz-2.6.29-1-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro quiet quiet
initrd /boot/initrd.img-2.6.29-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.29-1-amd64 (recovery mode)" {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
linux /boot/vmlinuz-2.6.29-1-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro single quiet
initrd /boot/initrd.img-2.6.29-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.28-1-amd64" {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
linux /boot/vmlinuz-2.6.28-1-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro quiet quiet
initrd /boot/initrd.img-2.6.28-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.28-1-amd64 (recovery mode)" {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
linux /boot/vmlinuz-2.6.28-1-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro single quiet
initrd /boot/initrd.img-2.6.28-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.26-1-amd64" {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
linux /boot/vmlinuz-2.6.26-1-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro quiet quiet
initrd /boot/initrd.img-2.6.26-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.26-1-amd64 (recovery mode)" {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
linux /boot/vmlinuz-2.6.26-1-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro single quiet
initrd /boot/initrd.img-2.6.26-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.25-2-amd64" {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
linux /boot/vmlinuz-2.6.25-2-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro quiet quiet
initrd /boot/initrd.img-2.6.25-2-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.25-2-amd64 (recovery mode)" {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
linux /boot/vmlinuz-2.6.25-2-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro single quiet
initrd /boot/initrd.img-2.6.25-2-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.24-1-amd64" {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
linux /boot/vmlinuz-2.6.24-1-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro quiet quiet
initrd /boot/initrd.img-2.6.24-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.24-1-amd64 (recovery mode)" {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
linux /boot/vmlinuz-2.6.24-1-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro single quiet
initrd /boot/initrd.img-2.6.24-1-amd64
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Mac OS X (on /dev/sda2)" {
insmod hfsplus
set root=(hd0,2)
search --no-floppy --fs-uuid --set 7d52494ab88b2816
insmod vbe
do_resume=0
if [ /var/vm/sleepimage -nt10 / ]; then
if xnu_resume /var/vm/sleepimage; then
do_resume=1
fi
fi
if [ $do_resume == 0 ]; then
xnu_uuid 7d52494ab88b2816 uuid
if [ -f /Extra/DSDT.aml ]; then
acpi -e /Extra/DSDT.aml
fi
xnu_kernel /mach_kernel boot-uuid=${uuid} rd=*uuid
if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions ]; then
xnu_mkext /System/Library/Extensions.mkext
else
xnu_kextdir /System/Library/Extensions
fi
if [ -f /Extra/Extensions.mkext ]; then
xnu_mkext /Extra/Extensions.mkext
fi
if [ -d /Extra/Extensions ]; then
xnu_kextdir /Extra/Extensions
fi
if [ -f /Extra/devtree.txt ]; then
xnu_devtree /Extra/devtree.txt
fi
if [ -f /Extra/splash.jpg ]; then
insmod jpeg
xnu_splash /Extra/splash.jpg
fi
if [ -f /Extra/splash.png ]; then
insmod png
xnu_splash /Extra/splash.png
fi
if [ -f /Extra/splash.tga ]; then
insmod tga
xnu_splash /Extra/splash.tga
fi
fi
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
*********************** END /boot/grub/grub.cfg
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages grub-pc depends on:
ii debconf [de 1.5.28 Debian configuration management sy
ii grub-common 1.97+experimental.20091213-1 GRand Unified Bootloader, version
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii ucf 3.0025 Update Configuration File: preserv
grub-pc recommends no packages.
Versions of packages grub-pc suggests:
ii desktop-base 5.0.5 common files for the Debian Deskto
-- debconf information:
grub2/kfreebsd_cmdline:
grub-pc/linux_cmdline: fillme
* grub2/linux_cmdline: quiet
grub-pc/chainload_from_menu.lst: true
grub-pc/kopt_extracted: false
grub-pc/postrm_purge_boot_grub: false
grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default: quiet
* grub-pc/install_devices: /dev/sda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20091222/f68ab7bd/attachment.pgp>
More information about the Pkg-grub-devel
mailing list