** Description changed:

- Can't upgrade kernel on raspberry pi3b+
+ [Impact]
- [Steps to Reproduce]
+ Can't upgrade kernel on raspberry pi3a+. Without this, users can be
+ stuck with old kernels.
+ [Test Case]
  1. dd the image in an SD card:
  2. Boot rpi3a+ with the sd card
  3. Upgrade the kernel using following command:
     sudo apt update
     sudo apt install linux-raspi2
  4. Check output message
- [Expected Result]
+ Expected Result
  Current stable kernel(4.15.0-1043-raspi2) is installed.
- [Actual Result]
+ Actual Result
  Error shows up during the installation, and the kernel is still the original 
one after reboot.
+ [Regression Potential]
+ None. The bugfix for this change is only adding the missing db/all.db
+ Pi3A+ entry to flash-kernel.
  [Additional Info]
  Command output:
  ubuntu@ubuntu:~$ sudo apt install linux-raspi2
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  The following additional packages will be installed:
    linux-headers-4.15.0-1043-raspi2 linux-headers-raspi2 
linux-image-4.15.0-1043-raspi2 linux-image-raspi2 
  Suggested packages:
    fdutils linux-raspi2-doc-4.15.0 | linux-raspi2-source-4.15.0 
  The following NEW packages will be installed:
    linux-headers-4.15.0-1043-raspi2 linux-image-4.15.0-1043-raspi2 
linux-modules-4.15.0-1043-raspi2 linux-raspi2-headers-4.15.0-1043
  The following packages will be upgraded:
    linux-headers-raspi2 linux-image-raspi2 linux-raspi2
  3 upgraded, 4 newly installed, 0 to remove and 16 not upgraded.
  Need to get 45.1 MB of archives.
  After this operation, 214 MB of additional disk space will be used.
  Do you want to continue? [Y/n]
  Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe armhf 
linux-raspi2-headers-4.15.0-1043 armhf 4.15.0-1043.46 [11.0 MB]
  Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe armhf 
linux-headers-4.15.0-1043-raspi2 armhf 4.15.0-1043.46 [852 kB]
  Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe armhf 
linux-modules-4.15.0-1043-raspi2 armhf 4.15.0-1043.46 [26.5 MB]
  Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe armhf 
linux-image-4.15.0-1043-raspi2 armhf 4.15.0-1043.46 [6,751 kB]
  Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe armhf 
linux-raspi2 armhf [1,884 B]
  Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe armhf 
linux-image-raspi2 armhf [2,524 B]
  Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe armhf 
linux-headers-raspi2 armhf [2,512 B]
  Fetched 45.1 MB in 19s (2,363 kB/s)
  Selecting previously unselected package linux-raspi2-headers-4.15.0-1043.
  (Reading database ... 62492 files and directories currently installed.)
  Preparing to unpack 
.../0-linux-raspi2-headers-4.15.0-1043_4.15.0-1043.46_armhf.deb ...
  Unpacking linux-raspi2-headers-4.15.0-1043 (4.15.0-1043.46) ...
  Selecting previously unselected package linux-headers-4.15.0-1043-raspi2.
  Preparing to unpack 
.../1-linux-headers-4.15.0-1043-raspi2_4.15.0-1043.46_armhf.deb ...
  Unpacking linux-headers-4.15.0-1043-raspi2 (4.15.0-1043.46) ...
  Selecting previously unselected package linux-modules-4.15.0-1043-raspi2.
  Preparing to unpack 
.../2-linux-modules-4.15.0-1043-raspi2_4.15.0-1043.46_armhf.deb ...
  Unpacking linux-modules-4.15.0-1043-raspi2 (4.15.0-1043.46) ...
  Selecting previously unselected package linux-image-4.15.0-1043-raspi2.
  Preparing to unpack 
.../3-linux-image-4.15.0-1043-raspi2_4.15.0-1043.46_armhf.deb ...
  Unpacking linux-image-4.15.0-1043-raspi2 (4.15.0-1043.46) ...
  Preparing to unpack .../4-linux-raspi2_4.15.0.1043.41_armhf.deb ...
  Unpacking linux-raspi2 ( over ( ...
  Preparing to unpack .../5-linux-image-raspi2_4.15.0.1043.41_armhf.deb ...
  Unpacking linux-image-raspi2 ( over ( ...
  Preparing to unpack .../6-linux-headers-raspi2_4.15.0.1043.41_armhf.deb ...
  Unpacking linux-headers-raspi2 ( over ( ...
  Setting up linux-raspi2-headers-4.15.0-1043 (4.15.0-1043.46) ...
  Setting up linux-modules-4.15.0-1043-raspi2 (4.15.0-1043.46) ...
  Setting up linux-image-4.15.0-1043-raspi2 (4.15.0-1043.46) ...
  I: /boot/vmlinuz is now a symlink to vmlinuz-4.15.0-1043-raspi2
  I: /boot/initrd.img is now a symlink to initrd.img-4.15.0-1043-raspi2
  Setting up linux-headers-4.15.0-1043-raspi2 (4.15.0-1043.46) ...
  Setting up linux-image-raspi2 ( ...
  Setting up linux-headers-raspi2 ( ...
  Setting up linux-raspi2 ( ...
  Processing triggers for linux-image-4.15.0-1043-raspi2 (4.15.0-1043.46) ...
  update-initramfs: Generating /boot/initrd.img-4.15.0-1043-raspi2
  flash-kernel: deferring update (trigger activated)
  flash-kernel: deferring update (trigger activated)
  Processing triggers for flash-kernel (3.90ubuntu3.18.04.2) ...
  Unsupported platform.
  dpkg: error processing package flash-kernel (--configure):
   installed flash-kernel package post-installation script subprocess returned 
error exit status 1
  E: Sub-process /usr/bin/dpkg returned an error code (1)

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

  Can't upgrade kernel on raspberry pi3a+

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to