[arch-general] dkms (2.8.5-1 -> 2.8.6-1) now old directories left under /var/lib/dkms/vboxhost/?
All, After upgrade of dkms (2.8.5-1 -> 2.8.6-1), it failed to erase the old directory entries each time a new module was built. In my case with virtualbox, I ended up with: drwxr-xr-x 4 root root 4096 Sep 3 16:00 6.1.24_non_OSE drwxr-xr-x 6 root root 4096 Sep 10 10:42 6.1.26_non_OSE drwxr-xr-x 4 root root 4096 Sep 11 02:29 6.1.27_non_OSE The old entries would cause dkms status to fail with: Error! Could not locate dkms.conf file. File: /var/lib/dkms/vboxhost/6.1.24_non_OSE/source/dkms.conf does not exist. I had to manually remove the 6.1.24_non_OSE and 6.1.26_non_OSE. What happened and what should I check to fix this? -- David C. Rankin, J.D.,P.E.
On Sat, 2021-09-11 at 04:26 -0500, David C. Rankin:
After upgrade of dkms (2.8.5-1 -> 2.8.6-1), it failed to erase the old directory entries each time a new module was built.
Hi, indeed kernel-5.13.13-arch1-1-x86_64 vs kernel-5.14.2-arch1-2-x86_64 on my install. I'm using virtualbox-bin from AUR. [rocketmouse@archlinux ~]$ /bin/ls -l /var/lib/dkms/vboxhost/ total 4 drwxr-xr-x 8 root root 4096 Sep 10 07:59 6.1.26_non_OSE lrwxrwxrwx 1 root root 53 Jul 29 18:24 kernel-4.19.185-rt76-0.300-securityink-x86_64 -> 6.1.26_non_OSE/4.19.185-rt76-0.300-securityink/x86_64 lrwxrwxrwx 1 root root 52 Jul 29 18:24 kernel-4.19.190-rt79-0.300-cornflower-x86_64 -> 6.1.26_non_OSE/4.19.190-rt79-0.300-cornflower/x86_64 lrwxrwxrwx 1 root root 42 Jul 29 18:23 kernel-4.19.191-rt80-0.1000-x86_64 -> 6.1.26_non_OSE/4.19.191-rt80-0.1000/x86_64 lrwxrwxrwx 1 root root 51 Jul 29 18:23 kernel-4.19.193-rt81-0.300-pussytoes-x86_64 -> 6.1.26_non_OSE/4.19.193-rt81-0.300-pussytoes/x86_64 lrwxrwxrwx 1 root root 37 Aug 28 17:17 kernel-5.13.13-arch1-1-x86_64 -> 6.1.26_non_OSE/5.13.13-arch1-1/x86_64 lrwxrwxrwx 1 root root 36 Sep 10 07:59 kernel-5.14.2-arch1-2-x86_64 -> 6.1.26_non_OSE/5.14.2-arch1-2/x86_64 [rocketmouse@archlinux ~]$ grep -evirtualbox-bin\ \( -edkms /var/log/pacman.log | grep upgrade | tail -8 [2020-12-17T08:11:14+0100] [ALPM] upgraded virtualbox-bin (6.1.16-1 -> 6.1.16-2) [2021-01-23T08:56:58+0100] [ALPM] upgraded virtualbox-bin (6.1.16-2 -> 6.1.18-1) [2021-04-22T06:40:41+0200] [ALPM] upgraded virtualbox-bin (6.1.18-1 -> 6.1.20-1) [2021-05-01T21:44:16+0200] [ALPM] upgraded virtualbox-bin (6.1.20-1 -> 6.1.22-1) [2021-07-21T01:05:41+0200] [ALPM] upgraded virtualbox-bin (6.1.22-1 -> 6.1.24-1) [2021-07-29T18:22:06+0200] [ALPM] upgraded virtualbox-bin (6.1.24-1 -> 6.1.26-1) [2021-08-31T07:55:48+0200] [ALPM] upgraded dkms (2.8.4-1 -> 2.8.5-1) [2021-09-05T21:31:21+0200] [ALPM] upgraded dkms (2.8.5-1 -> 2.8.6-1) However, see https://bugs.archlinux.org/task/72046?string=dkms&project=0&search_name=&type%5B0%5D=&sev%5B0%5D=&pri%5B0%5D=&due%5B0%5D=&reported%5B0%5D=&cat%5B0%5D=&status%5B0%5D=open&percent%5B0%5D=&opened=&dev=&closed=&duedatefrom=&duedateto=&changedfrom=&changedto=&openedfrom=&openedto=&closedfrom=&closedto= Regards, Ralf
participants (2)
-
David C. Rankin
-
Ralf Mardorf