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

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



On Tue, Nov 21, 2006 at 10:05:22PM +0100, Sebastian Heutling wrote:
> 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.

Argh, indeed. Fixing ...

Friendly,

Sven Luther



Reply to: