remove old kernel files/modules
utility lists and removes removable kernel
versions left behind by
runs the appropriate removal hooks and deletes
the kernel, modules and other miscellaneous files.
vkpurge only lists or removes kernel
versions that are:
- not currently booted.
- not provided by any installed xbps package.
The version arguments support
sh(1) pattern matching.
The following commands are available:
- List removable kernel versions. Optionally list only versions matching
- Remove all removable kernel versions.
- Remove all removable kernel versions matching
vkpurge utility exits 0 on success,
and >0 if an error occurs.
The following command lists installed kernels matching a pattern.
The following command will delete the kernel versions matching the
pattern and a specified version.
There is no support for all kernels. Specific series, like rpi-kernel, are not
# vkpurge rm '2.6.*' 4.3.4_1