Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#77154 - [dkms] uninstall/remove doesn’t remove module
Attached to Project:
Arch Linux
Opened by Norbert Pfeiler (npfeiler) - Monday, 16 January 2023, 11:04 GMT
Last edited by freswa (frederik) - Thursday, 19 January 2023, 14:14 GMT
Opened by Norbert Pfeiler (npfeiler) - Monday, 16 January 2023, 11:04 GMT
Last edited by freswa (frederik) - Thursday, 19 January 2023, 14:14 GMT
|
DetailsDescription:
/updates/dkms/wl.ko.zst remains in the modules directory Additional info: * package version(s) 6.30.223.271-36 * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: sudo dkms remove broadcom-wl/6.30.223.271 --all ll /usr/lib/modules/*/updates/dkms/wl.ko.zst |
This task depends upon
Closed by freswa (frederik)
Thursday, 19 January 2023, 14:14 GMT
Reason for closing: Fixed
Additional comments about closing: dkms-3.0.10-1
Thursday, 19 January 2023, 14:14 GMT
Reason for closing: Fixed
Additional comments about closing: dkms-3.0.10-1
Related:
FS#76295broadcom-wl-dkms is the only one where this appears for me
seems like it looks in the wrong directory:
Module vboxhost-7.0.6_OSE for kernel 6.1.6-arch1-3 (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.
vboxdrv.ko.zst:
- Uninstallation
- Deleting from: /usr/lib/modules/6.1.6-arch1-3/updates/dkms/
vs
Module broadcom-wl-6.30.223.271 for kernel 6.1.6-arch1-3 (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.
wl.ko.zst:
- Uninstallation
- Module was not found within /usr/lib/modules/6.1.6-arch1-3/
[0] https://github.com/dell/dkms/commit/f4c319344d62ff46a15b1e81c4b3feee347956b0
It throws an error for some modules and since we use the output of dkms in our hooks, this could be the culprit.
Sign command: /usr/lib/modules/5.15.89-1-lts/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Creating symlink /var/lib/dkms/xpad/0.4/source -> /usr/src/xpad-0.4
Building module:
Cleaning build area...
make -j8 KERNELRELEASE=5.15.89-1-lts KVERSION=5.15.89-1-lts...
Signing module /var/lib/dkms/xpad/0.4/build/xpad.ko
Cleaning build area...
xpad.ko.zst:
Running module version sanity check.
Module version for xpad.ko.zst
exactly matches what is already found in kernel 5.15.89-1-lts.
DKMS will not replace this module.
You may override by specifying --force.
Error! Installation aborted.
I ran the command below and dkms performed the installation without any problems.
sudo dkms install -m xpad -v 0.4 --force
In previous versions of dkms I didn't have this problem on kernel upgrade.