Skip to content

rhel

[bryanlurer@git ~]$ sudo yum update -y
[sudo] password for bryanlurer: 
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)                           469  B/s | 364  B     00:00    
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.42.76.83)
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

Fix:

Register your RHEL.

sudo subscription-manager register --force

subscription-manager attach --auto

Dun.

sudo subscription-manager attach --auto
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux for x86_64
Status:       Subscribed

[bryanlurer@git ~]$ 
[bryanlurer@git ~]$ sudo yum update -y
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)                            15 MB/s |  30 MB     00:01    
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)                               15 MB/s |  33 MB     00:02    
Dependencies resolved.
===================================================================================================================
 Package                   Architecture   Version                      Repository                             Size
===================================================================================================================
Installing:
 kernel                    x86_64         4.18.0-305.3.1.el8_4         rhel-8-for-x86_64-baseos-rpms         5.9 M
 kernel-core               x86_64         4.18.0-305.3.1.el8_4         rhel-8-for-x86_64-baseos-rpms          36 M
 kernel-modules            x86_64         4.18.0-305.3.1.el8_4         rhel-8-for-x86_64-baseos-rpms          28 M
Upgrading:
 glib2                     x86_64         2.56.4-10.el8_4              rhel-8-for-x86_64-baseos-rpms         2.5 M
 kernel-tools              x86_64         4.18.0-305.3.1.el8_4         rhel-8-for-x86_64-baseos-rpms         6.1 M
 kernel-tools-libs         x86_64         4.18.0-305.3.1.el8_4         rhel-8-for-x86_64-baseos-rpms         5.9 M
 python3-perf              x86_64         4.18.0-305.3.1.el8_4         rhel-8-for-x86_64-baseos-rpms         6.0 M