error upgrading from 10.1 to 10.2
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) mv MariaDB.repo MariaDB.repo-OLD; and created new MariaDB.repo as outlined here
3) sudo yum -y install MariaDB-server MariaDB-client ;
however, i get the following error:
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 (no former installs, of course) and the installation worked fine.
suggestions? dare i delete /var/lib/mysql ? or should i just attempt something more innocent like
mv /var/lib/mysql /var/lib/mysql-RENAMED; mv /etc/my.cnf /etc/my.cnf-RENAMED;
thank you very much.
EDIT: my silly mv /var/lib/mysql /var/lib/mysql-RENAMED; idea did not work. its as if yum is remembering 10.1.30 and will not upgrade for some reason.
Answer Answered by Mark Edwards in this comment.
yum clean all;
this is from trevor, the moderator at the centos-7 forum.