Problem:
Hello everyone, I am syncronizing the CentOS 7 repositories to our Foreman/Katello Server and then have CentOS 7 hosts subscribed to it. All packages are installed from the server and that works well.
But each server, that has the java-1.8.0-openjdk package installed, can’t update Java because it claims, that java-1.8.0-openjdk-headless-1.8.0.282.b08-1.el7_9.x86_64.rpm is available but shows the following error:
Many thanks. I did try with wget, but I gut a 404. I researched the location on the server and saw a symlink, that was pointing into the air. I have changed the download policy from on demand to immediately, then It worked. I can keep it this way.
By default the pulp backend should download files on the fly. I am not sure how it works tho, there should probably not be any broken symlinks. Maybe the file did not download from the upstream server correctly. Anyway, immediate will pre-download all the content for you if you don’t mind the size. That will work for sure.
A few days ago I had issues with a few rpms which were not available for download through the proxy. Metadata was also not completely up to date for all repositories. I ran a complete sync on the smart proxy and after that everything was working again.