[RESOLVED] - Build Centos8 repos on RHEL-7.9

Issues related to applications and software problems and general support
Post Reply
User avatar
warron.french
Posts: 616
Joined: 2014/03/27 20:21:58

[RESOLVED] - Build Centos8 repos on RHEL-7.9

Post by warron.french » 2021/04/26 12:45:42

Hey all, I had successfully built a CentOS8 machine and synched packages for CentOS8 and CentOS7 in subdirectories of /var/www/html on my machine running CentOS8. I did all of this using the reposync command against each of the various repositories I wanted content from.


Now, I have rebuilt the machine with RHEL-7.9 and I am attempting to do the same thing so that I can hopefully make a RHEL7, RHEL8, CentOS7, CentOS8 repo server but I cannot even sync the first of any of the CentOS repositories at all anymore. I am focused presently on the CentOS8 repositories of:
  • AppStream
  • BaseOS
  • Extras
  • CentosPlus
I am using the same command, that I had stored in a text file, and nothing is working anymore.

The error I get is:

Code: Select all

http://mirror.centos.org/centos/8.3.2011/AppStream/x86_64/os/repodata/repomd.xml:  [Errno 14] HTTP Error 403 - Forbidden
I can on a Windows machine browse to this very same url without any issue, so I know that I do not have any typos in the url in my .repo file.

As an added detail, this RHEL-7.9 machine is not registered with RedHat yet.

Any ideas? I really need this machine to support RHEL {7,8} and CentOS {7,8} for work purposes.
Last edited by warron.french on 2021/08/11 18:53:01, edited 2 times in total.
Thanks,
War

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

Re: Build Centos8 repos on RHEL-7.9

Post by TrevorH » 2021/04/26 13:13:34

I'm guessing you have a web proxy between you and the internet and haven't set up authentication.
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

User avatar
warron.french
Posts: 616
Joined: 2014/03/27 20:21:58

Re: Build Centos8 repos on RHEL-7.9

Post by warron.french » 2021/04/26 16:41:47

Yes, there actually is a web proxy in between. I know that is true.

You mentioned authentication. Are you referring to a|the user account on the RHEL-7.9 machine having the proxy configurations in place to reach out past proxy, past firewall, and back to the host?
Thanks,
War

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

Re: Build Centos8 repos on RHEL-7.9

Post by TrevorH » 2021/04/26 16:54:09

I'm saying it looks like you forgot to configure your proxy credentials so repoquery and/or yum cannot get outside.
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

User avatar
warron.french
Posts: 616
Joined: 2014/03/27 20:21:58

Re: Build Centos8 repos on RHEL-7.9

Post by warron.french » 2021/04/26 19:39:53

Thanks TrevorH. I will work this a little more.
Thanks,
War

User avatar
warron.french
Posts: 616
Joined: 2014/03/27 20:21:58

Re: Build Centos8 repos on RHEL-7.9

Post by warron.french » 2021/08/11 18:52:30

For others,
this did turn out to be a proxy problem. I got the issue resolved with the proxy administrator and then the packages started to sync down properly.

I will mark this as resolved.
Thanks,
War

Post Reply