Can not be installed: postinst fails

Bug #28077 reported by Debian Bug Importer
6
Affects Status Importance Assigned to Milestone
grub (Debian)
Fix Released
Unknown
grub (Ubuntu)
Invalid
High
Tollef Fog Heen

Bug Description

Automatically imported from Debian bug report #345934 http://bugs.debian.org/345934

Revision history for this message
In , Arthur Marsh (arthur-marsh) wrote : linux-image-2.6.15-1-686: postinstal failure observed here also

Package: linux-image-2.6.15-1-686
Version: 2.6.15-1
Followup-For: Bug #345934

I also noted:

 -- doing nothing at
/var/lib/dpkg/info/linux-image-2.6.15-1-686.postinst line 579.

The new kernel is installed and usable, but the package remains listed
as partly installed and attempts to complete installation each time I
add or update packages with aptitude.

Regards,

Arthur.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

Versions of packages linux-image-2.6.15-1-686 depends on:
ii module-init-tools 3.2.2-1 tools for managing Linux kernel mo
ii yaird [linux-initramfs-tool] 0.0.12-3 Yet Another mkInitRD

Versions of packages linux-image-2.6.15-1-686 recommends:
ii libc6-i686 2.3.5-11 GNU C Library: Shared libraries [i

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

Revision history for this message
In , maximilian attems (maks-debian) wrote : reassign 345934 to grub

# Automatically generated email from bts, devscripts version 2.9.10
reassign 345934 grub

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #345934 http://bugs.debian.org/345934

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (4.0 KiB)

Message-ID: <email address hidden>
Date: Wed, 4 Jan 2006 13:42:02 +0200
From: Juhapekka Tolvanen <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: Can not be installed: postinst fails

Package: linux-image-2.6.15-1-686
Version: 2.6.15-1
Severity: grave

Setting up linux-image-2.6.15-1-686 (2.6.15-1) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitrd.yaird to build the ramdisk.
initrd.img(/boot/initrd.img-2.6.15-1-686) points to /boot/initrd.img-2.6.15-1-686 (/boot/initrd.img-2.6.15-1-686) -- doing nothing at /var/lib/dpkg/info/linux-image-2.6.15-1-686.postinst line 579.
vmlinuz(/boot/vmlinuz-2.6.15-1-686) points to /boot/vmlinuz-2.6.15-1-686 (/boot/vmlinuz-2.6.15-1-686) -- doing nothing at /var/lib/dpkg/info/linux-image-2.6.15-1-686.postinst line 579.
Running postinst hook /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
dpkg: error processing linux-image-2.6.15-1-686 (--configure):
 subprocess post-installation script returned error exit status 128
dpkg: dependency problems prevent configuration of linux-image-2.6-686:
 linux-image-2.6-686 depends on linux-image-2.6.15-1-686; however:
  Package linux-image-2.6.15-1-686 is not configured yet.
dpkg: error processing linux-image-2.6-686 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-686:
 linux-image-686 depends on linux-image-2.6-686; however:
  Package linux-image-2.6-686 is not configured yet.
dpkg: error processing linux-image-686 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-2.6.15-1-686
 linux-image-2.6-686
 linux-image-686
E: Sub-process /usr/bin/dpkg returned an error code (1)
E: Some packages could not be upgraded.

-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-686
Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8)

Versions of packages linux-image-2.6.15-1-686 depends on:
ii module-init-tools 3.2.2-1 tools for managing Linux kernel mo
ii yaird [linux-initramfs-tool] 0.0.12-3 Yet Another mkInitRD

Versions of packages linux-image-2.6.15-1-686 recommends:
pn libc6-i686 <none> (no description available)

-- debconf information:
  linux-image-2.6.15-1-686/postinst/kimage-is-a-directory:
* linux-image-2.6.15-1-686/preinst/overwriting-modules-2.6.15-1-686: false
  linux-image-2.6.15-1-686/postinst/depmod-error-initrd-2.6.15-1-686: false
  linux-image-2.6.15-1-686/postinst/bootloader-error-2.6.15-1-686:
  linux-image-2.6.15-1-686/postinst/bootloader-test-error-2.6.15-1-686:
  linux-image-2.6.15-1-686/preinst/lilo-has-ramdisk:
  linux-image-2.6.15-1-686/preinst/failed-to-move-modules-2.6.15-1-686:
  linux-image-2.6.15-1-686/postinst/old-system-map-link-2.6.15-1-686: true
  linux-image-2.6.15-1-686/preinst/abort-install-2.6.15-1-686:
  linux-image-2.6.15-1-686/preinst/abort-overwrite-2.6.15-1-686:
  linux-image-2.6.15-1-686/preinst/bootloader-initrd-2.6.15-1-686: true
  linux-image-2.6.15-1-686/pre...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20060105182541.28346.75930.reportbug@localhost>
Date: Fri, 06 Jan 2006 04:55:41 +1030
From: Arthur Marsh <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: linux-image-2.6.15-1-686: postinstal failure observed here also

Package: linux-image-2.6.15-1-686
Version: 2.6.15-1
Followup-For: Bug #345934

I also noted:

 -- doing nothing at
/var/lib/dpkg/info/linux-image-2.6.15-1-686.postinst line 579.

The new kernel is installed and usable, but the package remains listed
as partly installed and attempts to complete installation each time I
add or update packages with aptitude.

Regards,

Arthur.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

Versions of packages linux-image-2.6.15-1-686 depends on:
ii module-init-tools 3.2.2-1 tools for managing Linux kernel mo
ii yaird [linux-initramfs-tool] 0.0.12-3 Yet Another mkInitRD

Versions of packages linux-image-2.6.15-1-686 recommends:
ii libc6-i686 2.3.5-11 GNU C Library: Shared libraries [i

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

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <E1Eut9C-0004tV-BB@nancy>
Date: Fri, 6 Jan 2006 16:04:54 +0100
From: maximilian attems <email address hidden>
To: <email address hidden>
Subject: reassign 345934 to grub

# Automatically generated email from bts, devscripts version 2.9.10
reassign 345934 grub

Revision history for this message
In , Kristian Edlund (edlund) wrote : Fixed in 0.97-3

I strongly suspect this error to have occured since update.grub was
writing to stdout, this is changed in 0.97-3, which causes the update to
fail when update-grub is used as a postinst hook.

I will close this bug, feel free to reopen it, if the problem still
exists in 0.97-3

--
Best Regards
Kristian Edlund

GPG ID: 7DD7559F

Revision history for this message
Chuck Short (zulcss) wrote :

This does not affect us

Revision history for this message
Colin Watson (cjwatson) wrote :

This doesn't affect Ubuntu; closing our bug task.

Changed in grub:
status: Unconfirmed → Rejected
Revision history for this message
In , Lesandra Latouche (lesandralatouche) wrote : For investors

http://i18.tinypic.com/3yqw2a9.jpg

Sets the line style of the shape.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.