error upgrading from 10.1 to 10.2

You are viewing an old version of this question. View the current version here.

hello -

i have attempted to upgrade to 10.2 on my centos-7 by following these steps:

1) sudo yum -y remove MariaDB-server MariaDB-client ;

2) moved old MariaDB.repo and created new one as outlined here

3) sudo yum -y install MariaDB-server MariaDB-client ;

however, i get the following error:


Downloading packages:

MariaDB-10.1.30-centos7-x86_64 FAILED

http://yum.mariadb.org/10.2.4/centos7-amd64/rpms/MariaDB-10.1.30-centos7-x86_64-server.rpm: [Errno 14]

HTTP Error 404 - Not Found ] 0.0 B/s | 0 B --:--:-- ETA

Trying other mirror.


some Stack-Overflow suggestions are to include the following commands between step two and three:

rm -rf /var/lib/mysql; rm /etc/my.cnf

however, i would think that yum/rpm would take care of this for me.

for fun, i created a completely fresh new centos-7 and it worked fine.

suggestions? dare i delete /var/lib/mysql ? or should i just do something more innocent like

mv /var/lib/mysql /var/lib/mysql-RENAMED

thank you very much.

Answer

yum clean all;

this is from trevor, the moderator at the centos-7 forum.

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.