[CentOS] kmod removal [solved]

Sat May 29 17:14:35 UTC 2021
Emmett Culley <lst_manage at webengineer.com>

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 at 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 at 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 at 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 at 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 at 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