[10:45] <knaccc> hey all, a couple weeks ago I had problems with a networking bug in 5.4.0-122, so I "fixed" the problem by doing "sudo apt remove linux-image-5.4.0-122-generic" and rebooting. A few days ago, I saw that the bug was fixed in 5.4.0-123, and so I did apt update and it showed me that the linux-image-5.4.0-123-generic package was available to install. So I just did an apt upgrade, and rebooted,
[10:45] <knaccc> and was shocked to see that I'm still on the old -121 kernel (when I do uname -r). When I do "apt list --installed | grep linux-image" it does not show the -123 kernel either, nor does it show up when I do `grub-mkconfig | grep -iE "menuentry 'Ubuntu, with Linux" | awk '{print i++ " : "$1, $2, $3, $4, $5, $6, $7}'` to show all kernels available to grub. Have I broken something by manually
[10:45] <knaccc> doing the "sudo apt remove linux-image-5.4.0-122-generic" step? How can I fix this so that the -123 kernel and future kernels will install properly? Thanks for any ideas
[11:04] <knaccc> btw when i said "-123" above, i meant "-124"
[11:04] <knaccc> I appear to have a working solution for now - I manually did "apt install linux-image-5.4.0-122-generic" and then "apt install linux-image-5.4.0-124-generic", and now i'm on the -124 kernel
[11:06] <knaccc> but i don't know if i've broken future kernel updates, and I don't know why the -124 kernel didn't install, even though apt update and then "apt list --upgradable" showed the -124 kernel in the list of what would happen when I did "apt upgrade"
[13:40] <tomreyn> knaccc: there are different ubuntu releases, with different vanilla and HWE kernels. so if you have questions regarding "default kernel version" it's always good to mention which ubuntu version you are referring to.
[13:44] <tomreyn> 5.4.0-124 could be on an Ubuntu 18.04 LTS installation with a HWE kernel (ensure package 'linux-image-generic-hwe-18.04' is installed to track updates) or an Ubuntu 20.04 LTS installation with the generic / vanilla kernel installed (ensure package 'linux-image-generic' is installed to track updates).
[15:16] <knaccc> tomreyn thanks, good point, i'm on Ubuntu 20.04.4 LTS. For some reason, even though I had linux-image-5.4.0-121-generic installed, the act of removing linux-image-5.4.0-122-generic prevented the most recent kernel linux-image-5.4.0-124-generic from installing (even though apt update told me the package linux-image-5.4.0-124-generic) was available to install, and even though I then performed
[15:16] <knaccc> an apt upgrade
[15:16] <knaccc> (btw there was no -123, it jumped from -122 to -124)
[15:18] <knaccc> so it's perplexing me that apt claimed it was available, let me install it, and then when i did "apt list --installed | grep linux-image" it did not appear in the list of things installed
[15:19] <knaccc> so i am assuming something must have broken during the apt upgrade that prevented it from being instaleld properl
[15:19] <knaccc> y