Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Kernel's v3.16.0-4-amd64 files left behind after upgrading.

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
ant
Posts: 355
Joined: 2011-11-09 00:15

Kernel's v3.16.0-4-amd64 files left behind after upgrading.

#1 Post by ant »

Hello.

I did my daily apt-get update and upgrade earlier on my Debian oldstable/Jessie and noticed:

$ ls -all /boot
total 45032
drwxr-xr-x 3 root root 4096 Jan 9 08:40 .
drwxr-xr-x 27 root root 4096 Jan 9 08:40 ..
-rw-r--r-- 1 root root 157756 Dec 14 13:27 config-3.16.0-4-amd64
-rw-r--r-- 1 root root 157786 Jan 9 03:42 config-3.16.0-5-amd64
drwxr-xr-x 5 root root 12288 Jan 9 08:41 grub
-rw-r--r-- 1 root root 16814543 Dec 16 18:38 initrd.img-3.16.0-4-amd64
-rw-r--r-- 1 root root 16814597 Jan 9 08:40 initrd.img-3.16.0-5-amd64
-rw-r--r-- 1 root root 98964 Mar 10 2015 memtest86.bin
-rw-r--r-- 1 root root 182704 Sep 10 2014 memtest86+.bin
-rw-r--r-- 1 root root 184840 Sep 10 2014 memtest86+_multiboot.bin
-rw-r--r-- 1 root root 2684316 Dec 14 13:27 System.map-3.16.0-4-amd64
-rw-r--r-- 1 root root 2683305 Jan 9 03:42 System.map-3.16.0-5-amd64
-rw-r--r-- 1 root root 3137712 Dec 14 13:25 vmlinuz-3.16.0-4-amd64
-rw-r--r-- 1 root root 3139776 Jan 9 03:40 vmlinuz-3.16.0-5-amd64

$ cat /var/log/apt/history.log
Start-Date: 2018-01-05 09:30:28
Commandline: apt-get dist-upgrade
Upgrade: google-chrome-stable:amd64 (63.0.3239.108-1, 63.0.3239.132-1)
End-Date: 2018-01-05 09:30:38
Start-Date: 2018-01-09 08:39:50
Commandline: apt-get dist-upgrade
Install: linux-image-3.16.0-5-amd64:amd64 (3.16.51-3+deb8u1, automatic), linux-headers-3.16.0-5-common:amd64 (3.16.51-3+deb8u1, automatic), linux-headers-3.16.0-5-amd64:amd64 (3.16.51-3+deb8u1, automatic)
Upgrade: libpoppler-glib8:amd64 (0.26.5-2+deb8u1, 0.26.5-2+deb8u2), libpoppler46:amd64 (0.26.5-2+deb8u1, 0.26.5-2+deb8u2), libpoppler-cpp0:amd64 (0.26.5-2+deb8u1, 0.26.5-2+deb8u2), libpoppler-qt4-4:amd64 (0.26.5-2+deb8u1, 0.26.5-2+deb8u2), linux-image-amd64:amd64 (3.16+63, 3.16+63+deb8u1), linux-compiler-gcc-4.8-x86:amd64 (3.16.51-3, 3.16.51-3+deb8u1), linux-headers-amd64:amd64 (3.16+63, 3.16+63+deb8u1), poppler-utils:amd64 (0.26.5-2+deb8u1, 0.26.5-2+deb8u2), linux-libc-dev:amd64 (3.16.51-3, 3.16.51-3+deb8u1), gir1.2-poppler-0.18:amd64 (0.26.5-2+deb8u1, 0.26.5-2+deb8u2)
End-Date: 2018-01-09 08:41:02

Shouldn't Kernel's v3.16.0-4-amd64 files be automatically removed like in the past with previous kernel upgrades? Is it a bug? I am tight on free disk space in /boot in my 115 GB SSD. :(

Thank you in advance. :)

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Kernel's v3.16.0-4-amd64 files left behind after upgradi

#2 Post by bw123 »

you upgraded the meta pkgs for linux-image-amd64 and linux-headers-amd64 it's right there in your history.log

you don't have to keep the older versions. I usually do for awhile though, just to make sure everything is working. I once got caught by a wireless issue that knocked the machine offline and I had no older kernel to fall back to.

here's a decent link
https://kernel-handbook.alioth.debian.o ... aging.html
linux-image[-featureset]-flavour
linux-headers[-featureset]-flavour

These meta-packages provide (via dependencies) the latest binary image and matching set of header files (respectively) for a particular flavour. Example: linux-image-rt-686-pae
I don't know how the decision is made on whether to upgrade or release a kernel patch as a new version. It's probably spelled out somewhere in policy though or there woud be a big fight going on about it. When there is an especially rushed patch like this one was, I think it was a good choice.
resigned by AI ChatGPT

ant
Posts: 355
Joined: 2011-11-09 00:15

Re: Kernel's v3.16.0-4-amd64 files left behind after upgradi

#3 Post by ant »

bw123 wrote:you upgraded the meta pkgs for linux-image-amd64 and linux-headers-amd64 it's right there in your history.log

you don't have to keep the older versions. I usually do for awhile though, just to make sure everything is working. I once got caught by a wireless issue that knocked the machine offline and I had no older kernel to fall back to.

here's a decent link
https://kernel-handbook.alioth.debian.o ... aging.html
linux-image[-featureset]-flavour
linux-headers[-featureset]-flavour

These meta-packages provide (via dependencies) the latest binary image and matching set of header files (respectively) for a particular flavour. Example: linux-image-rt-686-pae
I don't know how the decision is made on whether to upgrade or release a kernel patch as a new version. It's probably spelled out somewhere in policy though or there woud be a big fight going on about it. When there is an especially rushed patch like this one was, I think it was a good choice.
Hmm, in the past apt-get always removed the older Kernels. Today, it didn't which surprised me. Hmm!

Post Reply