Closed issue by tdm4 on void-packages repository https://github.com/void-linux/void-packages/issues/39066 Description: ### Is this a new report? Yes ### System Info Void 5.18.19_1 x86_64 GenuineIntel notuptodate rFFFF ### Package(s) Affected dkms-3.0.6_1 ### Does a report exist for this bug with the project's home (upstream) and/or another distro? _No response_ ### Expected behaviour When dkms is installed fresh with version 3.0.6_1 it's supposed to create a /var/lib/dkms directory which is required for building DKMS modules. ### Actual behaviour /var/lib/dkms is not created when package is installed fresh. See this pull request: https://github.com/void-linux/void-packages/commit/efe694ed366e77a281c6e4745bc7e14ff686af3b srcpkgs/dkms/template line 28: - vinstall dkms_dbversion 644 var/lib/dkms (Line is removed -- this breaks a fresh install because it never creates /var/lib/dkms) ### Steps to reproduce 1. Fresh install of Void Linux 2. Install dkms 3. Try installing any -dkms package 4. DKMS fails to create the module