package linux-image-3.2.0-22-generic-pae 3.2.0-22.35 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/zz-runlilo exited with return code 1

Bug #973903 reported by martin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lilo (Ubuntu)
Fix Released
Undecided
Joachim Wiedorn

Bug Description

Setting up linux-image-3.2.0-22-generic-pae (3.2.0-22.35) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-22-generic-pae /boot/vmlinuz-3.2.0-22-generic-pae
update-initramfs: Generating /boot/initrd.img-3.2.0-22-generic-pae
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-22-generic-pae /boot/vmlinuz-3.2.0-22-generic-pae
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.2.0-22-generic-pae /boot/vmlinuz-3.2.0-22-generic-pae
run-parts: executing /etc/kernel/postinst.d/zz-runlilo 3.2.0-22-generic-pae /boot/vmlinuz-3.2.0-22-generic-pae
Fatal: No images have been defined.
run-parts: /etc/kernel/postinst.d/zz-runlilo exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-22-generic-pae.postinst line 1010.
dpkg: error processing linux-image-3.2.0-22-generic-pae (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic-pae:
 linux-image-generic-pae depends on linux-image-3.2.0-22-generic-pae; however:
  Package linux-image-3.2.0-22-generic-pae is not configured yet.
dpkg: error processing linux-image-generic-pae (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-pae:
 linux-generic-pae depends on linux-image-generic-pae (= 3.2.0.22.24); however:
  Package linux-image-generic-pae is not configured yet.
dpkg: error processing linux-generic-pae (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          No apport report written because the error message indicates its a followup error from a previous failure.
                                                    E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-22-generic-pae 3.2.0-22.35
ProcVersionSignature: Ubuntu 3.2.0-21.34-generic-pae 3.2.13
Uname: Linux 3.2.0-21-generic-pae i686
ApportVersion: 2.0-0ubuntu4
Architecture: i386
Date: Wed Apr 4 21:42:12 2012
ErrorMessage: run-parts: /etc/kernel/postinst.d/zz-runlilo exited with return code 1
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20120122)
SourcePackage: lilo
Title: package linux-image-3.2.0-22-generic-pae 3.2.0-22.35 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/zz-runlilo exited with return code 1
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
martin (laster-7) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Joachim Wiedorn (ad-debian) wrote :

> run-parts: executing /etc/kernel/postinst.d/zz-runlilo 3.2.0-22-generic-pae /boot/vmlinuz-3.2.0-22-generic-pae
> Fatal: No images have been defined.

This say where are YOUR problem. You haven't defined an image in /etc/lilo.conf. Please configure lilo.conf for your system and then run "apt-get -f install".

Revision history for this message
Joachim Wiedorn (ad-debian) wrote :

problem solved

Changed in lilo (Ubuntu):
assignee: nobody → Joachim Wiedorn (ad-debian)
status: New → Confirmed
Revision history for this message
Joachim Wiedorn (ad-debian) wrote :

The lilo.conf file is not configured completly.

Changed in lilo (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lilo - 1:24.1-1

---------------
lilo (1:24.1-1) unstable; urgency=medium

  * New upstream release:
    - Fix liloconfig: not included initrd.img in lilo.conf, kernel
        installation/upgrading failed. Closes: #640792, #663586
        LP: #703371, #774733, #844859, #973903, #982791, #990306
        LP: #1002823, #1003865, #1004308, #1004919, #1017787, #1028113
        LP: #1029600, #1031770, #1042482, #1043352, #1057720, #1060584
        LP: #1070267, #1109340, #1132208, #1156494, #1173175, #1202943
        LP: #1210905, #1214153, #1218082, #1222073, #1264013, #1282115
        LP: #1304205, #1307211, #1318800, #1363551, #1374399
    - Fix liloconfig: no defined images in lilo.conf, initramfs hook
        failed. LP: #1014383
    - Fix hook scripts: kernel hook failed if RAID is degraded.
        Closes: #459713, #728622
    - More documentation about -R option. Closes: #720129
    - Optional: Set no-defragment bit on XFS filesystems.
    - Update some patches, remove all other patches.

  * Use better link to upstream packages in debian/watch.
  * Bump Standards Version to 3.9.6 (no changes).
  * Add hook scripts for saving kernel in /boot on XFS filesystems.
      These scripts can be found in dir. /usr/lib/lilo/ for optional
      installation. See: #566035
  * Remove obsolete symlinks sarge.bmp and sid.bmp to /boot/debian.bmp.
      Now using /boot/debian.bmp directly in /etc/lilo.conf.

 -- Joachim Wiedorn <email address hidden> Fri, 17 Oct 2014 21:40:40 +0200

Changed in lilo (Ubuntu):
status: Incomplete → Fix Released
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.