You are not logged in.

#1 2025-04-05 16:00:59

Quriosity
Member
Registered: 2025-04-05
Posts: 5

can't insatll modules through dkms

when I run

sudo dkms install --no-depmod v4l2loopback/0.14.0 -k 6.13.8-arch1-1

I get only errors

Sign command: /usr/lib/modules/6.13.8-arch1-1/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

dkms.conf: Error! No 'PACKAGE_NAME' directive specified.
dkms.conf: Error! No 'PACKAGE_VERSION' directive specified.
dkms.conf: Warning! Zero modules specified.

Error! Bad conf file.
File: /usr/src/v4l2loopback-0.14.0/dkms.conf does not represent a valid dkms.conf file.

how can I fix this?

EDIT: also it threw some errors, when I installed linux-headers

(3/3) Install DKMS modules
==> dkms install --no-depmod v4l2loopback/0.14.0 -k 6.13.8-arch1-1
dkms.conf: Error! No 'PACKAGE_NAME' directive specified.
dkms.conf: Error! No 'PACKAGE_VERSION' directive specified.
dkms.conf: Warning! Zero modules specified.

Error! Bad conf file.
File: /usr/src/v4l2loopback-0.14.0/dkms.conf does not represent a valid dkms.conf file.
==> WARNING: `dkms install --no-depmod v4l2loopback/0.14.0 -k 6.13.8-arch1-1' exited 8

Last edited by Quriosity (2025-04-05 16:02:13)

Offline

#2 2025-04-05 16:04:06

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,725

Re: can't insatll modules through dkms

It specifically says that file is bad, what's in it?

Offline

#3 2025-04-05 16:06:26

Quriosity
Member
Registered: 2025-04-05
Posts: 5

Re: can't insatll modules through dkms

Scimmia wrote:

It specifically says that file is bad, what's in it?

it's empty

Offline

#4 2025-04-05 16:07:38

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,725

Re: can't insatll modules through dkms

That's obviously no good. Reinstall the package that includes that file.

Offline

#5 2025-04-05 16:19:22

Quriosity
Member
Registered: 2025-04-05
Posts: 5

Re: can't insatll modules through dkms

Scimmia wrote:

That's obviously no good. Reinstall the package that includes that file.

it's v4l2loopback-dkms. And I can't delete it.

Error! The module/version combo: v4l2loopback/0.14.0 is not located in the DKMS tree.

there I tried to remove it with dkms remove

error: target not found: v4l2loopback-dkms

and there I tried removing through pacman

Offline

#6 2025-04-05 16:21:47

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,725

Re: can't insatll modules through dkms

How did you install this?

Offline

#7 2025-04-05 16:23:04

Quriosity
Member
Registered: 2025-04-05
Posts: 5

Re: can't insatll modules through dkms

Scimmia wrote:

How did you install this?

both (dkms and v4l2loopback-dkms) was installed through pacman

Offline

#8 2025-04-05 16:26:26

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,725

Re: can't insatll modules through dkms

And pacman.log shows v4l2loopback-dkms was installed? Between it not being in the database and that empty file, something went very wrong. You'll need to reinstall it, likely with https://wiki.archlinux.org/title/Pacman … )%22_error

Offline

#9 2025-04-05 16:34:01

Quriosity
Member
Registered: 2025-04-05
Posts: 5

Re: can't insatll modules through dkms

[2025-04-05T18:43:27+0300] [PACMAN] Running 'pacman -S dkms'
[2025-04-05T18:43:30+0300] [ALPM] transaction started
[2025-04-05T18:43:30+0300] [ALPM] reinstalled dkms (3.1.6-1)
[2025-04-05T18:43:31+0300] [ALPM] transaction completed
[2025-04-05T18:43:31+0300] [ALPM] running '30-systemd-update.hook'...
[2025-04-05T18:43:35+0300] [PACMAN] Running 'pacman -S linux-headers'
[2025-04-05T18:43:37+0300] [ALPM] running '70-dkms-upgrade.hook'...
[2025-04-05T18:43:37+0300] [ALPM] transaction started
[2025-04-05T18:43:38+0300] [ALPM] reinstalled linux-headers (6.13.8.arch1-1)
[2025-04-05T18:43:39+0300] [ALPM] transaction completed
[2025-04-05T18:43:39+0300] [ALPM] running '30-systemd-update.hook'...
[2025-04-05T18:43:39+0300] [ALPM] running '60-depmod.hook'...
[2025-04-05T18:43:42+0300] [ALPM] running '70-dkms-install.hook'...
[2025-04-05T18:43:42+0300] [ALPM-SCRIPTLET] ==> dkms install --no-depmod v4l2loopback/0.14.0 -k 6.13.8-arch1-1
[2025-04-05T18:43:42+0300] [ALPM-SCRIPTLET] dkms.conf: Error! No 'PACKAGE_NAME' directive specified.
[2025-04-05T18:43:42+0300] [ALPM-SCRIPTLET] dkms.conf: Error! No 'PACKAGE_VERSION' directive specified.
[2025-04-05T18:43:42+0300] [ALPM-SCRIPTLET] dkms.conf: Warning! Zero modules specified.
[2025-04-05T18:43:42+0300] [ALPM-SCRIPTLET] 
[2025-04-05T18:43:42+0300] [ALPM-SCRIPTLET] Error! Bad conf file.
[2025-04-05T18:43:42+0300] [ALPM-SCRIPTLET] File: /usr/src/v4l2loopback-0.14.0/dkms.conf does not represent a valid dkms.conf file.
[2025-04-05T18:43:42+0300] [ALPM-SCRIPTLET] ==> WARNING: `dkms install --no-depmod v4l2loopback/0.14.0 -k 6.13.8-arch1-1' exited 8
[2025-04-05T18:44:32+0300] [PACMAN] Running 'pacman -S tbs-linux_media-git-dkms'
[2025-04-05T19:01:48+0300] [PACMAN] Running 'pacman -S linux-headers'
[2025-04-05T19:01:49+0300] [ALPM] running '70-dkms-upgrade.hook'...
[2025-04-05T19:01:49+0300] [ALPM] transaction started
[2025-04-05T19:01:51+0300] [ALPM] reinstalled linux-headers (6.13.8.arch1-1)
[2025-04-05T19:01:51+0300] [ALPM] transaction completed
[2025-04-05T19:01:51+0300] [ALPM] running '30-systemd-update.hook'...
[2025-04-05T19:01:51+0300] [ALPM] running '60-depmod.hook'...
[2025-04-05T19:01:53+0300] [ALPM] running '70-dkms-install.hook'...
[2025-04-05T19:01:53+0300] [ALPM-SCRIPTLET] ==> dkms install --no-depmod v4l2loopback/0.14.0 -k 6.13.8-arch1-1
[2025-04-05T19:01:53+0300] [ALPM-SCRIPTLET] dkms.conf: Error! No 'PACKAGE_NAME' directive specified.
[2025-04-05T19:01:53+0300] [ALPM-SCRIPTLET] dkms.conf: Error! No 'PACKAGE_VERSION' directive specified.
[2025-04-05T19:01:53+0300] [ALPM-SCRIPTLET] dkms.conf: Warning! Zero modules specified.
[2025-04-05T19:01:53+0300] [ALPM-SCRIPTLET] 
[2025-04-05T19:01:53+0300] [ALPM-SCRIPTLET] Error! Bad conf file.
[2025-04-05T19:01:53+0300] [ALPM-SCRIPTLET] File: /usr/src/v4l2loopback-0.14.0/dkms.conf does not represent a valid dkms.conf file.
[2025-04-05T19:01:53+0300] [ALPM-SCRIPTLET] ==> WARNING: `dkms install --no-depmod v4l2loopback/0.14.0 -k 6.13.8-arch1-1' exited 8
[2025-04-05T19:08:41+0300] [PACMAN] Running 'pacman -S v4l2loopback-dkms'
[2025-04-05T19:09:00+0300] [PACMAN] Running 'pacman -R v4l2loopback-dkms'
[2025-04-05T19:09:01+0300] [ALPM] transaction started
[2025-04-05T19:09:01+0300] [ALPM] removed v4l2loopback-dkms (0.14.0-1)
[2025-04-05T19:09:01+0300] [ALPM] transaction completed
[2025-04-05T19:09:04+0300] [PACMAN] Running 'pacman -S v4l2loopback-dkms'
[2025-04-05T19:10:23+0300] [PACMAN] Running 'pacman -S v4l2loopback-dkms'
[2025-04-05T19:10:28+0300] [PACMAN] Running 'pacman -R v4l2loopback-dkms'
[2025-04-05T19:10:30+0300] [PACMAN] Running 'pacman -R v4l2loopback-dkms'
[2025-04-05T19:10:31+0300] [PACMAN] Running 'pacman -R v4l2loopback-dkms'
[2025-04-05T19:10:32+0300] [PACMAN] Running 'pacman -S v4l2loopback-dkms'
[2025-04-05T19:10:50+0300] [PACMAN] Running 'pacman -S v4l2loopback-dkms'
[2025-04-05T19:11:42+0300] [PACMAN] Running 'pacman -R v4l2loopback-dkms'
[2025-04-05T19:11:55+0300] [PACMAN] Running 'pacman -S v4l2loopback-dkms'
[2025-04-05T19:12:05+0300] [PACMAN] Running 'pacman -R v4l2loopback-dkms-0.14.0-1'
[2025-04-05T19:17:05+0300] [PACMAN] Running 'pacman -R v4l2loopback-dkms'

I tried a few times reinstalling it

Offline

#10 2025-04-05 16:37:29

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,725

Re: can't insatll modules through dkms

I never once said to remove it, why do you keep doing that? Just install/reinstall the package.

Offline

Board footer

Powered by FluxBB