Arch Linux

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!
Tasklist

FS#80162 - Make nvidia-dkms depend on linux-headers

Attached to Project: Arch Linux
Opened by Tin Å vagelj (caellian) - Saturday, 04 November 2023, 18:03 GMT
Last edited by Toolybird (Toolybird) - Saturday, 04 November 2023, 19:48 GMT
Task Type General Gripe
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
nvidia-dkms can't build DKMS modules when linux-headers are missing. This produces a list of error messages (though the package is installed) during Install DKMS modules:
==> ERROR: Missing lost+found kernel headers for module nvidia/545.29.02.

This can lead to users claiming they have nvidia-dkms installed but make it harder for others to troubleshoot the issue.
It's also inconvenient that pacman doesn't install linux-headers when a package needs it to successfully install.

Installing linux-headers after nvidia-dkms generates nvidia dkms modules, but a state where nvidia-dkms installed without linux-headers should be unreachable IMO.

Additional info:
* nvidia-dkms 545.29.02-2

Steps to reproduce:
- Uninstall linux-headers
- Install nvidia-dkms
This task depends upon

Closed by  Toolybird (Toolybird)
Saturday, 04 November 2023, 19:48 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#78147 
Comment by Mark Wagie (yochananmarqos) - Saturday, 04 November 2023, 19:00 GMT
This has be discussed before. linux-headers are already optional for dkms.

Loading...