You are not logged in.

#1 2021-03-27 17:16:02

oech3
Member
Registered: 2017-09-03
Posts: 9

[Solved]rmdir: failed to remove '' at Remove DKMS modules

(2/3) Remove DKMS modules
==> dkms remove --no-depmod -m broadcom-wl -v 6.30.223.271 -k 5.11.8-arch1-1
rmdir: failed to remove '': No such file or directory

occurs when updating kernel package.
and unneeded directory remain at /usr/lib/modules/VERSIONOFOLDKERNEL .

It does not happen with ntfs3-dkms in other PC.


Edit:It seems solved by reinstalling every *-dkms package.

Last edited by oech3 (2021-04-13 19:26:26)

Offline

#2 2021-04-13 12:05:07

oech3
Member
Registered: 2017-09-03
Posts: 9

Re: [Solved]rmdir: failed to remove '' at Remove DKMS modules

It occured again.Help.

Offline

#3 2021-04-13 13:41:30

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 825

Re: [Solved]rmdir: failed to remove '' at Remove DKMS modules

Please don't do that. Please read that link on why you may not get responses and what to do about it.

Offline

#4 2021-04-13 17:59:17

Roken
Member
From: UK
Registered: 2012-01-16
Posts: 1,155

Re: [Solved]rmdir: failed to remove '' at Remove DKMS modules

what's the output of

uname -a

[img]https://www.speedtest.net/result/11113231962.png[/img]

Ryzen 1800x 8 core/16 thread - 2 x GTX 1070 8Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

Offline

#5 2021-04-13 18:58:34

oech3
Member
Registered: 2017-09-03
Posts: 9

Re: [Solved]rmdir: failed to remove '' at Remove DKMS modules

sorry for bumping.

I tested downgrading and updating linux and headers between arch1-2 and arch1-1.
It occur only for updating.
kernel ver using to boot is not related.

Offline

#6 2021-04-13 19:25:53

oech3
Member
Registered: 2017-09-03
Posts: 9

Re: [Solved]rmdir: failed to remove '' at Remove DKMS modules

It was caused by my pacman hook which strip ko.
I mark this Solved again.But can't dkms remove stripped ko?

Offline

Board footer

Powered by FluxBB