[CentOS] C8 - Register with Red Hat

Mon Aug 17 23:53:38 UTC 2020
Tony Schreiner <anthony.schreiner at bc.edu>

On Mon, Aug 17, 2020 at 7:37 PM Gregory P. Ennis <PoMec at pomec.net> wrote:

> On Mon, 17 Aug 2020 17:49:29 -0500
> Gregory P. Ennis wrote:
>
> > What appears is below.
>
> Removing dependent packages is required.  Removing unused dependencies is
> optional.
>
> dnf remove *subscription* --noautoremove
>
> should remove the dependent packages but keep thee unused dependencies if
> you want them.
>
> There's also a setting in /etc/dnf/dnf.conf to set the default behaviour
> of the autoremove
> function.
>
> Having said that, I don't have any of those packages in your list on my
> system and it's
> working fine.  So removing them (probably) won't break anything.
> ------------------------------------------
>
> Frank,
>
> Thanks for the help. I used the -noautoremove switch and the following was
> removed :
>
> abrt-2.10.9-11.el8.x86_64
>
>   abrt-addon-ccpp-2.10.9-11.el8.x86_64
>
>   abrt-addon-kerneloops-2.10.9-11.el8.x86_64
>
>   abrt-addon-pstoreoops-2.10.9-11.el8.x86_64
>
>   abrt-addon-vmcore-2.10.9-11.el8.x86_64
>
>   abrt-addon-xorg-2.10.9-11.el8.x86_64
>   abrt-cli-2.10.9-11.el8.x86_64
>   abrt-dbus-2.10.9-11.el8.x86_64
>   abrt-desktop-2.10.9-11.el8.x86_64
>   abrt-gui-2.10.9-11.el8.x86_64
>   abrt-tui-2.10.9-11.el8.x86_64
>   anaconda-core-29.19.2.17-1.el8.x86_64
>   anaconda-gui-29.19.2.17-1.el8.x86_64
>   anaconda-tui-29.19.2.17-1.el8.x86_64
>   dnf-plugin-subscription-manager-1.26.17-1.el8_2.x86_64
>   initial-setup-0.3.62.1-1.el8.x86_64
>   initial-setup-gui-0.3.62.1-1.el8.x86_64
>   libreport-plugin-ureport-2.9.5-10.el8.x86_64
>   python3-abrt-2.10.9-11.el8.x86_64
>   python3-abrt-addon-2.10.9-11.el8.x86_64
>   python3-subscription-manager-rhsm-1.26.17-1.el8_2.x86_64
>   subscription-manager-1.26.17-1.el8_2.x86_64
>   subscription-manager-initial-setup-addon-1.26.17-1.el8_2.x86_64
>   subscription-manager-rhsm-certificates-1.26.17-1.el8_2.x86_64
>   virt-who-0.27.6-1.el8.noarch
>
> After these were removed the request to register with Red Hat no longer
> appears with 'dnf
> update'
>
> Thanks again!!!!
>
> Greg
>
>
You could also just disable the yum subscription-manager plugin by setting
enabled=0
in /etc/yum/pluginconf.d/subscription-manager.conf