Comment 11 for bug 1863145

Revision history for this message
Stephan Fabel (sfabel) wrote : Re: [Bug 1863145] Re: arm64 cloud image contains flash-kernel which leads to apt errors on upgrade

Hey - so I tried again today, just following the same steps:

-------snip--------
ubuntu@rpi4:~$ lxc launch ubuntu:18.04
Creating the instance
Instance name is: funky-whale
Starting funky-whale
ubuntu@rpi4:~$ lxc shell funky-whale
mesg: ttyname failed: No such device
root@funky-whale:~# apt update && apt -y upgrade
Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7
kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6
kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7
kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports bionic/universe arm64 Packages
[8316 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports bionic/universe Translation-en
[4941 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse arm64 Packages
[126 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse Translation-en
[108 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64
Packages [637 kB]
Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main
Translation-en [306 kB]
Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted
Translation-en [9020 B]
Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64
Packages [944 kB]
Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe
Translation-en [327 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64
Packages [3304 B]
Get:15 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse
Translation-en [4636 B]
Get:16 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64
Packages [2512 B]
Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main
Translation-en [1644 B]
Get:18 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64
Packages [4016 B]
Setting up gcc-8-base:arm64 (8.3.0-26ubuntu1~18.04) ...
(Reading database ... 28977 files and directories currently installed.)
Preparing to unpack .../libstdc++6_8.3.0-26ubuntu1~18.04_arm64.deb ...
Unpacking libstdc++6:arm64 (8.3.0-26ubuntu1~18.04) over
(8.3.0-6ubuntu1~18.04.1) ...
Setting up libstdc++6:arm64 (8.3.0-26ubuntu1~18.04) ...
(Reading database ... 28977 files and directories currently installed.)
Preparing to unpack .../libgcc1_1%3a8.3.0-26ubuntu1~18.04_arm64.deb ...
Unpacking libgcc1:arm64 (1:8.3.0-26ubuntu1~18.04) over
(1:8.3.0-6ubuntu1~18.04.1) ...
Setting up libgcc1:arm64 (1:8.3.0-26ubuntu1~18.04) ...
(Reading database ... 28977 files and directories currently installed.)
Preparing to unpack .../libsqlite3-0_3.22.0-1ubuntu0.3_arm64.deb ...
Unpacking libsqlite3-0:arm64 (3.22.0-1ubuntu0.3) over (3.22.0-1ubuntu0.2)
...
Preparing to unpack .../rsync_3.1.2-2.1ubuntu1.1_arm64.deb ...
Unpacking rsync (3.1.2-2.1ubuntu1.1) over (3.1.2-2.1ubuntu1) ...
Preparing to unpack .../landscape-common_18.01-0ubuntu3.5_arm64.deb ...
Unpacking landscape-common (18.01-0ubuntu3.5) over (18.01-0ubuntu3.4) ...
Preparing to unpack .../sosreport_3.9-1ubuntu0.18.04.1_arm64.deb ...
Unpacking sosreport (3.9-1ubuntu0.18.04.1) over (3.6-1ubuntu0.18.04.4) ...
Preparing to unpack .../unattended-upgrades_1.1ubuntu1.18.04.14_all.deb ...
Unpacking unattended-upgrades (1.1ubuntu1.18.04.14) over
(1.1ubuntu1.18.04.13) ...
Setting up landscape-common (18.01-0ubuntu3.5) ...
Setting up rsync (3.1.2-2.1ubuntu1.1) ...
Setting up sosreport (3.9-1ubuntu0.18.04.1) ...
Installing new version of config file /etc/sos.conf ...
Setting up unattended-upgrades (1.1ubuntu1.18.04.14) ...
Replacing config file /etc/apt/apt.conf.d/50unattended-upgrades with new
version
Setting up libsqlite3-0:arm64 (3.22.0-1ubuntu0.3) ...
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for systemd (237-3ubuntu10.39) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
-------snip--------

Seems like the latest image does not contain flash-kernel or it somehow
avoids this error for me right now. Does this help? Let me know if you need
anything else?

Thanks,
Stephan

On Mon, Mar 16, 2020 at 9:41 AM Robert C Jennings <
<email address hidden>> wrote:

> Dave, using the latest focal daily lxd container (serial 20200313) I can
> remove and install flash-kernel to see the "flash-kernel: /boot/vmlinuz-
> or /boot/initrd.img- missing; expecting future run" failure and confirm
> that installing from the ppa (3.98ubuntu12~ppa1) gives the same output
> as above for my bionic test. Still, I'd like Stephan to confirm that
> this was the error he was seeing when he filed the case.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1863145
>
> Title:
> arm64 cloud image contains flash-kernel which leads to apt errors on
> upgrade
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/cloud-images/+bug/1863145/+subscriptions
>