Solved Update CentOS to Alma on OVH dedicated

websterPL

Verified User
Joined
Oct 7, 2021
Messages
102
So I have another server with DA and CentOS 8.4. After trying to update to Alma (https://github.com/AlmaLinux/almalinux-deploy) I see error code below:

Code:
Install almalinux-logos packages                                      ERROR
    OVH RTM repo                                    579  B/s | 193  B     00:00
    Errors during downloading metadata for repository 'OVH-rtm':
    - Status code: 500 for https://last-public-ovh-rtm.snap.mirrors.ovh.net/centos/8/x86_64/Packages/repodata/repomd.xml (IP: 213.32.5.7)
    Error: Failed to download metadata for repo 'OVH-rtm': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

Is there some solution for that problem with repo ?
 
If a remote URL gives HTTP/500 error, you can not fix it on your own. Just skip the mirror or disable the repository.
 
You might try it on your own risk. I can not say for sure the upgrade will go smoothly. If the upgrade script can not use another mirror, then the process will fail.

You might try clearing cache:

Code:
dnf clean all
dnf makecache
dnf check-update

and see whether it helps or not.
 
Nope, always the same error "Errors during downloading metadata for repository 'OVH-rtm'". Thats mean that I will stay with CentOS 8 forever :) ?
 
Did you add the OVH RTM repo on your server for any reason? You might try and either disable or uninstall it.
 
Hmm, after disable repo, the error is still showing but I see that Alma is already installed :D Should I reboot system now ?

[root@s1 ~]# yum repolist
repo id repo name
OVH-metrics OVH Metrics repo
OVH-rtm OVH RTM repo
appstream AlmaLinux 8 - AppStream
baseos AlmaLinux 8 - BaseOS
extras AlmaLinux 8 - Extras

[root@s1 ~]# yum update --disablerepo=OVH-rtm
Last metadata expiration check: 0:16:56 ago on Fri 04 Aug 2023 11:55:40 AM CEST.
Dependencies resolved.
Nothing to do.
Complete!

[root@s1 ~]# sudo dnf update -y
OVH RTM repo 710 B/s | 193 B 00:00
Errors during downloading metadata for repository 'OVH-rtm':
- Status code: 500 for https://last-public-ovh-rtm.snap.mirrors.ovh.net/centos/8/x86_64/Packages/repodata/repomd.xml (IP: 213.32.5.7)
Error: Failed to download metadata for repo 'OVH-rtm': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
 
Everything you do is at your own risk and responsibility. I can guarantee only work that I do my own hands.

If you are sure no critical error occurred during the migration, then you might try and reboot the server.
 
So after reboot server is working on AlmaLinux release 8.8 (Sapphire Caracal), thx for help! But after "sudo dnf update -y" the 500 at OVH-rtm error still exist :/
 
Back
Top