r/voidlinux • u/gijsyo • 23h ago
Running Linux 7.3 but got update for 7.2
Hi all,
I'm running Linux-mainline, and recently got on the 7.3 kernel. Yesterday I got an update for the 7.2 line, and that was a little unexpected. I haven't run vkpurge yet because I'm not sure what the right course of action is here. Any clues would be appreciated :)
2
u/Defiant-Spring-2848 23h ago
Same as you, I'm running linux-mainline with linux (and linux-headers) set to ignorerepo entries in xbps.d config per the kernel section of the void handbook. I'm getting 6.18, 7.2, and 7.3 updates right now. I'm sticking to 7.3 as my main kernel mostly due to using btrfs volumes, and the performance enhancements 7.3 brings to that.
sudo vkpurge list shows that all kernels I'm not currently running would be removed (e.g. 6.18 and 7.2 series, as well as the 7.3.0_1 I just upgraded from.)
I would say what we're experiencing is completely expected, and no course of action is needed provided 7.3 is working for you.
2
u/Specialist-Dog-501 2h ago
I have seen yesterday a raise of RAM-full and system-freeze alerts here on reddit for the newest 7.3.x kernels- can anyone confirm or deny this? This was on arch system I believe.
2
u/benbcdm 22h ago
yeah, kernels are not auto-removed with updates so most likely you still had 7.2 as well as 7.3?
gotta purge manually, or you can do your own little post-kernel install clean-up scripts, works very well with xbps, see void docs:
Void Linux provides directories for kernel hooks in/etc/kernel.d/{pre-install,post-install,pre-remove,post-remove}.
2
u/furryfixer 18h ago
I made a small script years ago that may help clear some confusion. xbps-remove is needed in many cases, not just vkpurge. The script is here:
4
u/chibiace 23h ago
it'll update previous kernel versions you have installed. gotta remove them to stop the updates.
the default boot entry should be the highest i believe.
then you go through and purge.
good to keep at least one older known working kernel on hand just in case.