Bug#517236: linux-image-2.6.28-1-amd64: Post Inst fails - /usr/sbin/mkinitramfs
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
Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages linux-image-2.6.28-1-amd64 depends on:
ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy
ii initramfs-tools [linux-initra 0.92o tools for generating an initramfs
ii module-init-tools 3.4-1 tools for managing Linux kernel mo
linux-image-2.6.28-1-amd64 recommends no packages.
Versions of packages linux-image-2.6.28-1-amd64 suggests:
ii grub 0.97-51 GRand Unified Bootloader (Legacy v
pn linux-doc-2.6.28 <none> (no description available)
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
02-26-2009, 04:15 PM
maximilian attems
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
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
02-27-2009, 01:49 AM
"Mahesh T. Pai"
Bug#517236: linux-image-2.6.28-1-amd64: Post Inst fails - /usr/sbin/mkinitramfs
(dropping all cc's; hope that is all right.)
maximilian attems said on Thu, Feb 26, 2009 at 06:15:12PM +0100,:
>
> please post output of:
> cat /etc/kernel-img.conf