[Bug 1374399] Re: package linux-image-3.13.0-36-generic 3.13.0-36.63~precise1 failed to install/upgrade ...

Joachim Wiedorn 1374399 at bugs.launchpad.net
Sun Oct 5 21:41:26 UTC 2014


Hello Gustavo,

Gustavo Luvizotto wrote on 2014-10-02 12:57:

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

You need the following files for using with lilo:

/boot/vmlinuz-3.13.0-35-generic
/boot/initrd.img-3.13.0-35-generic
/boot/System.map-3.13.0-35-generic

The initrd.img should be created by mkinitramfs (inside initramfs-tools)
and must exist.

If you see all these files (with size >> 0) then try per hand to edit
the /etc/lilo.conf at the end of the file and create/update these lines:

image = /boot/vmlinuz-3.13.0-35-generic
	label = "Linux"
	read-only
	optional
	initrd = /boot/initrd.img-3.13.0-35-generic

Then try to start "lilo" again.

If lilo still fail, then the next question: which type is your partition
of root directory (/). If it is a RAID than it could be difficulty running
lilo and you need some more handwork.

And then please check the lines with "root=" (with UUID) and also "boot="
(with HDD ID) in /etc/lilo.conf and check whether these lines are o.k.

---
Have a nice day.

Joachim (Germany)

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