[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

Gustavo Luvizotto gustavoluvizotto at gmail.com
Thu Oct 2 12:57:12 UTC 2014


Hi! I ran:
$ dpkg --list | grep linux-image

And I got the output:

ii  linux-image-3.11.0-15-generic               3.11.0-15.25~precise1               Linux kernel image for version 3.11.0 on 64 bit x86 SMP
ii  linux-image-3.11.0-17-generic               3.11.0-17.31~precise1               Linux kernel image for version 3.11.0 on 64 bit x86 SMP
ii  linux-image-3.11.0-18-generic               3.11.0-18.32~precise1               Linux kernel image for version 3.11.0 on 64 bit x86 SMP
ii  linux-image-3.11.0-19-generic               3.11.0-19.33~precise1               Linux kernel image for version 3.11.0 on 64 bit x86 SMP
ii  linux-image-3.11.0-20-generic               3.11.0-20.35~precise1               Linux kernel image for version 3.11.0 on 64 bit x86 SMP
ii  linux-image-3.11.0-22-generic               3.11.0-22.38~precise1               Linux kernel image for version 3.11.0 on 64 bit x86 SMP
ii  linux-image-3.11.0-23-generic               3.11.0-23.40~precise1               Linux kernel image for version 3.11.0 on 64 bit x86 SMP
ii  linux-image-3.11.0-24-generic               3.11.0-24.42~precise1               Linux kernel image for version 3.11.0 on 64 bit x86 SMP
ii  linux-image-3.11.0-26-generic               3.11.0-26.45~precise1               Linux kernel image for version 3.11.0 on 64 bit x86 SMP
ii  linux-image-3.13.0-30-generic               3.13.0-30.55~precise1               Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-3.13.0-32-generic               3.13.0-32.57~precise1               Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-3.13.0-33-generic               3.13.0-33.58~precise1               Linux kernel image for version 3.13.0 on 64 bit x86 SMP
hi  linux-image-3.13.0-34-generic               3.13.0-34.60~precise1               Linux kernel image for version 3.13.0 on 64 bit x86 SMP
iF  linux-image-3.13.0-35-generic               3.13.0-35.62~precise1               Linux kernel image for version 3.13.0 on 64 bit x86 SMP
iF  linux-image-3.13.0-36-generic               3.13.0-36.63~precise1               Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-generic-lts-saucy               3.11.0.26.23                        Generic Linux kernel image
iU  linux-image-generic-lts-trusty              3.13.0.35.30                        Generic Linux kernel image

So, I have this image.. How can I set this for install manually? Thanks
a lot for you concern.

-- 
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:
  New

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