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

Bug#517236: linux-image-2.6.28-1-amd64: Post Inst fails - /usr/sbin/mkinitramfs



On Thu, Feb 26, 2009 at 09:06:21PM +0530, Mahesh T. Pai wrote:
> Package: linux-image-2.6.28-1-amd64
> Version: 2.6.28-1
> Severity: normal
> 
> 
> This is what I get after installing the new kernel.
> 
> oot@home:~# aptitude -f install
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Reading extended state information
> Initializing package states... Done
> The following partially installed packages will be configured:
>   linux-image-2.6.28-1-amd64
> 0 packages upgraded, 0 newly installed, 0 to remove and 294 not upgraded.
> Need to get 0B of archives. After unpacking 0B will be used.
> Setting up linux-image-2.6.28-1-amd64 (2.6.28-1) ...
> Running depmod.
> Running /usr/sbin/mkinitramfs.
> /usr/sbin/mkinitramfs: invalid option -- 'c'
> /usr/sbin/mkinitramfs: invalid option -- 't'
> Terminating...
> /usr/sbin/mkinitramfs failed to create initrd image.
> Failed to create initrd image.
> dpkg: error processing linux-image-2.6.28-1-amd64 (--configure):
>  subprocess post-installation script returned error exit status 2
> Errors were encountered while processing:
>  linux-image-2.6.28-1-amd64
> ^[      localepurge: checking system for new locale ...
> localepurge: processing locale files ...
> localepurge: processing man pages ...
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> A package failed to install.  Trying to recover:
> Setting up linux-image-2.6.28-1-amd64 (2.6.28-1) ...
> Running depmod.
> Running /usr/sbin/mkinitramfs.
> /usr/sbin/mkinitramfs: invalid option -- 'c'
> /usr/sbin/mkinitramfs: invalid option -- 't'
> Terminating...
> /usr/sbin/mkinitramfs failed to create initrd image.
> Failed to create initrd image.
> dpkg: error processing linux-image-2.6.28-1-amd64 (--configure):
>  subprocess post-installation script returned error exit status 2
> Errors were encountered while processing:
>  linux-image-2.6.28-1-amd64
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Reading extended state information
> Initializing package states... Done
> 
> 
> But this works:-
> 
> oot@home:~# update-initramfs -k 2.6.28-1-amd64 -c
> update-initramfs: Generating /boot/initrd.img-2.6.28-1-amd64
> 

please post output of:
cat /etc/kernel-img.conf

-- 
maks



Reply to: