RHEL 9 installation or upgrade failing
Original Question or Issue:
RHEL 9 installation or upgrade failing with the error "Status code: 404 for https://repo.filecloudlabs.com/yum/redhat/9.6/filecloud/23.261/x86_64/repodata/repomd.xml"
Environment:
- Product - FileCloud Server
- Version - Any
- Platform - Linux
Steps to Reproduce:
Install or upgrade FileCloud on RHEL servers after updating the new repo file
Error or Log Message:
Status code: 404 for https://repo.filecloudlabs.com/yum/redhat/9.6/filecloud/23.261/x86_64/repodata/repomd.xml
Defect or Enhancement Number:
Cause:
This happens because of how $releasever is resolved by YUM/DNF
Resolution or Workaround:
Hardcode the baseurl with the correct major version number, as an example change the baseurl to baseurl=https://repo.filecloudlabs.com/yum/redhat/9/filecloud/23.261/x86_64/
Notes:
Even though this article specifies RHEL 9, this fix will be applicable to any RHEL version