[Solved] RHEL 9 update - since last week

Issues related to applications and software problems and general support
Post Reply
lightman47
Posts: 1522
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

[Solved] RHEL 9 update - since last week

Post by lightman47 » 2022/06/03 17:53:51

yum update worked previously, then last week sometime, I started getting this:

Code: Select all

Updating Subscription Management repositories.
ELRepo.org Community Enterprise Linux Repositor 3.7 kB/s | 3.0 kB     00:00    
Extra Packages for Enterprise Linux 9 - x86_64   27 kB/s |  19 kB     00:00    
Extra Packages for Enterprise Linux 9 - x86_64  2.1 MB/s | 6.7 MB     00:03    
Red Hat Enterprise Linux 9 for x86_64 - BaseOS  642  B/s | 361  B     00:00    
Errors during downloading metadata for repository 'rhel-9-for-x86_64-baseos-rpms':
  - Status code: 403 for https://cdn.redhat.com/content/dist/rhel9/9/x86_64/baseos/os/repodata/repomd.xml (IP: 173.222.100.251)
Error: Failed to download metadata for repo 'rhel-9-for-x86_64-baseos-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Last week when I got this, I opted for whatever GUI update app they have 'built in' (you have updates thing) and that worked without issue. Today, I tried the yum method and again got the above.

Did I do something to cause this? If so, how do I fix it? Do I need to edit a .repo file or something? I've done very little in 9 but I do try to keep it current.

This is no 'emergency' - I don't use 9 much currently because of too many missing apps I need from too many 'missing' repos ... but RHEL 9 was just released so I can wait for things to show up. It's on a new partition on the drive with my default REL 8.

Thank you.
Last edited by lightman47 on 2022/06/05 07:51:08, edited 1 time in total.

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

Re: RHEL 9 update - since last week

Post by TrevorH » 2022/06/03 18:36:05

It's RHEL so you need a valid subscription to use it. If you have it running under a devsub, did it expire? They only last a year and then need resubscribing which in turn stops all your enrolled systems from updating until you do the correct dance to unsubscribe/resubscribe. What does subscription-manager list say?
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

lightman47
Posts: 1522
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: RHEL 9 update - since last week

Post by lightman47 » 2022/06/03 19:01:25

Ahhhhh! I do have a valid subscription, but installation 'issues' come back to my mind:

During install, I was unable to register. (I'd idiotically forgotten my password). Nonetheless, I continued the install and things seemed to work. I thought (after looking up/changing my password for my account) that I had solved the issue.

Your requested info:

Code: Select all

$ sudo subscription-manager list
+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
Product Name: Red Hat Enterprise Linux for x86_64
Product ID:   479
Version:      9.0
Arch:         x86_64

Product Name: Red Hat CodeReady Linux Builder for x86_64
Product ID:   491
Version:      9.0
Arch:         x86_64
How do I fix this?

Thank you.

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

Re: RHEL 9 update - since last week

Post by TrevorH » 2022/06/03 20:13:23

subscription-manager register
subscription-manager auto-attach
subscription-manager attach

Not sure if the middle one is necessary or not.
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

lightman47
Posts: 1522
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: RHEL 9 update - since last week

Post by lightman47 » 2022/06/03 20:39:38

{edited to remove prompt ID stuff}

Code: Select all

$ sudo subscription-manager register
This system is already registered. Use --force to override
$ sudo subscription-manager auto-attach
Auto-attach preference: enabled
$ sudo subscription-manager attach
Ignoring request to auto-attach. It is disabled for org "14114647" because of the content access mode setting.
What does that even mean, if I might ask?

Thank you.
jje

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

Re: RHEL 9 update - since last week

Post by TrevorH » 2022/06/03 23:10:25

How long ago did you register your developer subscription?
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

lightman47
Posts: 1522
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: RHEL 9 update - since last week

Post by lightman47 » 2022/06/04 10:23:46

I first registered in Feb. 2021, then re-registered when that expired in Feb. 2022. Incidentally, I'm having NO problem with 6 RHEL 8 installations.

lightman47
Posts: 1522
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: RHEL 9 update - since last week

Post by lightman47 » 2022/06/04 17:08:35

By the way - if a clean install (this time with the password at the ready) is the recommendation, I'm totally fine with that. Most of my program & user installations are scripted (sorta - I'm trying to adjust my RHEL 8 scripts to run correctly on either version). As a matter of fact, I'll reboot into 9 and run my backup scripts in case it comes to that.

Actually, perhaps I should try that.

Actually, I wonder if having RHEL 8 and RHEL 9 on the same SSD & machine is the problem. (??)

lightman47
Posts: 1522
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: [Solved] RHEL 9 update - since last week

Post by lightman47 » 2022/06/05 07:55:49

OK - it's now apparent you can't have two installations on the same hardware. Yesterday, I unregistered RHEL 9. This morning upon startup (of RHEL 8), I got a pop-up that it was not registered. I registered 8 because that's the system I use for all my work. I guess if I want to play with 9 it'll have to be a VM until I am happy with it and decide to switch.

Post Reply