[Bug 1560024] Re: /etc/kernel/postrm.d/zz-zipl fails when removing an old kernel

Launchpad Bug Tracker 1560024 at bugs.launchpad.net
Wed Jun 15 04:17:23 UTC 2016


[Expired for s390-tools (Ubuntu) because there has been no activity for
60 days.]

** Changed in: s390-tools (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to s390-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1560024

Title:
  /etc/kernel/postrm.d/zz-zipl fails when removing an old kernel

Status in s390-tools package in Ubuntu:
  Expired

Bug description:
  Running apt-get purge linux-image-extra-4.3.0-2-generic linux-
  image-4.3.0-2-generic when newer kernel is present results in
  /etc/kernel/postrm.d/zz-zipl failing with the following error :

  Removing linux-image-4.3.0-2-generic (4.3.0-2.11) ...
  Examining /etc/kernel/postrm.d .
  run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.3.0-2-generic /boot/vmlinuz-4.3.0-2-generic
  update-initramfs: Deleting /boot/initrd.img-4.3.0-2-generic
  run-parts: executing /etc/kernel/postrm.d/kdump-tools 4.3.0-2-generic /boot/vmlinuz-4.3.0-2-generic
  kdump-tools: Removing /var/lib/kdump/initrd.img-4.3.0-2-generic
  run-parts: executing /etc/kernel/postrm.d/zz-zipl 4.3.0-2-generic /boot/vmlinuz-4.3.0-2-generic
  Using config file '/etc/zipl.conf'
  Error: Ramdisk file '/boot/initrd.img' in section 'ubuntu': No such file or directory
  run-parts: /etc/kernel/postrm.d/zz-zipl exited with return code 1
  Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-4.3.0-2-generic.postrm line 328.
  dpkg: error processing package linux-image-4.3.0-2-generic (--remove):
   subprocess installed post-removal script returned error exit status 1
  Errors were encountered while processing:
   linux-image-4.3.0-2-generic
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  
  When the hooks runs, /boot/vmlinuz and /boot/initrd.img are :

  caribou at caribou:~$ file /boot/vmlinuz /boot/initrd.img
  /boot/vmlinuz:    symbolic link to ./vmlinuz-4.3.0-2-generic
  /boot/initrd.img: broken symbolic link to ./initrd.img-4.3.0-2-generic

  The broken symlink to initrd.img-4.3.0-2-generic triggers the failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/s390-tools/+bug/1560024/+subscriptions



More information about the foundations-bugs mailing list