Applicable to:
- Plesk for Linux
Symptoms
-
When checking for system updates in Plesk at Tools & Settings > Update Settings > Available Updates, the operation fails with the error message:
PLESK_ERROR: Error: Unable to receive update information for the package(s)
-
Plesk Installer or system update fails with the error message:
CONFIG_TEXT: failure: repodata/repomd.xml from mariadb: [Errno 256] No more mirrors to try.
http://yum.mariadb.org/10.1/centos7-amd64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Cause
Repository URL for MariaDB 10.1 (end-of-life version) has been changed from http://yum.mariadb.org/10.1 to https://archive.mariadb.org/mariadb-10.1.X by MariaDB vendor.
Resolution
-
Connect to the Plesk server via SSH.
-
Open MariaDB repository file in a text editor. In this example, we are using the vi editor:
# vi /etc/yum.repos.d/MariaDB.repo
-
Modify
baseurl
:Note: 10.1.48 is the latest version in MariaDB 10.1 series. Example below is for CentOS 7.
CONFIG_TEXT: [mariadb]
name = MariaDB
baseurl = https://archive.mariadb.org/mariadb-10.1.48/yum/centos7-amd64/
gpgkey = https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgheck = 1
enabled = 1 -
Save the changes and close the file.
-
Rerun Plesk/system update.
Comments
0 comments
Please sign in to leave a comment.