See this post:
https://access.redhat.com/solutions/7001841
yum update subscription-manager
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) 304 B/s | 466 B 00:01
Errors during downloading metadata for repository 'rhel-8-for-x86_64-appstream-rpms':
- Status code: 403 for https://cdn.redhat.com/content/dist/rhel8/8/x86_64/appstream/os/repodata/repomd.xml (IP: 23.15.248.251)
Error: Failed to download metadata for repo 'rhel-8-for-x86_64-appstream-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
[root@sbidemo yum.repos.d]# subscription-manager release --unset
Release preference has been unset
[root@sbidemo yum.repos.d]#
[root@sbidemo yum.repos.d]# subscription-manager refresh
1 local certificate has been deleted.
All local data refreshed
[root@sbidemo yum.repos.d]# yum clean all
Updating Subscription Management repositories.
78 files removed
[root@sbidemo yum.repos.d]# yum update subscription-manager
Updating Subscription Management repositories.
LocalRepository_BaseOS 3.4 MB/s | 2.4 MB 00:00
LocalRepository_AppStream 6.0 MB/s | 8.1 MB 00:01
MariaDB Server 191 kB/s | 826 kB 00:04
MariaDB MaxScale 1.7 kB/s | 7.0 kB 00:04
MariaDB Tools 2.6 kB/s | 4.3 kB 00:01
MongoDB Repository 59 kB/s | 102 kB 00:01
packages-microsoft-com-prod 5.8 MB/s | 13 MB 00:02
packages-microsoft-com-mssql-server-2019 3.5 MB/s | 5.5 MB 00:01
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) 7.8 MB/s | 68 MB 00:08
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) 7.4 MB/s | 74 MB 00:09
Last metadata expiration check: 0:00:01 ago on Sun 03 Nov 2024 03:23:03 PM +08.
Dependencies resolved.
==========================================================================================================================================================================================================
Package Architecture Version Repository Size
==========================================================================================================================================================================================================
Upgrading:
dnf-plugin-subscription-manager x86_64 1.28.42-1.el8 rhel-8-for-x86_64-baseos-rpms 326 k
python3-cloud-what x86_64 1.28.42-1.el8 rhel-8-for-x86_64-baseos-rpms 325 k
python3-subscription-manager-rhsm x86_64 1.28.42-1.el8 rhel-8-for-x86_64-baseos-rpms 404 k
python3-syspurpose x86_64 1.28.42-1.el8 rhel-8-for-x86_64-baseos-rpms 342 k
subscription-manager x86_64 1.28.42-1.el8 rhel-8-for-x86_64-baseos-rpms 1.2 M
Transaction Summary
==========================================================================================================================================================================================================
Upgrade 5 Packages
Total download size: 2.5 M
Is this ok [y/N]: y
Downloading Packages:
(1/5): python3-subscription-manager-rhsm-1.28.42-1.el8.x86_64.rpm 848 kB/s | 404 kB 00:00
(2/5): dnf-plugin-subscription-manager-1.28.42-1.el8.x86_64.rpm 545 kB/s | 326 kB 00:00
(3/5): python3-cloud-what-1.28.42-1.el8.x86_64.rpm 444 kB/s | 325 kB 00:00
(4/5): python3-syspurpose-1.28.42-1.el8.x86_64.rpm 966 kB/s | 342 kB 00:00
(5/5): subscription-manager-1.28.42-1.el8.x86_64.rpm 2.7 MB/s | 1.2 MB 00:00
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 2.4 MB/s | 2.5 MB 00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: python3-cloud-what-1.28.42-1.el8.x86_64 1/1
Upgrading : python3-cloud-what-1.28.42-1.el8.x86_64 1/10
Upgrading : python3-subscription-manager-rhsm-1.28.42-1.el8.x86_64 2/10
Upgrading : python3-syspurpose-1.28.42-1.el8.x86_64 3/10
Upgrading : dnf-plugin-subscription-manager-1.28.42-1.el8.x86_64 4/10
Running scriptlet: subscription-manager-1.28.42-1.el8.x86_64 5/10
Upgrading : subscription-manager-1.28.42-1.el8.x86_64 5/10
Running scriptlet: subscription-manager-1.28.42-1.el8.x86_64 5/10
Running scriptlet: subscription-manager-1.28.36-2.el8.x86_64 6/10
Cleanup : subscription-manager-1.28.36-2.el8.x86_64 6/10
Running scriptlet: subscription-manager-1.28.36-2.el8.x86_64 6/10
Cleanup : python3-syspurpose-1.28.36-2.el8.x86_64 7/10
Cleanup : python3-subscription-manager-rhsm-1.28.36-2.el8.x86_64 8/10
Cleanup : python3-cloud-what-1.28.36-2.el8.x86_64 9/10
Cleanup : dnf-plugin-subscription-manager-1.28.36-2.el8.x86_64 10/10
Running scriptlet: dnf-plugin-subscription-manager-1.28.36-2.el8.x86_64 10/10
/sbin/ldconfig: /lib64/libmaodbc.so is not a symbolic link
Verifying : dnf-plugin-subscription-manager-1.28.42-1.el8.x86_64 1/10
Verifying : dnf-plugin-subscription-manager-1.28.36-2.el8.x86_64 2/10
Verifying : python3-cloud-what-1.28.42-1.el8.x86_64 3/10
Verifying : python3-cloud-what-1.28.36-2.el8.x86_64 4/10
Verifying : python3-subscription-manager-rhsm-1.28.42-1.el8.x86_64 5/10
Verifying : python3-subscription-manager-rhsm-1.28.36-2.el8.x86_64 6/10
Verifying : python3-syspurpose-1.28.42-1.el8.x86_64 7/10
Verifying : python3-syspurpose-1.28.36-2.el8.x86_64 8/10
Verifying : subscription-manager-1.28.42-1.el8.x86_64 9/10
Verifying : subscription-manager-1.28.36-2.el8.x86_64 10/10
Installed products updated.
Upgraded:
dnf-plugin-subscription-manager-1.28.42-1.el8.x86_64 python3-cloud-what-1.28.42-1.el8.x86_64 python3-subscription-manager-rhsm-1.28.42-1.el8.x86_64 python3-syspurpose-1.28.42-1.el8.x86_64
subscription-manager-1.28.42-1.el8.x86_64
Complete!
[root@sbidemo yum.repos.d]# subscription-manager release --set=8.4
Release set to: 8.4
[root@sbidemo yum.repos.d]# subscription-manager refresh
All local data refreshed
[root@sbidemo yum.repos.d]# yum clean all
Updating Subscription Management repositories.
62 files removed
[root@sbidemo yum.repos.d]# subscription-manager repos --enable=rhel-8-for-x86_64-baseos-e4s-rpms \
> --enable=rhel-8-for-x86_64-appstream-e4s-rpms
Repository 'rhel-8-for-x86_64-baseos-e4s-rpms' is enabled for this system.
Repository 'rhel-8-for-x86_64-appstream-e4s-rpms' is enabled for this system
Sunday, 3 November 2024
Friday, 1 November 2024
Subscribe to:
Posts (Atom)








