Bug#562081: uninstallable: /etc/grub.d/30_os-prober: 40: function: not found

2009-12-22 Thread Wolfram Quester
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 

Bug#562081: uninstallable: /etc/grub.d/30_os-prober: 40: function: not found

2009-12-22 Thread Felix Zielcke
reassign 562081 grub-common
notfound 562081 1.97+experimental.20091213-1
forcemerge 562058 562081
thanks
Am Dienstag, den 22.12.2009, 14:55 +0100 schrieb Wolfram Quester:
 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,
Actually this is somewhat of a downgrade, because for sid we upload
upstreams' trunk branch whereas we upload the experimental branch to
experimental.
So some things aren't included there.
Except though you still have the version installed which I wrongfully
uploaded to unstable instead of experimental.

 but this failed with

 /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

Anyway, in line 40 of /etc/grub.d/30_os-prober change `function
osx_entry {' to `osx_entry() {'
then try `dpkg --configure -a' or apt/aptitude again.

I already uploaded a fixed version, should be avaible soon on the
mirrors.

 With best regards,
 
 Wolfi


-- 
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Bug#562081: uninstallable: /etc/grub.d/30_os-prober: 40: function: not found

2009-12-22 Thread Wolfram Quester
On Tue, Dec 22, 2009 at 03:14:00PM +0100, Felix Zielcke wrote:
 reassign 562081 grub-common
 notfound 562081 1.97+experimental.20091213-1
 forcemerge 562058 562081
 thanks
 Am Dienstag, den 22.12.2009, 14:55 +0100 schrieb Wolfram Quester:
  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,
 Actually this is somewhat of a downgrade, because for sid we upload
 upstreams' trunk branch whereas we upload the experimental branch to
 experimental.
 So some things aren't included there.
 Except though you still have the version installed which I wrongfully
 uploaded to unstable instead of experimental.
Yes, I forgot to mention that I reinstalled 1.97+experimental.20091213-1 after
the failed upgrade.

 
  but this failed with
 
  /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
 
 Anyway, in line 40 of /etc/grub.d/30_os-prober change `function
 osx_entry {' to `osx_entry() {'
 then try `dpkg --configure -a' or apt/aptitude again.
 
 I already uploaded a fixed version, should be avaible soon on the
 mirrors.

Thanks,

Wolfi



signature.asc
Description: Digital signature