FS#72048 - [DKMS] libalpm hook/script fails at removing dkms modules on upgrade

Attached to Project: Arch Linux
Opened by Tamim (shmoo) - Monday, 06 September 2021, 12:33 GMT
Last edited by Antonio Rojas (arojas) - Monday, 06 September 2021, 12:39 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Regression with DKMS 2.8.6

DKMS always fails to remove modules on package upgrade via the libalpm-upgrade hook.
Manually uninstalling with `dkms remove --no-depmod nvidia/470.57.02 --all` works as expected but not when invoked from the alpm hook/script.


(2/3) Remove DKMS modules
==> Unable to remove module nvidia/470.57.02 for kernel 5.10.62-1-lts: Not found in dkms status output.
==> Unable to remove module nvidia/470.57.02 for kernel 5.13.13-arch1-1: Not found in dkms status output.
==> Unable to remove module nvidia/470.57.02 for kernel 5.13.14-1-clear: Not found in dkms status output.

Downgrading DKMS to 2.8.5 fixes the issue

Additional info:
* dkms version: 2.8.6


Steps to reproduce:

1. build and install some dkms module with makepkg
2. reinstall the same package to trigger the dkms hook
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 06 September 2021, 12:39 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#47026 

Loading...