Info:
This is progress. dnf got past all the version conflicts and started downloading. It then failed on just one file: cpp-8.5.0-30.el8_10.x86_64.rpm.
"Cannot download, all mirrors were already tried" means the repo index lists cpp, but Apache can't hand the file over. That usually comes down to one of three things:
- the file's permissions block Apache
- its SELinux label blocks Apache
- the download was broken
1. Check the file on the Ansible Master:
cd /var/www/html/rhel-8-10-nov2026
ls -lZ cpp-8.5.0-30*
rpm -K cpp-8.5.0-30.el8_10.x86_64.rpm
curl -sI http://10.212.176.61/os-patch/cpp-8.5.0-30.el8_10.x86_64.rpm | head -1
You should see:
ls:-rw-r--r--,httpd_sys_content_t, and a size of several MBrpm -K:digests signatures OKcurl:HTTP/1.1 200 OK
2. Fix permissions and labels on every RPM. This is harmless, so run it whatever the check showed:
chmod 644 /var/www/html/rhel-8-10-nov2026/*.rpm
restorecon -R /var/www/html/rhel-8-10-nov2026
3. If rpm -K fails or the file is tiny, the download was broken. Download cpp-8.5.0-30.el8_10.x86_64.rpm from Red Hat again (AppStream), scp it over, and run wizard Step 2 with y.
4. Re-test:
curl -sI http://10.212.176.61/os-patch/cpp-8.5.0-30.el8_10.x86_64.rpm | head -1
Once it shows 200 OK, run wizard Step 4 on rbb-ref-a-vlim02 again.
Comments
Post a Comment