So a while ago I switched from virtualbox to libvirt.
Now I have leftovers in my system which dracut is mentioning in every update. I want to get rid of it an after reading this topic:
OK, I reviewed both packages. dracut-hook is removing those directories because it is writing the initrd there. We don’t do that so there is no reason for us to remove them.
This should be fixed in the next update of eos-dracut.
and then this one:
So looks like its not liking uninstall or installing the module:
Remove:
❯ dkms remove vboxhost/6.1.26_OSE --all
Error! Could not locate dkms.conf file.
File: /var/lib/dkms/vboxhost/6.1.26_OSE/source/dkms.conf does not exist.
Error! vboxhost/6.1.26_OSE is broken!
Missing the source directory or the symbolic link pointing to it.
Manual intervention is required!
Install:
❯ dkms install vboxhost/6.1.26_OSE
Error! vboxhost/6.1.26_OSE is broken!
Missing the source directory or the symbolic li…
I thought to myself “just purge the directories and be happy” - but better safe then sorry, hence the question…
my dkms status:
dkms status
vboxhost/7.0.10_OSE: broken
Error! vboxhost/7.0.10_OSE: Missing the module source directory or the symbolic link pointing to it.
Manual intervention is required!
vboxhost/7.0.12_OSE: broken
Error! vboxhost/7.0.12_OSE: Missing the module source directory or the symbolic link pointing to it.
Manual intervention is required!
vboxhost/7.0.14_OSE: broken
Error! vboxhost/7.0.14_OSE: Missing the module source directory or the symbolic link pointing to it.
Manual intervention is required!
vboxhost/7.0.16_OSE: broken
Error! vboxhost/7.0.16_OSE: Missing the module source directory or the symbolic link pointing to it.
Manual intervention is required!
vboxhost/7.0.18_OSE: broken
Error! vboxhost/7.0.18_OSE: Missing the module source directory or the symbolic link pointing to it.
Manual intervention is required!
vboxhost/7.0.20_OSE: broken
Error! vboxhost/7.0.20_OSE: Missing the module source directory or the symbolic link pointing to it.
Manual intervention is required!
vboxhost/7.1.2_OSE: broken
Error! vboxhost/7.1.2_OSE: Missing the module source directory or the symbolic link pointing to it.
Manual intervention is required!
vboxhost/7.1.4_OSE: broken
Error! vboxhost/7.1.4_OSE: Missing the module source directory or the symbolic link pointing to it.
Manual intervention is required!
vboxhost/7.2.0_OSE, 6.12.45-1-lts, x86_64: installed
vboxhost/7.2.0_OSE, 6.16.5-arch1-1, x86_64: installed
zenpower3/0.2.0, 6.12.45-1-lts, x86_64: installed
zenpower3/0.2.0, 6.16.5-arch1-1, x86_64: installed
zfs/2.2.6: broken
Error! zfs/2.2.6: Missing the module source directory or the symbolic link pointing to it.
Manual intervention is required!
And I have neither vbox or zfs installed.
thefrog
September 6, 2025, 1:18pm
2
try to move it, maybe to home dir, then do an update. Hopefully someone will pop in with a more useful answer if that fails.
dalto
September 6, 2025, 2:21pm
3
Take a look in /var/lib/dkms and see if you have some leftover stuff in there. If you find anything, check which package owns it, if no package owns it, delete it.
dalto:
Take a look in /var/lib/dkms and see if you have some leftover stuff in there. If you find anything, check which package owns it, if no package owns it, delete it.
Well. there is some stuff in it:
ll /var/lib/dkms
total 8,0K
-rw------- 1 root root 1,7K 10. Sep 2023 mok.key
-rw-r--r-- 1 root root 811 10. Sep 2023 mok.pub
drwxr-xr-x 1 root root 6,6K 6. Sep 11:19 vboxhost/
drwxr-xr-x 1 root root 120 6. Sep 11:19 zenpower3/
drwxr-xr-x 1 root root 114 13. Dez 2024 zfs/
And here starts the real problem:
ll /var/lib/dkms/vboxhost/
total 492K
drwxr-xr-x 1 root root 142 17. Okt 2023 7.0.10_OSE/
drwxr-xr-x 1 root root 448 17. Jan 2024 7.0.12_OSE/
drwxr-xr-x 1 root root 474 17. Apr 2024 7.0.14_OSE/
drwxr-xr-x 1 root root 212 2. Mai 2024 7.0.16_OSE/
drwxr-xr-x 1 root root 562 17. Jul 2024 7.0.18_OSE/
drwxr-xr-x 1 root root 714 12. Sep 2024 7.0.20_OSE/
drwxr-xr-x 1 root root 146 16. Okt 2024 7.1.2_OSE/
drwxr-xr-x 1 root root 472 25. Jan 2025 7.1.4_OSE/
drwxr-xr-x 1 root root 66 6. Sep 11:19 7.2.0_OSE/
lrwxrwxrwx 1 root root 32 24. Jul 2024 kernel-6.10.0-arch1-2-x86_64 -> 7.0.20_OSE/6.10.0-arch1-2/x86_64/
lrwxrwxrwx 1 root root 32 28. Sep 2024 kernel-6.10.10-arch1-1-x86_64 -> 7.1.2_OSE/6.10.10-arch1-1/x86_64/
lrwxrwxrwx 1 root root 32 27. Jul 2024 kernel-6.10.1-arch1-1-x86_64 -> 7.0.20_OSE/6.10.1-arch1-1/x86_64/
lrwxrwxrwx 1 root root 32 2. Aug 2024 kernel-6.10.2-arch1-1-x86_64 -> 7.0.20_OSE/6.10.2-arch1-1/x86_64/
lrwxrwxrwx 1 root root 32 4. Aug 2024 kernel-6.10.2-arch1-2-x86_64 -> 7.0.20_OSE/6.10.2-arch1-2/x86_64/
lrwxrwxrwx 1 root root 32 8. Aug 2024 kernel-6.10.3-arch1-2-x86_64 -> 7.0.20_OSE/6.10.3-arch1-2/x86_64/
lrwxrwxrwx 1 root root 32 14. Aug 2024 kernel-6.10.4-arch2-1-x86_64 -> 7.0.20_OSE/6.10.4-arch2-1/x86_64/
lrwxrwxrwx 1 root root 32 19. Aug 2024 kernel-6.10.5-arch1-1-x86_64 -> 7.0.20_OSE/6.10.5-arch1-1/x86_64/
lrwxrwxrwx 1 root root 32 21. Aug 2024 kernel-6.10.6-arch1-1-x86_64 -> 7.0.20_OSE/6.10.6-arch1-1/x86_64/
lrwxrwxrwx 1 root root 32 2. Sep 2024 kernel-6.10.7-arch1-1-x86_64 -> 7.0.20_OSE/6.10.7-arch1-1/x86_64/
lrwxrwxrwx 1 root root 32 5. Sep 2024 kernel-6.10.8-arch1-1-x86_64 -> 7.0.20_OSE/6.10.8-arch1-1/x86_64/
lrwxrwxrwx 1 root root 32 10. Sep 2024 kernel-6.10.9-arch1-1-x86_64 -> 7.0.20_OSE/6.10.9-arch1-1/x86_64/
lrwxrwxrwx 1 root root 32 12. Sep 2024 kernel-6.10.9-arch1-2-x86_64 -> 7.0.20_OSE/6.10.9-arch1-2/x86_64/
lrwxrwxrwx 1 root root 31 1. Okt 2024 kernel-6.11.1-arch1-1-x86_64 -> 7.1.2_OSE/6.11.1-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 6. Okt 2024 kernel-6.11.2-arch1-1-x86_64 -> 7.1.2_OSE/6.11.2-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 16. Okt 2024 kernel-6.11.3-arch1-1-x86_64 -> 7.1.4_OSE/6.11.3-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 21. Okt 2024 kernel-6.11.4-arch1-1-x86_64 -> 7.1.4_OSE/6.11.4-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 23. Okt 2024 kernel-6.11.5-arch1-1-x86_64 -> 7.1.4_OSE/6.11.5-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 9. Nov 2024 kernel-6.11.6-arch1-1-x86_64 -> 7.1.4_OSE/6.11.6-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 14. Nov 2024 kernel-6.11.7-arch1-1-x86_64 -> 7.1.4_OSE/6.11.7-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 17. Nov 2024 kernel-6.11.8-arch1-2-x86_64 -> 7.1.4_OSE/6.11.8-arch1-2/x86_64/
lrwxrwxrwx 1 root root 31 19. Nov 2024 kernel-6.11.9-arch1-1-x86_64 -> 7.1.4_OSE/6.11.9-arch1-1/x86_64/
lrwxrwxrwx 1 root root 30 5. Sep 14:30 kernel-6.12.45-1-lts-x86_64 -> 7.2.0_OSE/6.12.45-1-lts/x86_64/
lrwxrwxrwx 1 root root 31 6. Sep 11:19 kernel-6.16.5-arch1-1-x86_64 -> 7.2.0_OSE/6.16.5-arch1-1/x86_64/
lrwxrwxrwx 1 root root 30 9. Jan 2024 kernel-6.1.71-1-lts-x86_64 -> 7.0.12_OSE/6.1.71-1-lts/x86_64/
lrwxrwxrwx 1 root root 31 10. Sep 2023 kernel-6.5.2-arch1-1-x86_64 -> 7.0.10_OSE/6.5.2-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 13. Sep 2023 kernel-6.5.3-arch1-1-x86_64 -> 7.0.10_OSE/6.5.3-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 22. Sep 2023 kernel-6.5.4-arch2-1-x86_64 -> 7.0.10_OSE/6.5.4-arch2-1/x86_64/
lrwxrwxrwx 1 root root 31 27. Sep 2023 kernel-6.5.5-arch1-1-x86_64 -> 7.0.10_OSE/6.5.5-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 8. Okt 2023 kernel-6.5.6-arch2-1-x86_64 -> 7.0.10_OSE/6.5.6-arch2-1/x86_64/
lrwxrwxrwx 1 root root 31 17. Okt 2023 kernel-6.5.7-arch1-1-x86_64 -> 7.0.12_OSE/6.5.7-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 22. Okt 2023 kernel-6.5.8-arch1-1-x86_64 -> 7.0.12_OSE/6.5.8-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 27. Okt 2023 kernel-6.5.9-arch2-1-x86_64 -> 7.0.12_OSE/6.5.9-arch2-1/x86_64/
lrwxrwxrwx 1 root root 30 9. Jan 2024 kernel-6.6.10-1-lts-x86_64 -> 7.0.12_OSE/6.6.10-1-lts/x86_64/
lrwxrwxrwx 1 root root 32 7. Jan 2024 kernel-6.6.10-arch1-1-x86_64 -> 7.0.12_OSE/6.6.10-arch1-1/x86_64/
lrwxrwxrwx 1 root root 30 11. Jan 2024 kernel-6.6.11-1-lts-x86_64 -> 7.0.12_OSE/6.6.11-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 16. Jan 2024 kernel-6.6.11-2-lts-x86_64 -> 7.0.12_OSE/6.6.11-2-lts/x86_64/
lrwxrwxrwx 1 root root 30 17. Jan 2024 kernel-6.6.12-1-lts-x86_64 -> 7.0.14_OSE/6.6.12-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 25. Jan 2024 kernel-6.6.13-1-lts-x86_64 -> 7.0.14_OSE/6.6.13-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 27. Jan 2024 kernel-6.6.14-1-lts-x86_64 -> 7.0.14_OSE/6.6.14-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 2. Feb 2024 kernel-6.6.15-1-lts-x86_64 -> 7.0.14_OSE/6.6.15-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 4. Feb 2024 kernel-6.6.15-2-lts-x86_64 -> 7.0.14_OSE/6.6.15-2-lts/x86_64/
lrwxrwxrwx 1 root root 30 6. Feb 2024 kernel-6.6.16-1-lts-x86_64 -> 7.0.14_OSE/6.6.16-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 19. Feb 2024 kernel-6.6.17-1-lts-x86_64 -> 7.0.14_OSE/6.6.17-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 23. Feb 2024 kernel-6.6.18-1-lts-x86_64 -> 7.0.14_OSE/6.6.18-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 2. Mär 2024 kernel-6.6.19-1-lts-x86_64 -> 7.0.14_OSE/6.6.19-1-lts/x86_64/
lrwxrwxrwx 1 root root 31 9. Nov 2023 kernel-6.6.1-arch1-1-x86_64 -> 7.0.12_OSE/6.6.1-arch1-1/x86_64/
lrwxrwxrwx 1 root root 30 3. Mär 2024 kernel-6.6.20-1-lts-x86_64 -> 7.0.14_OSE/6.6.20-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 10. Mär 2024 kernel-6.6.21-1-lts-x86_64 -> 7.0.14_OSE/6.6.21-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 16. Mär 2024 kernel-6.6.22-1-lts-x86_64 -> 7.0.14_OSE/6.6.22-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 28. Mär 2024 kernel-6.6.23-1-lts-x86_64 -> 7.0.14_OSE/6.6.23-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 5. Apr 2024 kernel-6.6.24-1-lts-x86_64 -> 7.0.14_OSE/6.6.24-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 6. Apr 2024 kernel-6.6.25-1-lts-x86_64 -> 7.0.14_OSE/6.6.25-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 12. Apr 2024 kernel-6.6.26-1-lts-x86_64 -> 7.0.14_OSE/6.6.26-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 17. Apr 2024 kernel-6.6.27-1-lts-x86_64 -> 7.0.16_OSE/6.6.27-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 19. Apr 2024 kernel-6.6.28-1-lts-x86_64 -> 7.0.16_OSE/6.6.28-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 27. Apr 2024 kernel-6.6.28-2-lts-x86_64 -> 7.0.16_OSE/6.6.28-2-lts/x86_64/
lrwxrwxrwx 1 root root 30 28. Apr 2024 kernel-6.6.29-1-lts-x86_64 -> 7.0.16_OSE/6.6.29-1-lts/x86_64/
lrwxrwxrwx 1 root root 31 21. Nov 2023 kernel-6.6.2-arch1-1-x86_64 -> 7.0.12_OSE/6.6.2-arch1-1/x86_64/
lrwxrwxrwx 1 root root 30 5. Mai 2024 kernel-6.6.30-1-lts-x86_64 -> 7.0.18_OSE/6.6.30-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 10. Mai 2024 kernel-6.6.30-2-lts-x86_64 -> 7.0.18_OSE/6.6.30-2-lts/x86_64/
lrwxrwxrwx 1 root root 30 20. Mai 2024 kernel-6.6.31-1-lts-x86_64 -> 7.0.18_OSE/6.6.31-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 23. Mai 2024 kernel-6.6.31-2-lts-x86_64 -> 7.0.18_OSE/6.6.31-2-lts/x86_64/
lrwxrwxrwx 1 root root 30 27. Mai 2024 kernel-6.6.32-1-lts-x86_64 -> 7.0.18_OSE/6.6.32-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 18. Jun 2024 kernel-6.6.34-1-lts-x86_64 -> 7.0.18_OSE/6.6.34-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 24. Jun 2024 kernel-6.6.35-2-lts-x86_64 -> 7.0.18_OSE/6.6.35-2-lts/x86_64/
lrwxrwxrwx 1 root root 30 29. Jun 2024 kernel-6.6.36-1-lts-x86_64 -> 7.0.18_OSE/6.6.36-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 7. Jul 2024 kernel-6.6.37-1-lts-x86_64 -> 7.0.18_OSE/6.6.37-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 10. Jul 2024 kernel-6.6.38-1-lts-x86_64 -> 7.0.18_OSE/6.6.38-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 14. Jul 2024 kernel-6.6.39-1-lts-x86_64 -> 7.0.18_OSE/6.6.39-1-lts/x86_64/
lrwxrwxrwx 1 root root 31 30. Nov 2023 kernel-6.6.3-arch1-1-x86_64 -> 7.0.12_OSE/6.6.3-arch1-1/x86_64/
lrwxrwxrwx 1 root root 30 17. Jul 2024 kernel-6.6.40-1-lts-x86_64 -> 7.0.20_OSE/6.6.40-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 24. Jul 2024 kernel-6.6.40-2-lts-x86_64 -> 7.0.20_OSE/6.6.40-2-lts/x86_64/
lrwxrwxrwx 1 root root 30 25. Jul 2024 kernel-6.6.41-1-lts-x86_64 -> 7.0.20_OSE/6.6.41-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 27. Jul 2024 kernel-6.6.42-1-lts-x86_64 -> 7.0.20_OSE/6.6.42-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 4. Aug 2024 kernel-6.6.44-2-lts-x86_64 -> 7.0.20_OSE/6.6.44-2-lts/x86_64/
lrwxrwxrwx 1 root root 30 8. Aug 2024 kernel-6.6.44-3-lts-x86_64 -> 7.0.20_OSE/6.6.44-3-lts/x86_64/
lrwxrwxrwx 1 root root 30 14. Aug 2024 kernel-6.6.45-1-lts-x86_64 -> 7.0.20_OSE/6.6.45-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 15. Aug 2024 kernel-6.6.46-1-lts-x86_64 -> 7.0.20_OSE/6.6.46-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 21. Aug 2024 kernel-6.6.47-1-lts-x86_64 -> 7.0.20_OSE/6.6.47-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 2. Sep 2024 kernel-6.6.48-1-lts-x86_64 -> 7.0.20_OSE/6.6.48-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 5. Sep 2024 kernel-6.6.49-1-lts-x86_64 -> 7.0.20_OSE/6.6.49-1-lts/x86_64/
lrwxrwxrwx 1 root root 31 6. Dez 2023 kernel-6.6.4-arch1-1-x86_64 -> 7.0.12_OSE/6.6.4-arch1-1/x86_64/
lrwxrwxrwx 1 root root 30 10. Sep 2024 kernel-6.6.50-1-lts-x86_64 -> 7.0.20_OSE/6.6.50-1-lts/x86_64/
lrwxrwxrwx 1 root root 30 12. Sep 2024 kernel-6.6.50-2-lts-x86_64 -> 7.0.20_OSE/6.6.50-2-lts/x86_64/
lrwxrwxrwx 1 root root 29 28. Sep 2024 kernel-6.6.52-1-lts-x86_64 -> 7.1.2_OSE/6.6.52-1-lts/x86_64/
lrwxrwxrwx 1 root root 29 7. Okt 2024 kernel-6.6.54-1-lts-x86_64 -> 7.1.2_OSE/6.6.54-1-lts/x86_64/
lrwxrwxrwx 1 root root 29 16. Okt 2024 kernel-6.6.56-1-lts-x86_64 -> 7.1.4_OSE/6.6.56-1-lts/x86_64/
lrwxrwxrwx 1 root root 29 21. Okt 2024 kernel-6.6.57-1-lts-x86_64 -> 7.1.4_OSE/6.6.57-1-lts/x86_64/
lrwxrwxrwx 1 root root 29 24. Okt 2024 kernel-6.6.58-1-lts-x86_64 -> 7.1.4_OSE/6.6.58-1-lts/x86_64/
lrwxrwxrwx 1 root root 29 3. Nov 2024 kernel-6.6.59-1-lts-x86_64 -> 7.1.4_OSE/6.6.59-1-lts/x86_64/
lrwxrwxrwx 1 root root 31 10. Dez 2023 kernel-6.6.5-arch1-1-x86_64 -> 7.0.12_OSE/6.6.5-arch1-1/x86_64/
lrwxrwxrwx 1 root root 29 9. Nov 2024 kernel-6.6.60-1-lts-x86_64 -> 7.1.4_OSE/6.6.60-1-lts/x86_64/
lrwxrwxrwx 1 root root 29 15. Nov 2024 kernel-6.6.61-1-lts-x86_64 -> 7.1.4_OSE/6.6.61-1-lts/x86_64/
lrwxrwxrwx 1 root root 29 19. Nov 2024 kernel-6.6.62-1-lts-x86_64 -> 7.1.4_OSE/6.6.62-1-lts/x86_64/
lrwxrwxrwx 1 root root 29 25. Nov 2024 kernel-6.6.63-1-lts-x86_64 -> 7.1.4_OSE/6.6.63-1-lts/x86_64/
lrwxrwxrwx 1 root root 29 12. Dez 2024 kernel-6.6.65-1-lts-x86_64 -> 7.1.4_OSE/6.6.65-1-lts/x86_64/
lrwxrwxrwx 1 root root 29 25. Dez 2024 kernel-6.6.67-1-lts-x86_64 -> 7.1.4_OSE/6.6.67-1-lts/x86_64/
lrwxrwxrwx 1 root root 29 30. Dez 2024 kernel-6.6.68-1-lts-x86_64 -> 7.1.4_OSE/6.6.68-1-lts/x86_64/
lrwxrwxrwx 1 root root 31 13. Dez 2023 kernel-6.6.6-arch1-1-x86_64 -> 7.0.12_OSE/6.6.6-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 15. Dez 2023 kernel-6.6.7-arch1-1-x86_64 -> 7.0.12_OSE/6.6.7-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 25. Dez 2023 kernel-6.6.8-arch1-1-x86_64 -> 7.0.12_OSE/6.6.8-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 3. Jan 2024 kernel-6.6.9-arch1-1-x86_64 -> 7.0.12_OSE/6.6.9-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 29. Mär 2024 kernel-6.8.2-arch2-1-x86_64 -> 7.0.14_OSE/6.8.2-arch2-1/x86_64/
lrwxrwxrwx 1 root root 31 9. Apr 2024 kernel-6.8.4-arch1-1-x86_64 -> 7.0.14_OSE/6.8.4-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 12. Apr 2024 kernel-6.8.5-arch1-1-x86_64 -> 7.0.14_OSE/6.8.5-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 17. Apr 2024 kernel-6.8.6-arch1-1-x86_64 -> 7.0.16_OSE/6.8.6-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 19. Apr 2024 kernel-6.8.7-arch1-1-x86_64 -> 7.0.16_OSE/6.8.7-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 27. Apr 2024 kernel-6.8.7-arch1-2-x86_64 -> 7.0.16_OSE/6.8.7-arch1-2/x86_64/
lrwxrwxrwx 1 root root 31 2. Mai 2024 kernel-6.8.8-arch1-1-x86_64 -> 7.0.16_OSE/6.8.8-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 5. Mai 2024 kernel-6.8.9-arch1-1-x86_64 -> 7.0.18_OSE/6.8.9-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 10. Mai 2024 kernel-6.8.9-arch1-2-x86_64 -> 7.0.18_OSE/6.8.9-arch1-2/x86_64/
lrwxrwxrwx 1 root root 32 20. Jul 2024 kernel-6.9.10-arch1-1-x86_64 -> 7.0.20_OSE/6.9.10-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 20. Mai 2024 kernel-6.9.1-arch1-1-x86_64 -> 7.0.18_OSE/6.9.1-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 23. Mai 2024 kernel-6.9.1-arch1-2-x86_64 -> 7.0.18_OSE/6.9.1-arch1-2/x86_64/
lrwxrwxrwx 1 root root 31 26. Mai 2024 kernel-6.9.2-arch1-1-x86_64 -> 7.0.18_OSE/6.9.2-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 2. Jun 2024 kernel-6.9.3-arch1-1-x86_64 -> 7.0.18_OSE/6.9.3-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 13. Jun 2024 kernel-6.9.4-arch1-1-x86_64 -> 7.0.18_OSE/6.9.4-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 18. Jun 2024 kernel-6.9.5-arch1-1-x86_64 -> 7.0.18_OSE/6.9.5-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 23. Jun 2024 kernel-6.9.6-arch1-1-x86_64 -> 7.0.18_OSE/6.9.6-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 29. Jun 2024 kernel-6.9.7-arch1-1-x86_64 -> 7.0.18_OSE/6.9.7-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 8. Jul 2024 kernel-6.9.8-arch1-1-x86_64 -> 7.0.18_OSE/6.9.8-arch1-1/x86_64/
lrwxrwxrwx 1 root root 31 17. Jul 2024 kernel-6.9.9-arch1-1-x86_64 -> 7.0.20_OSE/6.9.9-arch1-1/x86_64/
And continues here:
ll /var/lib/dkms/zfs
total 8,0K
drwxr-xr-x 1 root root 60 13. Dez 2024 2.2.6/
lrwxrwxrwx 1 root root 25 23. Nov 2024 kernel-6.6.62-1-lts-x86_64 -> 2.2.6/6.6.62-1-lts/x86_64/
lrwxrwxrwx 1 root root 25 25. Nov 2024 kernel-6.6.63-1-lts-x86_64 -> 2.2.6/6.6.63-1-lts/x86_64/
And these are just the tips of the iceberg, I came down to this:
pacman -Qo /var/lib/dkms/vboxhost/7.0.10_OSE/6.5.2-arch1-1/x86_64/module/vboxdrv.ko.zst
error: No package owns /var/lib/dkms/vboxhost/7.0.10_OSE/6.5.2-arch1-1/x86_64/module/vboxdrv.ko.zst
Do I really have to do this by hand for every folder, subfolder, link and so on? This really is a choire…
dalto
September 7, 2025, 6:27pm
5
You could use find -exec but, honestly, if you don’t have virtualbox or zfs installed anymore, there should be no harm in removing the entire directories.
dalto:
You could use find -exec but, honestly, if you don’t have virtualbox or zfs installed anymore, there should be no harm in removing the entire directories.
Just because I am a coward:
You are speaking of
rm -rF /var/lib/dkms/zfs/ & rm -rF /var/lib/dkms/vboxhost/
?