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

Bug#517236: marked as done (linux-image-2.6.28-1-amd64: Post Inst fails - /usr/sbin/mkinitramfs)



Your message dated Fri, 27 Feb 2009 08:58:34 +0100
with message-id <20090227075834.GE3901@baikonur.stro.at>
and subject line Re: Bug#517236: linux-image-2.6.28-1-amd64: Post Inst fails - /usr/sbin/mkinitramfs
has caused the Debian Bug report #517236,
regarding linux-image-2.6.28-1-amd64: Post Inst fails - /usr/sbin/mkinitramfs
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
517236: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517236
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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



-- Package-specific info:

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

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)

-- debconf information:
  linux-image-2.6.28-1-amd64/postinst/depmod-error-initrd-2.6.28-1-amd64: false
  shared/kernel-image/really-run-bootloader: true
  linux-image-2.6.28-1-amd64/postinst/bootloader-error-2.6.28-1-amd64:
  linux-image-2.6.28-1-amd64/postinst/depmod-error-2.6.28-1-amd64: false
  linux-image-2.6.28-1-amd64/postinst/bootloader-test-error-2.6.28-1-amd64:
  linux-image-2.6.28-1-amd64/postinst/old-system-map-link-2.6.28-1-amd64: true
  linux-image-2.6.28-1-amd64/preinst/initrd-2.6.28-1-amd64:
  linux-image-2.6.28-1-amd64/preinst/bootloader-initrd-2.6.28-1-amd64: true
  linux-image-2.6.28-1-amd64/postinst/old-initrd-link-2.6.28-1-amd64: true
  linux-image-2.6.28-1-amd64/postinst/old-dir-initrd-link-2.6.28-1-amd64: true
  linux-image-2.6.28-1-amd64/preinst/failed-to-move-modules-2.6.28-1-amd64:
  linux-image-2.6.28-1-amd64/preinst/elilo-initrd-2.6.28-1-amd64: true
  linux-image-2.6.28-1-amd64/preinst/lilo-initrd-2.6.28-1-amd64: true
  linux-image-2.6.28-1-amd64/preinst/overwriting-modules-2.6.28-1-amd64: true
  linux-image-2.6.28-1-amd64/preinst/lilo-has-ramdisk:
  linux-image-2.6.28-1-amd64/preinst/abort-overwrite-2.6.28-1-amd64:
  linux-image-2.6.28-1-amd64/preinst/abort-install-2.6.28-1-amd64:
  linux-image-2.6.28-1-amd64/postinst/kimage-is-a-directory:
  linux-image-2.6.28-1-amd64/postinst/create-kimage-link-2.6.28-1-amd64: true
  linux-image-2.6.28-1-amd64/prerm/removing-running-kernel-2.6.28-1-amd64: true
  linux-image-2.6.28-1-amd64/prerm/would-invalidate-boot-loader-2.6.28-1-amd64: true



--- End Message ---
--- Begin Message ---
On Fri, Feb 27, 2009 at 08:19:49AM +0530, Mahesh T. Pai wrote:
> (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
> 
> $ cat /etc/kernel-img.conf
> do_symlinks = yes
> relative_links = yes
> do_bootloader = no
> do_bootfloppy = no
> do_initrd = yes
> link_in_boot = yes
> postinst_hook = update-grub
> postrm_hook   = update-grub
> ramdisk = /usr/sbin/mkinitramfs

that is clearly wrong, delete the ramdisk line.

the debian installer doesn't add such and aboves wasn't really
supported, thus closing.
 
> 
> Thanks for your attention. I find that subsequent scripts
> (update-grub, etc) have not been run. 

sure postinst failed due to above misconfig.

-- 
maks


--- End Message ---

Reply to: