[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#260136: grub-installer: fails in postinst (missing get_serial_console)



Package: grub-installer
Severity: grave
Justification: renders package unusable

grub-installer fails to install, with the following message in syslog:

Jul 18 20:45:52 main-menu[298]: (process:25772): /var/lib/dpkg/info/grub-installer.postinst: 7: get_serial_console: not found

get_serial_console() is a function defined further down in the script,
which appearently can't be run in a subshell in ash like line 7 tries to
do:

serial="$(get_serial_console)"

Doing "touch /bin/get_serial_console ; chmod +x /bin/get_serial_console"
makes the package work.

-- System Information:
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6
Locale: LANG=C, LC_CTYPE=en_US.ISO8859-1



Reply to: