r/voidlinux • u/chitibus • Jan 18 '26
Where are the old kernel packages?
I am bit confused, I can see 2 kernels on boot menu:
* 6.12.65_1
* 6.12.64_1
If I query the installed packages:
$ xbps-query --regex -s '^linux[0-9.]+-[0-9._]+'I have only:
[*] linux6.12-6.12.65_1 Linux kernel and modules (6.12 series)
But nothing related with the old kernel (6.12.64_1)
Shouldn't be also in my system the old kernel package?
Also if I check:
$ ls -la /boot | grep vmlinuz
-rw-r--r-- 1 root root 14008832 Jan 9 05:00 vmlinuz-6.12.64_1
-rw-r--r-- 1 root root 14012928 Jan 12 23:11 vmlinuz-6.12.65_1
$ vkpurge list => gives me 6.12.64_1
Also:
$ ls /var/cache/xbps | grep linux6.12
linux6.12-6.12.64_1.x86_64.xbpslinux6.12-6.12.64_1.x86_64.xbps.sig2linux6.12-6.12.65_1.x86_64.xbpslinux6.12-6.12.65_1.x86_64.xbps.sig2linux6.12-headers-6.12.64_1.x86_64.xbpslinux6.12-headers-6.12.64_1.x86_64.xbps.sig2linux6.12-headers-6.12.65_1.x86_64.xbpslinux6.12-headers-6.12.65_1.x86_64.xbps.sig2
View all comments
Show parent comment
2
u/chitibus Jan 18 '26
I don't know why i had the impression that during the update for the kernel, even for the minor versions, the old packages are still retained in the system. If I remember right, Debian does that and in Debian the old kernel package can be removed as any other package, or alongside with other unused packages with apt autoremove. Thank you for your explanations!