Created a rhel 7 repository server for updating offline clients. On RepoServer I installed httpd edited /etc/httpd/conf/httpd.conf to ServerAdmin root@RepoServer, ServerName192.168.166.13:80, DocumentRoot "/var/www/html". Started it, enabled it, ran httpd -t and Syntax is OK. Did reposync files are located at /var/www/html/rhel-7-server-rpms
On client side I created a baseos.repo in /etc/yum.repos.d/
[baseos]
name=Red Hat Enterprise Linux - BaseOS
baseurl=http://192.168.166.13/rhel-7-server-rpms/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
Ran yum clean all and yum repolist returns with :
[root@test ~]# yum repolist
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
repo id repo name status
baseos Red Hat Enterprise Linux - BaseOS 32,907
repolist: 32,907
Try to install package (unzip in this case) and get this:
[root@test ~]# yum -y install unzip
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package unzip.x86_64 0:6.0-19.el7 will be updated
---> Package unzip.x86_64 0:6.0-24.el7_9 will be an update
--> Finished Dependency Resolution
--> Finding unneeded leftover dependencies
Found and removing 0 unneeded dependencies
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
unzip x86_64 6.0-24.el7_9 baseos 173 k
Transaction Summary
================================================================================
Upgrade 1 Package
Total download size: 173 k
Downloading packages:
No Presto metadata available for baseos
unzip-6.0-24.el7_9.x86_64.rpm FAILED
http://192.168.166.13/rhel-7-server-rpms/Packages/u/unzip-6.0-24.el7_9.x86_64.rpm: [Errno 14] HTTP Error 403 - Forbidden
Trying other mirror.
To address this issue please refer to the below knowledge base article
If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.
Any ideas?
Error downloading packages:
unzip-6.0-24.el7_9.x86_64: [Errno 256] No more mirrors to try.
On client side I created a baseos.repo in /etc/yum.repos.d/
[baseos]
name=Red Hat Enterprise Linux - BaseOS
baseurl=http://192.168.166.13/rhel-7-server-rpms/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
Ran yum clean all and yum repolist returns with :
[root@test ~]# yum repolist
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
repo id repo name status
baseos Red Hat Enterprise Linux - BaseOS 32,907
repolist: 32,907
Try to install package (unzip in this case) and get this:
[root@test ~]# yum -y install unzip
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package unzip.x86_64 0:6.0-19.el7 will be updated
---> Package unzip.x86_64 0:6.0-24.el7_9 will be an update
--> Finished Dependency Resolution
--> Finding unneeded leftover dependencies
Found and removing 0 unneeded dependencies
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
unzip x86_64 6.0-24.el7_9 baseos 173 k
Transaction Summary
================================================================================
Upgrade 1 Package
Total download size: 173 k
Downloading packages:
No Presto metadata available for baseos
unzip-6.0-24.el7_9.x86_64.rpm FAILED
http://192.168.166.13/rhel-7-server-rpms/Packages/u/unzip-6.0-24.el7_9.x86_64.rpm: [Errno 14] HTTP Error 403 - Forbidden
Trying other mirror.
To address this issue please refer to the below knowledge base article
Why does yum fail with error "[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403" ? - Red Hat Customer Portal
Yum update with the following error: # yum update Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager Updating certificate-based repositories. https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22...
access.redhat.com
If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.
Any ideas?
Error downloading packages:
unzip-6.0-24.el7_9.x86_64: [Errno 256] No more mirrors to try.