Installing kernelstub can fail if installed at the same time as an initramfs update
Bug #1686440 reported by
Ian Santopietro
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kernelstub |
Triaged
|
Medium
|
Ian Santopietro |
Bug Description
If the kernelstub config file doesn't exist during an update to any package that generates a new kernel or initramfs, the kernelstub trigger will fail during that portion of the upgrade and will cause dpkg to error out. This shouldn't ever be a problem, but it would be good to ensure that even if it does come up, it doesn't break things. Perhaps we should ship a default config file with "quiet splash" since these are the default kernel parameters for 90% of installations.
To post a comment you must log in.
Log of problem from apt:
sudo apt upgrade browser- l10n chromium- codecs- ffmpeg- extra driver- nvidia systemd us.archive. ubuntu. com/ubuntu zesty-updates/main amd64 libsystemd0 amd64 232-21ubuntu3 [211 kB] us.archive. ubuntu. com/ubuntu zesty-updates/main amd64 libnss-resolve amd64 232-21ubuntu3 [114 kB] us.archive. ubuntu. com/ubuntu zesty-updates/main amd64 libpam-systemd amd64 232-21ubuntu3 [116 kB] us.archive. ubuntu. com/ubuntu zesty-updates/main amd64 libnss-myhostname amd64 232-21ubuntu3 [36.8 kB] us.archive. ubuntu. com/ubuntu zesty-updates/main amd64 systemd amd64 232-21ubuntu3 [2,362 kB] us.archive. ubuntu. com/ubuntu zesty-updates/main amd64 udev amd64 232-21ubuntu3 [1,040 kB] us.archive. ubuntu. com/ubuntu zesty-updates/main amd64 libudev1 amd64 232-21ubuntu3 [56.4 kB] us.archive. ubuntu. com/ubuntu zesty-updates/main amd64 systemd-sysv amd64 232-21ubuntu3 [13.0 kB] ppa.launchpad. net/kernelstub/ daily/ubuntu zesty/main amd64 kernelstub all 0.21 [6,906 B] ppa.launchpad. net/system76- dev/daily/ ubuntu zesty/main amd64 system76-driver all 17.04.2~ bzr689~ ubuntu17. 04.1 [53.6 kB] ppa.launchpad. net/system76- dev/daily/ ubuntu zesty/main amd64 system76- driver- nvidia all 17.04.2~ bzr689~ ubuntu17. 04.1 [11.6 kB] us.archive. ubuntu. com/ubuntu zesty-updates/ universe amd64 chromium- browser- l10n all 58.0.3029. 81-0ubuntu2. 17.04.1350 [3,252 kB] us.archive. ubuntu. com/ubuntu zesty-updates/ universe amd64 chromium-browser amd64 58.0.3029. 81-0ubuntu2. 17.04.1350 [59.4 MB] us.archive. ubuntu. com/ubuntu zesty-updates/ universe amd64 chromium- codecs- ffmpeg- extra amd64 58.0.3029. 81-0ubuntu2. 17.04.1350 [1,034 kB] us.archive. ubuntu. com/ubuntu zesty-updates/ universe amd64 libmozjs-38-0 amd64 38.2.1~rc0-0ubuntu6 [2,115 kB] us.archive. ubuntu. com/ubuntu zesty-updates/main amd64 snapd amd64 2.24.1+17.04 [6,664 kB] us.archive. ubuntu. com/ubuntu zesty-updates/main amd64 thermald amd64 1.5.4-4ubuntu1 [191 kB] _232-21ubuntu3_ amd64.deb ... resolve_ 232-21ubuntu3_ amd64.deb ... resolve: amd64 (232-21ubuntu3) over (23...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
chromium-browser chromium-
kernelstub libmozjs-38-0 libnss-myhostname libnss-resolve libpam-systemd
libsystemd0 libudev1 snapd system76-driver system76-
systemd-sysv thermald udev
17 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 76.7 MB of archives.
After this operation, 454 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Fetched 76.7 MB in 43s (1,769 kB/s)
(Reading database ... 195115 files and directories currently installed.)
Preparing to unpack .../libsystemd0
Unpacking libsystemd0:amd64 (232-21ubuntu3) over (232-21ubuntu2) ...
Setting up libsystemd0:amd64 (232-21ubuntu3) ...
(Reading database ... 195115 files and directories currently installed.)
Preparing to unpack .../0-libnss-
Unpacking libnss-