=========================================================================================================== 18-11-09 [root@foggy ~]# yum udpate =========================================================================================================== 20-03-17 # subscription-manager remove --all 1 local certificate has been deleted. 1 subscription removed at the server. # subscription-manager unregister Unregistering from: satellite6.it.ubc.ca:443/rhsm System has been unregistered. # subscription-manager clean All local data removed # subscription-manager register --org="UBCITServices" --activationkey="RHEL6_32bit" WARNING This system has already been registered with Red Hat using RHN Classic. Your system is being registered again using Red Hat Subscription Management. Red Hat recommends that customers only register once. To learn how to unregister from either service please consult this Knowledge Base Article: https://access.redhat.com/kb/docs/DOC-45563 The system has been registered with ID: ad0bfa07-ef0f-4096-a7e3-54ea9ecd6065 The registered system name is: foggy.phas.ubc.ca Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Subscribed # yum -y remove rhn-setup rhn-client-tools yum-rhn-plugin \ > rhnsd rhn-check rhnlib spacewalk-abrt spacewalk-oscap \ > osad 'rh-*-rhui-client' 'candlepin-cert-consumer-*' Loaded plugins: product-id, refresh-packagekit, search-disabled-repos, subscription-manager Setting up Remove Process No Match for argument: spacewalk-abrt No Match for argument: spacewalk-oscap No Match for argument: osad No Match for argument: rh-*-rhui-client No Match for argument: candlepin-cert-consumer-* Removed: rhn-check.noarch 0:1.0.0.1-45.el6 rhn-client-tools.noarch 0:1.0.0.1-45.el6 rhn-setup.noarch 0:1.0.0.1-45.el6 rhnlib.noarch 0:2.5.22-15.el6 rhnsd.i686 0:4.9.3-6.el6 yum-rhn-plugin.noarch 0:0.9.1-60.2.el6_8 Dependency Removed: rhn-setup-gnome.noarch 0:1.0.0.1-45.el6 # yum -y install yum-plugin-security Loaded plugins: product-id, refresh-packagekit, search-disabled-repos, subscription-manager Setting up Install Process rhel-6-server-rpms | 2.0 kB 00:00 rhel-6-server-satellite-tools-6.6-rpms | 2.1 kB 00:00 Resolving Dependencies --> Running transaction check ---> Package yum-plugin-security.noarch 0:1.1.30-42.el6_10 will be installed --> Finished Dependency Resolution Dependencies Resolved ======================================================================================================================================================== Package Arch Version Repository Size ======================================================================================================================================================== Installing: yum-plugin-security noarch 1.1.30-42.el6_10 rhel-6-server-rpms 43 k Transaction Summary ======================================================================================================================================================== Install 1 Package(s) Total download size: 43 k Installed size: 80 k Downloading Packages: yum-plugin-security-1.1.30-42.el6_10.noarch.rpm | 43 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : yum-plugin-security-1.1.30-42.el6_10.noarch 1/1 Verifying : yum-plugin-security-1.1.30-42.el6_10.noarch 1/1 Installed: yum-plugin-security.noarch 0:1.1.30-42.el6_10 # yum -y install katello-agent --disablerepo=* \ > --enablerepo=rhel-6-server-satellite-tools-6.6-rpms Installed: katello-agent.noarch 0:3.5.1-2.el6sat Dependency Installed: gofer.noarch 0:2.11.9-1.el6sat katello-host-tools.noarch 0:3.5.1-2.el6sat katello-host-tools-fact-plugin.noarch 0:3.5.1-2.el6sat pulp-rpm-handlers.noarch 0:2.19.1.1-2.el6sat python-gofer.noarch 0:2.11.9-1.el6sat python-gofer-proton.noarch 0:2.11.9-1.el6sat python-isodate.noarch 0:0.5.0-4.el6sat python-pulp-agent-lib.noarch 0:2.19.1.1-1.el6sat python-pulp-common.noarch 0:2.19.1.1-1.el6sat python-pulp-rpm-common.noarch 0:2.19.1.1-2.el6sat python-qpid-proton.i686 0:0.28.0-2.el6 qpid-proton-c.i686 0:0.28.0-2.el6 # yum check-update Loaded plugins: enabled_repos_upload, package_upload, product-id, refresh-packagekit, search-disabled-repos, security, subscription-manager rhel-6-server-rpms | 2.0 kB 00:00 rhel-6-server-satellite-tools-6.6-rpms | 2.1 kB 00:00 Uploading Enabled Repositories Report Loaded plugins: product-id, refresh-packagekit, subscription-manager =========================================================================================================== 2020-04-09 yum update =========================================================================================================== 2020-06-11 # yum install rkhunter # rkhunter --propupd =========================================================================================================== 2020-06-23 =========================================================================================================== 2020-09-01 =========================================================================================================== 2020-10-13 # subscription-manager register --org="UBCPhysicsAndAstronomy" --activationkey="PHAS-RHEL6-i686" The system has been registered with ID: b063a605-fb56-44fd-9073-59e203e61b10 The registered system name is: foggy.phas.ubc.ca Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Subscribed =========================================================================================================== 2021-02-09 # subscription-manager repos --list-enabled +----------------------------------------------------------+ Available Repositories in /etc/yum.repos.d/redhat.repo +----------------------------------------------------------+ Repo ID: rhel-6-server-rpms Repo Name: Red Hat Enterprise Linux 6 Server (RPMs) Repo URL: https://satellite6.it.ubc.ca/pulp/repos/UBCITServices/Library/RHEL-6/content/dist/rhel/server/6/6Server/$basearch/os Enabled: 1 Repo ID: rhel-6-server-supplementary-rpms Repo Name: Red Hat Enterprise Linux 6 Server - Supplementary (RPMs) Repo URL: https://satellite6.it.ubc.ca/pulp/repos/UBCITServices/Library/RHEL-6/content/dist/rhel/server/6/6Server/$basearch/supplementary/os Enabled: 1 Repo ID: rhel-6-server-extras-rpms Repo Name: Red Hat Enterprise Linux 6 Server - Extras (RPMs) Repo URL: https://satellite6.it.ubc.ca/pulp/repos/UBCITServices/Library/RHEL-6/content/dist/rhel/server/6/6Server/$basearch/extras/os Enabled: 1 Repo ID: rhel-6-server-optional-rpms Repo Name: Red Hat Enterprise Linux 6 Server - Optional (RPMs) Repo URL: https://satellite6.it.ubc.ca/pulp/repos/UBCITServices/Library/RHEL-6/content/dist/rhel/server/6/6Server/$basearch/optional/os Enabled: 1 # cmd examples... # subscription-manager unregister; subscription-manager clean; subscription-manager register --org=UBCITServices --activationkey=RHEL7; subscription-manager repos --enable=rhel-7-server-optional-rpms; yum upgrade # subscription-manager repos --list-enabled; subscription-manager repos --disable=rhel-7-server-satellite-tools-6.6-rpms; yum update # yum update Loaded plugins: enabled_repos_upload, package_upload, product-id, refresh-packagekit, search-disabled-repos, security, subscription-manager Setting up Update Process https://satellite6.it.ubc.ca/pulp/repos/UBCITServices/Library/RHEL-6/content/dist/rhel/server/6/6Server/i386/extras/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" Trying other mirror. To address this issue please refer to the below knowledge base article https://access.redhat.com/articles/1320623 If above article doesn't help to resolve this issue please open a ticket with Red Hat Support. Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-6-server-extras-rpms. Please verify its path and try again Uploading Enabled Repositories Report Loaded plugins: product-id, refresh-packagekit, subscription-manager # rm -fr /var/cache/yum/* [root@foggy-i686-RH6 ~] 08:49:52 # yum clean all Loaded plugins: enabled_repos_upload, package_upload, product-id, refresh-packagekit, search-disabled-repos, security, subscription-manager Cleaning repos: epel remi remi-php56 remi-php72 remi-safe rhel-6-server-extras-rpms rhel-6-server-optional-rpms rhel-6-server-rpms : rhel-6-server-supplementary-rpms Cleaning up Everything Uploading Enabled Repositories Report Loaded plugins: product-id, refresh-packagekit, subscription-manager [root@foggy-i686-RH6 ~] 08:50:03 # yum update https://satellite6.it.ubc.ca/pulp/repos/UBCITServices/Library/RHEL-6/content/dist/rhel/server/6/6Server/i386/extras/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" Trying other mirror. To address this issue please refer to the below knowledge base article https://access.redhat.com/articles/1320623 If above article doesn't help to resolve this issue please open a ticket with Red Hat Support. Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-6-server-extras-rpms. Please verify its path and try again Uploading Enabled Repositories Report Loaded plugins: product-id, refresh-packagekit, subscription-manager ===================================================================================================== # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sr0 11:0 1 1024M 0 rom sda 8:0 1 1.8T 0 disk ├─sda1 8:1 1 500M 0 part /boot └─sda2 8:2 1 1.8T 0 part ├─vg_foggy-lv_root (dm-0) 253:0 0 50G 0 lvm / ├─vg_foggy-lv_swap (dm-1) 253:1 0 10.9G 0 lvm [SWAP] ├─vg_foggy-lv_home (dm-2) 253:2 0 100G 0 lvm /home └─vg_foggy-lv_images (dm-3) 253:3 0 1.7T 0 lvm /images ===================================================================================================== ===================================================================================================== ===================================================================================================== ===================================================================================================== ===================================================================================================== =====================================================================================================