wej2
October 12th, 2020, 11:27 PM
I recently upgraded my server from 18.04 to 20.04.1 LTS using apt-get upgrade + apt-get dist-upgrade + do-release-upgrade. Everything went fine as far as I can tell, but it is still running the 4.4 kernel. From what I've read online, it looks like I should be running the 5.4 kernel now? I am wondering why when I now run apt-get upgrade/dist-upgrade, it tells me there are no more packages, even though I'm not on the latest kernel.
root@proxy:/etc# apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [111 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [98.3 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [590 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [347 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu focal-updates/main Translation-en [150 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu focal-updates/restricted i386 Packages [12.1 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [67.1 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [504 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [669 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [125 kB]
Fetched 2,780 kB in 2s (1,225 kB/s)
Reading package lists... Done
root@proxy:/etc# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
When I cat my /etc/os-release file, it looks like I am running 20.04.1:
root@proxy:/etc# cat os-release
NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.1 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
And yet uname -a reports the 4.4 kernel, which appears to belong to xenial:
root@proxy:/etc# uname -a
Linux proxy.domain.tld 4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
I've already rebooted to make sure it loaded the latest kernel. I checked my /boot/grub/grub.cfg file, and it definitely shows the 4.4 kernel image as the only one it will boot into.
--snipping irrelevant information--
echo 'Loading Linux 4.4.0-59-generic ...'
linux /boot/vmlinuz-4.4.0-59-generic root=UUID=d451a895-2c74-4806-95ff-1f74b4d31551 ro net.ifnames=0 splash quiet $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-59-generic
I do see that I have the 5.4 headers installed in the /usr/src/linux-headers-5.4.0-48 directory.
Can anyone explain what I am missing? Why didn't it update the kernel when the rest of the packages were updated?
Thanks
root@proxy:/etc# apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [111 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [98.3 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [590 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [347 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu focal-updates/main Translation-en [150 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu focal-updates/restricted i386 Packages [12.1 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [67.1 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [504 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [669 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [125 kB]
Fetched 2,780 kB in 2s (1,225 kB/s)
Reading package lists... Done
root@proxy:/etc# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
When I cat my /etc/os-release file, it looks like I am running 20.04.1:
root@proxy:/etc# cat os-release
NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.1 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
And yet uname -a reports the 4.4 kernel, which appears to belong to xenial:
root@proxy:/etc# uname -a
Linux proxy.domain.tld 4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
I've already rebooted to make sure it loaded the latest kernel. I checked my /boot/grub/grub.cfg file, and it definitely shows the 4.4 kernel image as the only one it will boot into.
--snipping irrelevant information--
echo 'Loading Linux 4.4.0-59-generic ...'
linux /boot/vmlinuz-4.4.0-59-generic root=UUID=d451a895-2c74-4806-95ff-1f74b4d31551 ro net.ifnames=0 splash quiet $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-59-generic
I do see that I have the 5.4 headers installed in the /usr/src/linux-headers-5.4.0-48 directory.
Can anyone explain what I am missing? Why didn't it update the kernel when the rest of the packages were updated?
Thanks