[CentOS] C8 - Register with Red Hat

Carl George
2020-08-25T17:59:56Z

The subscription-manager dnf plugin is disabled by default as part of
our debranding in both CentOS Linux and CentOS Stream.

c8:
https://git.centos.org/rpms/subscription-manager/blob/580aca8629536c64577e6a443b9349ecb629cc17/f/SPECS/subscription-manager.spec#_850
c8s:
https://git.centos.org/rpms/subscription-manager/blob/603dc4a304e237a71a056f674378ff5113a7f710/f/SPECS/subscription-manager.spec#_855

I don't know what caused it to be enabled on your system, but that is
the way it currently ships.

On Mon, Aug 17, 2020 at 6:54 PM Tony Schreiner <anthony.schreiner at
bc.edu> wrote:
>
> 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
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


--
Carl George