Removing "rhsm" and "rhn" packages

General support questions
Post Reply
afewgoodman
Posts: 98
Joined: 2019/12/11 03:51:58

Removing "rhsm" and "rhn" packages

Post by afewgoodman » 2020/04/25 06:31:27

Hi,

If I try to remove following packages, does it damage current system?

[bchoi@localhost centos-updates-7.7]$ yum list available | grep rhsm
librhsm.x86_64 0.0.3-2.el7_6 extras
librhsm-devel.x86_64 0.0.3-2.el7_6 extras
python-rhsm.x86_64 1.19.10-1.el7_4 base
python-rhsm-certificates.x86_64 1.19.10-1.el7_4 base
rhsm-gtk.x86_64 1.24.13-4.el7.centos updates
subscription-manager-rhsm.x86_64 1.24.13-4.el7.centos updates
subscription-manager-rhsm-certificates.x86_64

[bchoi@localhost centos-updates-7.7]$ yum list available | grep rhn
rhn-check.x86_64 2.0.2-24.el7 base
rhn-client-tools.x86_64 2.0.2-24.el7 base
rhn-setup.x86_64 2.0.2-24.el7 base
rhn-setup-gnome.x86_64 2.0.2-24.el7 base
rhnlib.noarch 2.5.65-8.el7 base
rhnsd.x86_64 5.0.13-10.el7 base
yum-rhn-plugin.noarch 2.0.1-10.el7 base

BR.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Removing "rhsm" and "rhn" packages

Post by TrevorH » 2020/04/25 12:37:18

Probably not since I don't have any of those installed here and my system works perfectly (for some definition of...).

Make sure you don't specify yum -y and run yum remove \*rhn\* \*rhsm\* then stop and read the list of packages it intends to remove before you say Y. If it appears to be removing anything that you need then do not proceed. You can always use yum history undo last to undo the change but it's better not to have done it in the first place.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

afewgoodman
Posts: 98
Joined: 2019/12/11 03:51:58

Re: Removing "rhsm" and "rhn" packages

Post by afewgoodman » 2020/04/27 02:02:55

Hi Trevor

Many thanks !!!

Post Reply