I just tried to install the HWE stack using sudo apt-get install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04
, but it does not fully install. There is no boot image generated, nothing is loaded in /lib/modules
for it, etc. What am I doing wrong?
Output of install command:
The following NEW packages will be installed:
linux-generic-hwe-18.04 xserver-xorg-hwe-18.04
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/15.2 kB of archives.
After this operation, 248 kB of additional disk space will be used.
Selecting previously unselected package linux-generic-hwe-18.04.
(Reading database ... 407048 files and directories currently installed.)
Preparing to unpack .../linux-generic-hwe-18.04_4.18.0.15.65_amd64.deb ...
Unpacking linux-generic-hwe-18.04 (4.18.0.15.65) ...
Selecting previously unselected package xserver-xorg-hwe-18.04.
Preparing to unpack .../xserver-xorg-hwe-18.04_1%3a7.7+19ubuntu8~18.04.2_amd64.deb ...
Unpacking xserver-xorg-hwe-18.04 (1:7.7+19ubuntu8~18.04.2) ...
Setting up xserver-xorg-hwe-18.04 (1:7.7+19ubuntu8~18.04.2) ...
Setting up linux-generic-hwe-18.04 (4.18.0.15.65) ...
Output of uname -a
Linux my-computer-name 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Output of attempting to manually install two apparently missing dependencies:
sudo apt install linux-image-generic-hwe-18.04 linux-headers-generic-hwe-18.04
[sudo] password for brandon:
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-generic-hwe-18.04 is already the newest version (4.18.0.15.65).
linux-headers-generic-hwe-18.04 set to manually installed.
linux-image-generic-hwe-18.04 is already the newest version (4.18.0.15.65).
linux-image-generic-hwe-18.04 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Output of dpkg -l | grep linux-image
rc linux-image-4.15.0-20-generic 4.15.0-20.21 amd64 Signed kernel image generic
ii linux-image-4.15.0-45-generic 4.15.0-45.48 amd64 Signed kernel image generic
ii linux-image-4.18.0-15-generic 4.18.0-15.16~18.04.1 amd64 Signed kernel image generic
ii linux-image-generic 4.15.0.45.47 amd64 Generic Linux kernel image
ii linux-image-generic-hwe-18.04 4.18.0.15.65 amd64 Generic Linux kernel image
Output of sudo update-grub
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-45-generic
Found initrd image: /boot/initrd.img-4.15.0-45-generic
Found Windows Boot Manager on /dev/sdb1@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
done
[This laptop came preinstalled with Windows and used to run it, hence the WBM entry.]
Error when trying to manually reinstall image:
depmod: ERROR: could not open directory /lib/modules/4.18.0-15-generic: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
dpkg: error processing package linux-image-4.18.0-15-generic (--configure):
installed linux-image-4.18.0-15-generic package post-installation script subprocess returned error exit status 1
uname -a
.linux-generic-hwe-18.04
depends onlinux-image-generic-hwe-18.04
andlinux-headers-generic-hwe-18.04
. But I don't see them installed. Something is broken in your system.