Issue
We start with Tuxcare ELS subscription for CentOS 7 server.
We have this output and error:
yum info els-define
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
base | 3.1 kB 00:00:00
centos7-els | 3.5 kB 00:00:00
centos7els-rollout-1 | 3.0 kB 00:00:00
centos7els-rollout-2 | 3.0 kB 00:00:00
centos7els-rollout-3 | 3.0 kB 00:00:00
centos7els-rollout-4 | 3.0 kB 00:00:00
centos7els-rollout-5 | 3.0 kB 00:00:00
centos7els-rollout-6 | 3.0 kB 00:00:00
extras | 2.5 kB 00:00:00
mariadb-main | 3.4 kB 00:00:00
https://dlm.mariadb.com/repo/maxscale/latest/yum/rhel/7/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Could you please assist with the situation?
Environment
- CentOS 7 ELS
Solution
You may go to /etc/yum.repos.d , and the file would possibly be mariadb.repo, so you may change the baseurl to
baseurl=https://mirror.mariadb.org/yum/10.6/centos7-amd64/
And you may also need to change gpgkey to:
gpgkey=https://mirror.mariadb.org/yum/RPM-GPG-KEY-MariaDB
Also, it can be replaced using these commands:
sudo sed -i 's|baseurl=.*|baseurl=https://mirror.mariadb.org/yum/10.6/centos7-amd64/|' /etc/yum.repos.d/mariadb.repo
sudo sed -i 's|baseurl=.*|baseurl=https://mirror.mariadb.org/yum/10.6/centos7-amd64/|; s|gpgkey=.*|gpgkey=https://mirror.mariadb.org/yum/RPM-GPG-KEY-MariaDB|' /etc/yum.repos.d/mariadb.repo
sudo yum clean all
sudo yum makecache
sudo yum update
Cause
This is the mirror URL for mariadb version 10.6: https://mirror.mariadb.org/yum/10.6/
This is new the mirror url for: centos7-amd64: https://mirror.mariadb.org/yum/10.6/centos7-amd64/
URL for rpms is here: https://mirror.mariadb.org/yum/10.6/centos7-amd64/rpms/
The URL has been moved permanently.
Comments
0 comments
Please sign in to leave a comment.