Can't upgrade kernel on raspberry pi3a+
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
flash-kernel (Ubuntu) |
Fix Released
|
Undecided
|
Dave Jones | ||
Bionic |
Fix Released
|
Undecided
|
Dave Jones | ||
Eoan |
Fix Released
|
Undecided
|
Unassigned | ||
linux-raspi2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
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:
http://
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
Current stable kernel(
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-
linux-
Suggested packages:
fdutils linux-raspi2-
The following NEW packages will be installed:
linux-
The following packages will be upgraded:
linux-
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://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Fetched 45.1 MB in 19s (2,363 kB/s)
Selecting previously unselected package linux-raspi2-
(Reading database ... 62492 files and directories currently installed.)
Preparing to unpack .../0-linux-
Unpacking linux-raspi2-
Selecting previously unselected package linux-headers-
Preparing to unpack .../1-linux-
Unpacking linux-headers-
Selecting previously unselected package linux-modules-
Preparing to unpack .../2-linux-
Unpacking linux-modules-
Selecting previously unselected package linux-image-
Preparing to unpack .../3-linux-
Unpacking linux-image-
Preparing to unpack .../4-linux-
Unpacking linux-raspi2 (4.15.0.1043.41) over (4.15.0.1041.39) ...
Preparing to unpack .../5-linux-
Unpacking linux-image-raspi2 (4.15.0.1043.41) over (4.15.0.1041.39) ...
Preparing to unpack .../6-linux-
Unpacking linux-headers-
Setting up linux-raspi2-
Setting up linux-modules-
Setting up linux-image-
I: /boot/vmlinuz is now a symlink to vmlinuz-
I: /boot/initrd.img is now a symlink to initrd.
Setting up linux-headers-
Setting up linux-image-raspi2 (4.15.0.1043.41) ...
Setting up linux-headers-
Setting up linux-raspi2 (4.15.0.1043.41) ...
Processing triggers for linux-image-
/etc/kernel/
update-initramfs: Generating /boot/initrd.
flash-kernel: deferring update (trigger activated)
/etc/kernel/
flash-kernel: deferring update (trigger activated)
Processing triggers for flash-kernel (3.90ubuntu3.
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)
ubuntu@ubuntu:~$
tags: | added: id-5da7195077417327157503f8 |
description: | updated |
Changed in linux-raspi2 (Ubuntu): | |
status: | New → Fix Released |
Changed in linux-raspi2 (Ubuntu Bionic): | |
status: | New → Fix Released |
Tried apt install -f, and do some check.
Updated kernel looks installed, but the system still boot from original kernel.