Sometime ago I thought I needed kmod-wl to support a new wireless card. Turns out I didn't need to do that. Now I'd like to remove kmod entirely. But when I try I get this:
[root@ws1 etc]# dnf remove kmod Error: Problem: The operation would result in removing the following protected packages: systemd-udev (try to add '--skip-broken' to skip uninstallable packages)
I am sure I don't want to remove systemd-udev, so I am a loss.
I did disable akmods:
systemctl disable akmods
But I still see that kmod-wl is built each time the kernal is updated.
Any suggestions where I can find out how to remove kmod.
Note that searching the internet only brings me info on removing kmod-nvidia, and mostly on ubuntu, and they are no help because mostly what they discuss is how get back to neuveau.
Even docs I've found that discuss how to install kmod on CentOS say nothing about removal.
Emmett
On 29/05/2021 15:52, Emmett Culley via CentOS wrote:
Sometime ago I thought I needed kmod-wl to support a new wireless card. Turns out I didn't need to do that. Now I'd like to remove kmod entirely. But when I try I get this:
[root@ws1 etc]# dnf remove kmod Error: Problem: The operation would result in removing the following protected packages: systemd-udev (try to add '--skip-broken' to skip uninstallable packages)
I am sure I don't want to remove systemd-udev, so I am a loss.
I did disable akmods:
systemctl disable akmods
But I still see that kmod-wl is built each time the kernal is updated.
Any suggestions where I can find out how to remove kmod.
Note that searching the internet only brings me info on removing kmod-nvidia, and mostly on ubuntu, and they are no help because mostly what they discuss is how get back to neuveau.
Even docs I've found that discuss how to install kmod on CentOS say nothing about removal.
Emmett
Try:
dnf remove kmod-wl
which should do it for you.
the 'kmod' package is the package that provides the underlying kmod architecture. The kmod package providing the individual driver is (probably) called kmod-wl.
Hope that helps.
On 5/29/21 8:06 AM, Phil Perry wrote:
On 29/05/2021 15:52, Emmett Culley via CentOS wrote:
Sometime ago I thought I needed kmod-wl to support a new wireless card. Turns out I didn't need to do that. Now I'd like to remove kmod entirely. But when I try I get this:
[root@ws1 etc]# dnf remove kmod Error: Problem: The operation would result in removing the following protected packages: systemd-udev (try to add '--skip-broken' to skip uninstallable packages)
I am sure I don't want to remove systemd-udev, so I am a loss.
I did disable akmods:
systemctl disable akmods
But I still see that kmod-wl is built each time the kernal is updated.
Any suggestions where I can find out how to remove kmod.
Note that searching the internet only brings me info on removing kmod-nvidia, and mostly on ubuntu, and they are no help because mostly what they discuss is how get back to neuveau.
Even docs I've found that discuss how to install kmod on CentOS say nothing about removal.
Emmett
Try:
dnf remove kmod-wl
which should do it for you.
the 'kmod' package is the package that provides the underlying kmod architecture. The kmod package providing the individual driver is (probably) called kmod-wl.
Hope that helps.
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
I tried that before:
[root@ws1 etc]# dnf remove kmod-wl No match for argument: kmod-wl No packages marked for removal. Dependencies resolved. Nothing to do. Complete!
Seem there is no such package. I believe because it get built newly each time a new kernel is installed.
Emmett
On Sat, 29 May 2021 09:19:03 -0700 Emmett Culley via CentOS wrote:
Seem there is no such package. I believe because it get built newly each time a new kernel is installed.
What did you do (exactly) when you installed kmod-wl in the first place? Did the rpm have a name? What was that name?
If you're not sure, the what is the output from:
rpm -qa | grep kmod
On 5/29/21 9:29 AM, Frank Cox wrote:
On Sat, 29 May 2021 09:19:03 -0700 Emmett Culley via CentOS wrote:
Seem there is no such package. I believe because it get built newly each time a new kernel is installed.
What did you do (exactly) when you installed kmod-wl in the first place? Did the rpm have a name? What was that name?
If you're not sure, the what is the output from:
rpm -qa | grep kmod
[root@ws1 etc]# rpm -qa | grep kmod kmod-27-3.fc33.x86_64 akmods-0.5.6-26.fc33.noarch kmod-libs-27-3.fc33.x86_64 kmodtool-1-41.fc33.noarch akmod-wl-6.30.223.271-36.fc33.x86_64 kmod-wl-5.11.19-200.fc33.x86_64-6.30.223.271-36.fc33.x86_64 kmod-wl-5.12.5-200.fc33.x86_64-6.30.223.271-36.fc33.x86_64 kmod-wl-5.12.6-200.fc33.x86_64-6.30.223.271-36.fc33.x86_64
I probably did this when installing. It has been a while.
[root@ws1 etc]# dnf install kmod-wl Last metadata expiration check: 1:16:38 ago on Sat 29 May 2021 08:42:33 AM PDT. Dependencies resolved. =================================================================================================================================================================================================================== Package Architecture Version Repository Size =================================================================================================================================================================================================================== Installing: kmod-wl x86_64 6.30.223.271-36.fc33 rpmfusion-nonfree-updates 10 k
Transaction Summary =================================================================================================================================================================================================================== Install 1 Package
I see that it is installing kmod-wl for the last kernel that would be installed if I did an update.
[root@ws1 etc]# dnf update --allowerasing --nobest Last metadata expiration check: 1:21:41 ago on Sat 29 May 2021 08:42:33 AM PDT. Dependencies resolved. =================================================================================================================================================================================================================== Package Architecture Version Repository Size =================================================================================================================================================================================================================== Installing: kernel x86_64 5.12.7-200.fc33 updates 51 k kernel-core x86_64 5.12.7-200.fc33 updates 34 M kernel-devel x86_64 5.12.7-200.fc33 updates 14 M kernel-modules x86_64 5.12.7-200.fc33 updates 31 M kernel-modules-extra x86_64 5.12.7-200.fc33 updates 2.0 M Removing: kernel x86_64 5.11.19-200.fc33 @updates 0 kernel-core x86_64 5.11.19-200.fc33 @updates 74 M kernel-devel x86_64 5.11.19-200.fc33 @updates 56 M kernel-modules x86_64 5.11.19-200.fc33 @updates 30 M kernel-modules-extra x86_64 5.11.19-200.fc33 @updates 1.9 M Removing dependent packages: kmod-wl-5.11.19-200.fc33.x86_64 x86_64 6.30.223.271-36.fc33 @@commandline 7.2 M
Transaction Summary =================================================================================================================================================================================================================== Install 5 Packages Upgrade 14 Packages Remove 6 Packages
Emmett
On 5/29/21 10:08 AM, Emmett Culley via CentOS wrote:
On 5/29/21 9:29 AM, Frank Cox wrote:
On Sat, 29 May 2021 09:19:03 -0700 Emmett Culley via CentOS wrote:
Seem there is no such package. I believe because it get built newly each time a new kernel is installed.
What did you do (exactly) when you installed kmod-wl in the first place? Did the rpm have a name? What was that name?
If you're not sure, the what is the output from:
rpm -qa | grep kmod
[root@ws1 etc]# rpm -qa | grep kmod kmod-27-3.fc33.x86_64 akmods-0.5.6-26.fc33.noarch kmod-libs-27-3.fc33.x86_64 kmodtool-1-41.fc33.noarch akmod-wl-6.30.223.271-36.fc33.x86_64 kmod-wl-5.11.19-200.fc33.x86_64-6.30.223.271-36.fc33.x86_64 kmod-wl-5.12.5-200.fc33.x86_64-6.30.223.271-36.fc33.x86_64 kmod-wl-5.12.6-200.fc33.x86_64-6.30.223.271-36.fc33.x86_64
I probably did this when installing. It has been a while.
[root@ws1 etc]# dnf install kmod-wl Last metadata expiration check: 1:16:38 ago on Sat 29 May 2021 08:42:33 AM PDT. Dependencies resolved. =================================================================================================================================================================================================================== Package Architecture Version Repository Size =================================================================================================================================================================================================================== Installing: kmod-wl x86_64 6.30.223.271-36.fc33 rpmfusion-nonfree-updates 10 k
Transaction Summary
Install 1 Package
I see that it is installing kmod-wl for the last kernel that would be installed if I did an update.
[root@ws1 etc]# dnf update --allowerasing --nobest Last metadata expiration check: 1:21:41 ago on Sat 29 May 2021 08:42:33 AM PDT. Dependencies resolved. =================================================================================================================================================================================================================== Package Architecture Version Repository Size =================================================================================================================================================================================================================== Installing: kernel x86_64 5.12.7-200.fc33 updates 51 k kernel-core x86_64 5.12.7-200.fc33 updates 34 M kernel-devel x86_64 5.12.7-200.fc33 updates 14 M kernel-modules x86_64 5.12.7-200.fc33 updates 31 M kernel-modules-extra x86_64 5.12.7-200.fc33 updates 2.0 M Removing: kernel x86_64 5.11.19-200.fc33 @updates 0 kernel-core x86_64 5.11.19-200.fc33 @updates 74 M kernel-devel x86_64 5.11.19-200.fc33 @updates 56 M kernel-modules x86_64 5.11.19-200.fc33 @updates 30 M kernel-modules-extra x86_64 5.11.19-200.fc33 @updates 1.9 M Removing dependent packages: kmod-wl-5.11.19-200.fc33.x86_64 x86_64 6.30.223.271-36.fc33 @@commandline 7.2 M
Transaction Summary
Install 5 Packages Upgrade 14 Packages Remove 6 Packages
Emmett _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Writing that last seems to have provided the clue I needed.
#dnf remove akmod_wl
[root@ws1 etc]# dnf remove akmod-wl Dependencies resolved. =================================================================================================================================================================================================================== Package Architecture Version Repository Size =================================================================================================================================================================================================================== Removing: akmod-wl x86_64 6.30.223.271-36.fc33 @rpmfusion-nonfree-updates 5.5 M Removing unused dependencies: akmods noarch 0.5.6-26.fc33 @fedora 37 k kmodtool noarch 1-41.fc33 @fedora 18 k
Transaction Summary =================================================================================================================================================================================================================== Remove 3 Packages
Seems to have done the trick. We'll see the next time I update the kernel.
Thanks for your replies.
Emmett