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

Bug#399768: mkvmlinuz script fails with "command not found" error



Package: mkvmlinuz
Version: 26
Severity: normal

The output is:

Running depmod.
Finding valid ramdisk creators.
Using mkinitrd.yaird to build the ramdisk.
Not updating initrd symbolic links since we are being
updated/reinstalled 
(2.6.18-5 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled 
(2.6.18-5 was configured last, according to dpkg)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/mkvmlinuz
/usr/sbin/mkvmlinuz: line 149: prep: command not found

The line that is refered to looks like this:

if dpkg --compare-versions $release ge 2.6.18 && "$arch" != "prep"; then

as you can see the "test" command is missing for the second comparison.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-powerpc
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages mkvmlinuz depends on:
ii  bash                          3.1dfsg-7  The GNU Bourne Again SHell
ii  binutils                      2.17-3     The GNU assembler, linker and bina
ii  debconf [debconf-2.0]         1.5.9      Debian configuration management sy

mkvmlinuz recommends no packages.

-- debconf information:
* mkvmlinuz/bootloaders: mkvmlinuz



Reply to: