[Bug 1374399] Re: package linux-image-3.13.0-36-generic 3.13.0-36.63~precise1 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/zz-runlilo exited with return code 1
Launchpad Bug Tracker
1374399 at bugs.launchpad.net
Sat Oct 25 08:37:30 UTC 2014
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 <ad_debian at joonet.de> Fri, 17 Oct 2014 21:40:40
+0200
** Changed in: lilo (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lilo in Ubuntu.
https://bugs.launchpad.net/bugs/1374399
Title:
package linux-image-3.13.0-36-generic 3.13.0-36.63~precise1 failed to
install/upgrade: run-parts: /etc/kernel/postinst.d/zz-runlilo exited
with return code 1
Status in “lilo” package in Ubuntu:
Fix Released
Bug description:
I got this error when I tried to install a package:
Setting up linux-image-3.13.0-35-generic (3.13.0-35.62~precise1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
initrd.img(/boot/initrd.img-3.13.0-35-generic
) points to /boot/initrd.img-3.13.0-35-generic
(/boot/initrd.img-3.13.0-35-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-3.13.0-35-generic.postinst line 491.
vmlinuz(/boot/vmlinuz-3.13.0-35-generic
) points to /boot/vmlinuz-3.13.0-35-generic
(/boot/vmlinuz-3.13.0-35-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-3.13.0-35-generic.postinst line 491.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-35-generic /boot/vmlinuz-3.13.0-35-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.13.0-35-generic /boot/vmlinuz-3.13.0-35-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-35-generic /boot/vmlinuz-3.13.0-35-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-35-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-35-generic /boot/vmlinuz-3.13.0-35-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-35-generic /boot/vmlinuz-3.13.0-35-generic
run-parts: executing /etc/kernel/postinst.d/zz-runlilo 3.13.0-35-generic /boot/vmlinuz-3.13.0-35-generic
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.13.0-35-generic.postinst line 1025.
dpkg: error processing linux-image-3.13.0-35-generic (--configure):
subprocess installed post-installation script returned error exit status 2
And now I can't install any package (including the new image and kernel). I tried to run:
sudo apt-get install --reinstall linux-image-3.13.0-35-generic
sudo apt-get install --reinstall linux-image-generic-lts-trusty
sudo apt-get remove linux-image-3.13.0-35-generic
sudo dpkg --purge linux-image-3.13.0-35-generic
sudo apt-get update
sudo apt-get -f install
and I got the same error over and over again. The message error is in
the attachment. My next move is remove this packages from my update
settings, but I don't know it is a good ideia.
Information from my system:
Linux 3.13.0-34-generic #60~precise1-Ubuntu SMP Wed Aug 13 15:55:33 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
And I have these GCC versions on:
There are 2 choices for the alternative gcc (providing /usr/bin/gcc).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/bin/gcc-4.4 60 auto mode
1 /usr/bin/gcc-4.4 60 manual mode
* 2 /usr/bin/gcc-4.6 40 manual mode
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: linux-image-3.13.0-36-generic 3.13.0-36.63~precise1
ProcVersionSignature: Ubuntu 3.13.0-34.60~precise1-generic 3.13.11.4
Uname: Linux 3.13.0-34-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.7
Architecture: amd64
Date: Fri Sep 26 08:03:46 2014
DuplicateSignature: package:linux-image-3.13.0-36-generic:3.13.0-36.63~precise1:run-parts: /etc/kernel/postinst.d/zz-runlilo exited with return code 1
ErrorMessage: run-parts: /etc/kernel/postinst.d/zz-runlilo exited with return code 1
InstallationMedia: Ubuntu 12.04.4 LTS "Precise Pangolin" - Release amd64 (20140204)
MarkForUpload: True
SourcePackage: lilo
Title: package linux-image-3.13.0-36-generic 3.13.0-36.63~precise1 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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lilo/+bug/1374399/+subscriptions
More information about the foundations-bugs
mailing list