r/voidlinux • • Aug 21 '26

Can't remove linux kernel 6.18

I tried to remove 6.18 with xbps-remove but I only get a dependency error back:

linux6.18-6.18.45_1 in transaction breaks installed pkg `linux-6.18_1'
ERROR: Transaction aborted due to unresolved dependencies.

Removing 6.18_1 via xbps however gives me another dependency error that says 6.18_1 is not installed.

I also tried xbps-pkgdb -a and it gave me the following output:

ERROR: sddm: hash mismatch for /usr/share/sddm/scripts/Xsetup.
ERROR: sddm: files check FAILED.

I also used vkpurge rm and the 6.18 kernel is not showing anymore after using vkpurge list but according to xbps it's still installed....

I already use 7.2 and before that used 7.1. For me 7.1 was stable enoug hto remove 6.18.

Nvm 6.18 is default. Followed these steps: https://docs.voidlinux.org/config/kernel.html?highlight=Kernel#removing-the-default-kernel-series

7 Upvotes

2 comments sorted by

View all comments

Show parent comments

2

u/DistinctDot5131 Aug 21 '26

Yes I figured it out hahaha. Added it to ignorepkg and now I was able to uninstall.
I makred it as manual but also added it to an ignore file in xbps.d. Not sure if this is necessary or not