Mariadb issues .. repo failure issues
mysqladmin version
Server version 10.5.25-MariaDB
Protocol version 10
Connection Localhost via UNIX socket
UNIX socket /var/lib/mysql/mysql.sock
mysql -V
mysql: Deprecated program name. It will be removed in a future release, use '/usr/bin/mariadb' instead
mysql from 11.4.2-MariaDB, client 15.2 for Linux (x86_64) using EditLine wrapper
When try
/usr/local/cpanel/scripts/update-package
Error: Failed to download metadata for repo 'mariadb-main': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
(XID 9ppvar) “/usr/bin/yum” reported error code “1” when it ended:
Trying changes in with other repo
nano /etc/yum.repos.d/mariadb.rep
tested 10.5, 10.5.25 from
http://archive.mariadb.org/yum/10.5.25/rhel7-amd64/
none work, can please, someone help me.
Thank you
PS:: tested almalinux8 repo and nothing work. Can't access to easyapache profiles because fail to makecache when open.
-
For some reason, in the repo folder (/etc/yum.repos.d/) there are 3 files mariadb.repo, Mariadb106.repo, Mariadb105.repo, previously I had tried an update to 10.6 which failed, possibly is this failure cause when trying to update. Renaming all mariadb.repo brings back the possibility of updating servers and access to easyapache profiles. I'm sure that Cpanel is not dealing very well with dbs based on the comments here on the forum and the problems with updates. It should be something to keep in mind, we pay for cpanel to manage the servers and not to waste hours with poor CPANEL scripts. Let me see in the next days what i can broke more in DBs.
0 -
Hey there! In general, you shouldn't need to manually edit the configuration inside the repositories. This sounds like there is an issue with Yum on the machine since you also mention that EasyApache had issues.
Are you able to run the following commands on the server without an error?
yum clean all
yum makecache
yum update0 -
yes i can run it but, because repo fail for mariadb, stoped with error.
Now without repo for mariadb works fine.
0 -
What original work were you trying on the system that led you to the "/scripts/update-packages" command? Or was the MariaDB repo failing after a normal nightly update?
It might be best to create a ticket for this issue so the system can be investigated.
0
Please sign in to leave a comment.
Comments
4 comments