linux-firmware 1.157.19 attempts to generate /boot/initrd.img-4.8.0-56, /boot/initrd.img-4.8.0 when no corresponding vmlinuz present
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
With LinUX Images/-Extras 4.15.0-22-generic, 4.13.0-43-generic, 4.8.0-58-generic, 4.8.0-56-generic, and 4.4.0-127-generic installed, sudo dpkg-reconfigure linux-firmware returns the following to Console:
update-initramfs: Generating /boot/initrd.
update-initramfs: Generating /boot/initrd.
update-initramfs: Generating /boot/initrd.
update-initramfs: Generating /boot/initrd.
update-initramfs: Generating /boot/initrd.
WARNING: missing /lib/modules/
Ensure all necessary drivers are built into the linux image!
depmod: ERROR: could not open directory /lib/modules/
depmod: FATAL: could not search modules: No such file or directory
depmod: WARNING: could not open /var/tmp/
depmod: WARNING: could not open /var/tmp/
update-initramfs: Generating /boot/initrd.
WARNING: missing /lib/modules/4.8.0
Ensure all necessary drivers are built into the linux image!
depmod: ERROR: could not open directory /lib/modules/4.8.0: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
depmod: WARNING: could not open /var/tmp/
depmod: WARNING: could not open /var/tmp/
update-initramfs: Generating /boot/initrd.
Same configuration report for "Setting up linux-firmware..." with sudo apt(-get) install (--reinstall) linux-firmware and sudo apt-get upgrade linux-firmware. Therefore:
Reproducible: Always
Steps to reproduce: sudo apt install (--reinstall) linux-firmware or sudo dpkg-reconfigure linux-firmware.
Actual results, excepting actually installed Kernel Image packages:
update-initramfs: Generating /boot/initrd.
WARNING: missing /lib/modules/
Ensure all necessary drivers are built into the linux image!
depmod: ERROR: could not open directory /lib/modules/
depmod: FATAL: could not search modules: No such file or directory
depmod: WARNING: could not open /var/tmp/
depmod: WARNING: could not open /var/tmp/
update-initramfs: Generating /boot/initrd.
WARNING: missing /lib/modules/4.8.0
Ensure all necessary drivers are built into the linux image!
depmod: ERROR: could not open directory /lib/modules/4.8.0: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
depmod: WARNING: could not open /var/tmp/
depmod: WARNING: could not open /var/tmp/
Expected results, excepting actually installed Kernel Image packages:
No attempt to generate /boot/initrd.img for missing kernels, thus no warnings, errors or fatals.
UPDATE: Solved via sudo rm -rf /var/lib/
---
ApportVersion: 2.20.1-0ubuntu2.17
Architecture: amd64
CurrentDesktop: Unity
Dependencies:
DistroRelease: Ubuntu 16.04
InstallationDate: Installed on 2017-05-17 (373 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
Package: linux-firmware 1.157.19 [origin: unknown]
PackageArchitec
ProcVersionSign
Tags: xenial third-party-
Uname: Linux 4.15.0-22-generic x86_64
UnreportableReason: This is not an official Ubuntu package. Please remove any third party package and try again.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
Changed in linux-firmware (Ubuntu): | |
status: | Incomplete → Confirmed |
summary: |
linux-firmware 1.157.19 attempts to generate /boot/initrd.img-4.8.0-56, - /boot/initrd.ing-4.8.0 when no corresponding vmlinuz present + /boot/initrd.img-4.8.0 when no corresponding vmlinuz present |
description: | updated |
description: | updated |
description: | updated |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1773476
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.