FS#76295 - [dkms] /usr/lib/modules/$kver/updates/dkms should be removed when uninstalling kernels

Attached to Project: Arch Linux
Opened by Mike Yuan (YHNdnzj) - Wednesday, 26 October 2022, 07:45 GMT
Last edited by Sébastien Luttringer (seblu) - Sunday, 06 November 2022, 09:25 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

dkms now installs all extra modules to /usr/lib/modules/$kver/updates/dkms. When updating/removing kernels, although the modules are properly removed, the empty directory stays there, leaving garbages in /usr/lib/modules/. I think the directory should be removed by our pacman hook as well.

Additional info:
* package version(s): 3.0.7

Steps to reproduce:

1. Install a kernel and dkms modules
2. Remove the kernel
3. ls /usr/lib/modules (the module dir for the uninstalled kernel remains, with only updates/dkms inside)
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Sunday, 06 November 2022, 09:25 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.0.8
Comment by freswa (frederik) - Thursday, 03 November 2022, 20:29 GMT
Upstream issue. Will be fixed with https://github.com/dell/dkms/pull/277

Loading...