[Bug 1811984] Re: flash-kernel 3.90ubuntu3.18.10.1 fails with mkimage: not found if no uboot is used

Loïc Minier loic.minier at ubuntu.com
Wed Jan 16 12:30:57 UTC 2019


This is by design, flash-kernel has different dependencies depending on
the target hardware; the piece of software making the system bootable
(e.g. the flash-kernel udeb in d-i/ubiquity) will install flash-kernel
and the hardware-specific deps (such as u-boot-tools).

** Changed in: flash-kernel (Ubuntu)
       Status: New => Invalid

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

Title:
  flash-kernel 3.90ubuntu3.18.10.1 fails with mkimage: not found if no
  uboot is used

Status in flash-kernel package in Ubuntu:
  Invalid

Bug description:
  After updating flash-kernel from 3.90ubuntu3 to 3.90ubuntu3.18.10.1,
  dpkg aborted with this error:

  Processing triggers for flash-kernel (3.90ubuntu3.18.10.1) ...
  Using DTB: bcm2710-rpi-3-b-plus.dtb
  Installing /lib/firmware/4.18.0-1009-raspi2/device-tree/broadcom/bcm2710-rpi-3-b-plus.dtb into /boot/dtbs/4.18.0-1009-raspi2/bcm2710-rpi-3-b-plus.dtb
  Taking backup of bcm2710-rpi-3-b-plus.dtb.
  Installing new bcm2710-rpi-3-b-plus.dtb.
  flash-kernel: installing version 4.18.0-1009-raspi2
  Taking backup of vmlinuz.
  Installing new vmlinuz.
  Taking backup of bcm2710-rpi-3-b-plus.dtb.
  Installing new bcm2710-rpi-3-b-plus.dtb.
  Taking backup of initrd.img.
  Installing new initrd.img.
  Generating boot script u-boot image... /usr/sbin/flash-kernel: 497: /usr/sbin/flash-kernel: mkimage: not found
  dpkg: error processing package flash-kernel (--configure):
   installed flash-kernel package post-installation script subprocess returned error exit status 127
  Errors were encountered while processing:
   flash-kernel

  
  The missing mkimage tool is in the package u-boot-tools which is recommended, but no dependency. Since I don't use uboot, I don't have that installed.

  The previous version of flash-kernel didn't care about that and worked
  just fine (updated DTB, initrd and vmlinuz).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1811984/+subscriptions



More information about the foundations-bugs mailing list