You are not logged in.

#1 2022-07-19 23:33:09

sak18ra
Member
Registered: 2022-06-13
Posts: 17

[SOLVED]Unknow error type

I got this error when trying to install xpadneo

(1/1) installing xpadneo-dkms-git                  [######################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Install DKMS modules
==> ERROR: Missing var kernel headers for module hid-xpadneo/0.9.r121.g727a84f.
==> ERROR: Missing root kernel headers for module hid-xpadneo/0.9.r121.g727a84f.
==> ERROR: Missing proc kernel headers for module hid-xpadneo/0.9.r121.g727a84f.
==> ERROR: Missing lib64 kernel headers for module hid-xpadneo/0.9.r121.g727a84f.
==> ERROR: Missing dev kernel headers for module hid-xpadneo/0.9.r121.g727a84f.
==> ERROR: Missing bin kernel headers for module hid-xpadneo/0.9.r121.g727a84f.
==> ERROR: Missing home kernel headers for module hid-xpadneo/0.9.r121.g727a84f.
==> ERROR: Missing etc kernel headers for module hid-xpadneo/0.9.r121.g727a84f.
==> ERROR: Missing lib kernel headers for module hid-xpadneo/0.9.r121.g727a84f.
==> ERROR: Missing mnt kernel headers for module hid-xpadneo/0.9.r121.g727a84f.
==> ERROR: Missing media kernel headers for module hid-xpadneo/0.9.r121.g727a84f.
==> ERROR: Missing lost+found kernel headers for module hid-xpadneo/0.9.r121.g727a84f.
==> ERROR: Missing sys kernel headers for module hid-xpadneo/0.9.r121.g727a84f.
==> ERROR: Missing srv kernel headers for module hid-xpadneo/0.9.r121.g727a84f.
==> ERROR: Missing opt kernel headers for module hid-xpadneo/0.9.r121.g727a84f.
==> ERROR: Missing repo kernel headers for module hid-xpadneo/0.9.r121.g727a84f.
==> ERROR: Missing tmp kernel headers for module hid-xpadneo/0.9.r121.g727a84f.
==> ERROR: Missing sbin kernel headers for module hid-xpadneo/0.9.r121.g727a84f.
==> ERROR: Missing usr kernel headers for module hid-xpadneo/0.9.r121.g727a84f.
==> ERROR: Missing boot kernel headers for module hid-xpadneo/0.9.r121.g727a84f.
==> ERROR: Missing run kernel headers for module hid-xpadneo/0.9.r121.g727a84f.

Any help?

Last edited by sak18ra (2022-07-20 15:53:45)

Offline

#2 2022-07-19 23:52:30

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,480
Website

Re: [SOLVED]Unknow error type

I can confirm the error and I gather there is a typo in the dkms-relevant file(s) that includes a glob.  This suspicion is supported by your list of errors being ever so slightly different from mine and can be confirmed when you confirm that you do in fact have a file or directory at the root of your system called /repo.

I'm not familiar enough with dkms to know where this error would be, but it's an issue with the package that should be reported to the maintainer.

That said, I suspect /usr/src/hid-xpadneo-0.9.r121.g727a84f/Makefile as there are very clear and obvious errors in that Makefile which make it almost complete and utter gibberish - that *will* fail in pretty spectacular ways.  I can't follow the exact steps from that makefile to the present error, but I'd be surprised if that file is not the problem.  I father that Makefile was something that upstream uses locally for some preparation of the distributed content and it was included by accident in place of the proper dkms Makefile.

EDIT: Hmm, it seems that Makefile's problems make actually be a coincidence (though they themselves would be crippling to this package).  I get the same list of errors with other dkms packages ... so I gather some configuration of dkms might be required (I've only installed dkms for testing this package).

EDIT 2: Yup, apparently this is the error one gets when they install a dkms package without having the kernel headers installed.  Follow the wiki page for dkms and this problem will be solved.  I'd also consider a feature request to the dkms package to give a useful error message in such conditions as this is pretty horrible error checking.

Last edited by Trilby (2022-07-20 00:00:35)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2022-07-20 00:26:43

sak18ra
Member
Registered: 2022-06-13
Posts: 17

Re: [SOLVED]Unknow error type

Now I have this error

(1/3) Reloading device manager configuration...
(2/3) Arming ConditionNeedsUpdate...
(3/3) Install DKMS modules
==> ERROR: Missing 5.18.12-arch1-1 kernel modules tree for module hid-xpadneo/0.9.4.

Offline

#4 2022-07-20 00:37:13

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,480
Website

Re: [SOLVED]Unknow error type

What's the output of `pacman -Q linux linux-headers`?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2022-07-20 00:44:59

sak18ra
Member
Registered: 2022-06-13
Posts: 17

Re: [SOLVED]Unknow error type

Trilby wrote:

What's the output of `pacman -Q linux linux-headers`?


linux 5.18.9.arch1-1
linux-headers 5.18.12.arch1-1

Is my linux supose to be 5.18.12.arch1-1 ?!

Last edited by sak18ra (2022-07-20 00:53:08)

Offline

#6 2022-07-20 00:52:07

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,480
Website

Re: [SOLVED]Unknow error type


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2022-07-20 01:49:37

sak18ra
Member
Registered: 2022-06-13
Posts: 17

Re: [SOLVED]Unknow error type

Offline

Board footer

Powered by FluxBB