Package: kernel-package
Version: 12.033
Severity: normal

The same error goes here.

Setting up linux-image-2.6.34-crorx (2.6.34-crorx-10.00.Custom) ...
Internal Error: Could not find image (/boot/bzImage-2.6.34-crorx)
dpkg: error processing linux-image-2.6.34-crorx (--configure):
 subprocess installed post-installation script returned error exit
status 2

Source of this error is in following lines in postinst script

# Paranoid check to make sure that the correct value is put in there
if    (! $kimage)                    { $kimage = "vmlinuz"; } # Hmm. empty

...while in config and postrm scripts these lines look like

# Paranoid check to make sure that the correct value is put in there
if (! $kimage)                      {$kimage = "vmlinuz"} # Hmm. empty
elsif ($kimage =~ m/^b?zImage$/o)   {$kimage = "vmlinuz"} # these
produce vmlinuz
elsif ($kimage =~ m/^[iI]mage$/o)   { my $nop = $kimage;}
elsif ($kimage =~ m/^vmlinux$/o)    { my $nop = $kimage;}
elsif ($kimage =~ m/^xen[0u]-linux$/o){
    $package_name       = "${kimage}-$version";}
else                                {$kimage = "vmlinuz"} # default

I suggest just to use the same lines in postinst script. For me this
solved the problem.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to