Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 1286  / 2 Years ago, sat, march 5, 2022, 3:51:14

I have troubles with updating my kernel. I'm running Kubuntu 14.04. uname -r output:



3.13.0-32-generic


I clearly see newer versions in repos with sudo dpkg --list 'linux-image*':



...
linux-headers-3.13.0-40 - Header files related to Linux kernel version 3.13.0
linux-headers-3.13.0-40-generic - Linux kernel headers for version 3.13.0 on 64 bit x86 SMP
linux-headers-3.13.0-40-lowlatency - Linux kernel headers for version 3.13.0 on 64 bit x86 SMP
...


Also, when I was upgrading my system with sudo apt-get dist-upgrade I've noticed the following:



Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
linux-headers-3.13.0-34 linux-headers-3.13.0-34-generic
linux-headers-3.13.0-35 linux-headers-3.13.0-35-generic
linux-headers-3.13.0-37 linux-headers-3.13.0-37-generic
linux-headers-3.13.0-39 linux-headers-3.13.0-39-generic
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
...


All those kernels are newer than mine also, but for some reason, system decided to keep mine instead.



I had similar problem before. That time I've made some weird tricks with manual installation of header packages, but I think there should be nicer way to get system on track with kernel updating.



Edit:
Here are my /boot contents that clearly show that there are no newer kernels installed: ls /boot



abi-3.13.0-27-generic     config-3.2.0-61-generic       memtest86+.bin                System.map-3.2.0-61-generic
abi-3.13.0-32-generic grub memtest86+.elf vmlinuz-3.13.0-27-generic
abi-3.2.0-61-generic initrd.img-3.13.0-27-generic memtest86+_multiboot.bin vmlinuz-3.13.0-32-generic
config-3.13.0-27-generic initrd.img-3.13.0-32-generic System.map-3.13.0-27-generic vmlinuz-3.2.0-61-generic
config-3.13.0-32-generic initrd.img-3.2.0-61-generic System.map-3.13.0-32-generic

More From » apt

 Answers
5

If the system decides to hold back a kernel upgrade, it has its reasons... (Like you have Oracle's VirtualBox with drivers compiled for your kernel or similar low-level software installed)



That being said, if you do want to upgrade your kernel:




  1. Do a full system backup (I use CloneZilla)

  2. just install the latest version by:



    sudo apt-get install linux-generic



[#22164] Monday, March 7, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
peafowkes

Total Points: 356
Total Questions: 102
Total Answers: 117

Location: Lebanon
Member since Tue, Oct 12, 2021
3 Years ago
;