• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Can't upgrade MariaDB

Pentarou

Basic Pleskian
Hello,

I can't upgrade MarioDB to 10.2, I followed the instructions on this page carfully.

Current version
Code:
mariadb-server-5.5.56-2.el7.x86_64
mariadb-5.5.56-2.el7.x86_64
sw-mariadb-client-1.0.0-centos7.17031417.x86_64
mariadb-libs-5.5.56-2.el7.x86_64
vi /etc/yum.repos.d/MariaDB.repo
Code:
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.2/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
yum install mariadb (step 6)
Code:
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: ftp.nluug.nl
 * extras: ftp.nluug.nl
 * updates: ftp.nluug.nl
Package 1:mariadb-5.5.56-2.el7.x86_64 already installed and latest version
Nothing to do
sudo yum install MariaDB-server MariaDB-client (according to MarioDB, tried different repositories as well)
Code:
sudo yum install MariaDB-server MariaDB-client
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: ftp.nluug.nl
 * extras: ftp.nluug.nl
 * updates: ftp.nluug.nl
No package MariaDB-server available.
  * Maybe you meant: mariadb-server
No package MariaDB-client available.
Error: Nothing to do

I've double and tripple-checked everything. What's going on and how do I fix this?
 
Hi,
have you wrote this :
a ) yum install MariaDB
or this :
b ) yum install mariadb

The first command (a) is that correct
 
Hello OverWolf, and thank you kindly for your reply.

Like I said, I followed the instructions very carefully.
I have also tried your command a to be sure, you can view the results below.
Code:
yum install MariaDB
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: ftp.nluug.nl
 * extras: ftp.nluug.nl
 * updates: ftp.nluug.nl
No package MariaDB available.
  * Maybe you meant: mariadb
Error: Nothing to do

I have double-checked if the repo file is there
Code:
-bash-4.2$ cd /etc/yum.repos.d/
-bash-4.2$ dir
CentOS-Base.repo       CentOS-Media.repo    plesk-ext-docker.repo
CentOS-CR.repo         CentOS-Sources.repo  plesk-migrator.repo
CentOS-Debuginfo.repo  CentOS-Vault.repo    plesk.repo
CentOS-fasttrack.repo  MariaDB.repo
 
Hi @Pentarou What's your Plesk setup? It's not shown on your forum signature or in this thread.
We ask because of THIS which has been mentioned before in the forum.
Following this thread now, in case you get it to run successfully with your own mods ;)
 
Hello Aleksandr Dunaev, learing_curve, and thank you kindly for your reply.

Your solution to the problem with the cache solved the problem. Regarding my Plesk configuration, I will add the details in my signature for future messages.
 
....Your solution to the problem with the cache solved the problem. Regarding my Plesk configuration, I will add the details in my signature for future messages
Does the first sentence here mean that you HAVE installed MarioDB v 10.2 within your Plesk setup and it now runs sucessfully? :) Or something different?
 
Back
Top