You are not logged in.

#1 2022-07-02 17:38:55

tomax
Member
Registered: 2022-07-02
Posts: 9

[solved] Dkms install every kernel update

Hello, I'm a newbie of Arch. I have a problem: every time I update the kernel via pacman , the system tries to install via dkms all the drivers I tried to install some days ago for a wifi dongle, but I removed those drivers , I tried dkms remove and also dkms uninstall, I check dkms status and there's no output, so no drivers in the dkms tree. I update the kernel and again it tries to build all the drivers I removed previously. How do I get rid of them definitely?

Thanks

Last edited by tomax (2022-07-03 09:17:07)

Offline

#2 2022-07-02 17:41:38

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

Re: [solved] Dkms install every kernel update

How did you install those drivers?

Offline

#3 2022-07-02 18:32:47

tomax
Member
Registered: 2022-07-02
Posts: 9

Re: [solved] Dkms install every kernel update

Scimmia wrote:

How did you install those drivers?

Hi , I installed them in various ways tongue

Some with dkms install and some others with make and make install

Offline

#4 2022-07-02 19:05:44

loqs
Member
Registered: 2014-03-06
Posts: 18,967

Re: [solved] Dkms install every kernel update

What is the output of

# dkms status
pacman -Qo /usr/src/
find /usr/src/ -maxdepth 1 -type d

Last edited by loqs (2022-07-02 19:09:36)

Offline

#5 2022-07-03 08:02:52

tomax
Member
Registered: 2022-07-02
Posts: 9

Re: [solved] Dkms install every kernel update

loqs wrote:

What is the output of

# dkms status
pacman -Qo /usr/src/
find /usr/src/ -maxdepth 1 -type d
[tommy@arch ~]$ sudo dkms status
[sudo] password di tommy: 
[tommy@arch ~]$ 
[tommy@arch ~]$ pacman -Qo /usr/src/~
errore: Nessun pacchetto contiene /usr/src/~
[tommy@arch ~]$ 
[tommy@arch ~]$ find /usr/src/ -maxdepth 1 -type d
/usr/src/
/usr/src/rtl8188gu-r14.23b04ff
/usr/src/rtl8821cu-5.12.0
/usr/src/rtl8821cu-5.4.11458c2226a
/usr/src/rtl8821CU-5.4.1
[tommy@arch ~]$ 

Here they are!

Offline

#6 2022-07-03 08:19:19

loqs
Member
Registered: 2014-03-06
Posts: 18,967

Re: [solved] Dkms install every kernel update

Those would be the directories to remove (leaving /usr/src/ empty)

/usr/src/rtl8188gu-r14.23b04ff
/usr/src/rtl8821cu-5.12.0
/usr/src/rtl8821cu-5.4.11458c2226a
/usr/src/rtl8821CU-5.4.1

You could also remove the dkms package if you are not using it.

Offline

#7 2022-07-03 08:48:39

tomax
Member
Registered: 2022-07-02
Posts: 9

Re: [solved] Dkms install every kernel update

loqs wrote:

Those would be the directories to remove (leaving /usr/src/ empty)

/usr/src/rtl8188gu-r14.23b04ff
/usr/src/rtl8821cu-5.12.0
/usr/src/rtl8821cu-5.4.11458c2226a
/usr/src/rtl8821CU-5.4.1

You could also remove the dkms package if you are not using it.

Ok thanks, I delete those directories and see if everything is ok at kernel update. I already did dkms remove for every driver

Last edited by tomax (2022-07-03 08:49:14)

Offline

#8 2022-07-03 09:15:55

tomax
Member
Registered: 2022-07-02
Posts: 9

Re: [solved] Dkms install every kernel update

loqs wrote:

Those would be the directories to remove (leaving /usr/src/ empty)

/usr/src/rtl8188gu-r14.23b04ff
/usr/src/rtl8821cu-5.12.0
/usr/src/rtl8821cu-5.4.11458c2226a
/usr/src/rtl8821CU-5.4.1

You could also remove the dkms package if you are not using it.

I tried installing a new kernel and now I don't have the drivers problem anymore, thanks for the answer !

Offline

Board footer

Powered by FluxBB