Bug#387729: Only wrapper for grub-install is available, not the real grub-install

Pier Luigi Pau pigipau at gmail.com
Sat Sep 16 12:00:46 UTC 2006


Package: grub
Version: 0.97-16
Severity: grave
Justification: renders package unusable

After an upgrade from 0.97-15 to 0.97-16, I have the following
situation:

/sbin/grub-install is not found (it should be the transitional wrapper)

/usr/sbin/grub-install is the wrapper for grub-install

nothing like a /usr/sbin/grub-install.real is found; there is no real
grub-install

/usr/sbin/grub-install calls itself in an infinite loop as it contains
the line:

  exec /usr/sbin/grub-install $*

This prevents grub-install from working at all, making it impossible to
install the grub bootloader to the MBR or anywhere.

Output of ls -l /sbin | grep grub
-rwxr-xr-x 1 root root    599 2006-09-15 14:55 update-grub

Output of ls -l /usr/sbin | grep grub
-rwxr-xr-x 1 root root  136176 2006-09-15 14:55 grub
-rwxr-xr-x 1 root root    2987 2005-11-11 12:41 grub-floppy
-rwxr-xr-x 1 root root     358 2006-09-15 14:55 grub-install
-rwxr-xr-x 1 root root    2312 2006-09-15 14:55 grub-md5-crypt
-rwxr-xr-x 1 root root    1213 2006-04-01 14:41 grub-reboot
-rwxr-xr-x 1 root root    2533 2006-09-15 14:55 grub-set-default
-rwxr-xr-x 1 root root    2473 2006-09-15 14:55 grub-terminfo
-rwxr-xr-x 1 root root     599 2006-09-15 14:55 update-grub
-rwxr-xr-x 1 root root   31889 2006-09-04 16:41 update-grub.real

Note the size of grub-install, obviously fitting to the one of the
wrapper shell script.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-k7
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)

Versions of packages grub depends on:
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  libncurses5                  5.5-2       Shared libraries for terminal hand

grub recommends no packages.

-- no debconf information




More information about the Pkg-grub-devel mailing list