← Back to team overview

maria-discuss team mailing list archive

Re: Rollback from 10 to 5.5 with WHM

 

rm -rf /var/cache/yum/*

the baseurl http://yum.mariadb.org/5.5/centos6-amd64/rpms/ of the
repo file you posted just don't contain any 10.x package

Am 23.05.2014 12:53, schrieb Dan:
> I ran a yum clean all but still get the same output. I will clean again and try
> 
> 
> On Fri, May 23, 2014 at 12:42 PM, Reindl Harald <h.reindl@xxxxxxxxxxxxx <mailto:h.reindl@xxxxxxxxxxxxx>> wrote:
> 
>     i guess you did not do a "yum clean all" after switching
>     the repo back to 5.5 and because it has the unversioned
>     name "mariadb" the cached metadata are still active
> 
>     Am 23.05.2014 12:30, schrieb Dan:
>     > Output of repos directory
>     >
>     > #######################
>     >
>     > root@server1 [~]# cd  /etc/yum.repos.d/
>     >
>     > root@server1 [/etc/yum.repos.d]# ls
>     >
>     > *.*/  *..*/  CentOS-Base.repo  CentOS-Debuginfo.repo  CentOS-Media.repo  CentOS-Vault.repo
>     >
>     > root@server1 [/etc/yum.repos.d]#
>     >
>     > #######################
>     >
>     > #####################
>     >
>     > recreated the MariaDB Repo file with
>     >
>     > |#|MariaDB 5.5 CentOS repository list - created 2014-05-23 10:27 UTC
>     > |#|http://mariadb.org/mariadb/repositories/[mariadb] name = MariaDB baseurl =
>     > http://yum.mariadb.org/5.5/centos6-amd64gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDBgpgcheck=1
>     >
>     > ########################
>     >
>     > Then I get the following output when trying the YUM install
>     >
>     >
>     > root@server1 [/etc/yum.repos.d]# yum install MariaDB-server MariaDB-client MariaDB-devel
>     >
>     > Loaded plugins: fastestmirror, security
>     >
>     > Loading mirror speeds from cached hostfile
>     >
>     >  * base: mirror.ventraip.net.au <http://mirror.ventraip.net.au> <http://mirror.ventraip.net.au>
>     >
>     >  * extras: centos.syd.au.glomirror.com.au <http://centos.syd.au.glomirror.com.au>
>     <http://centos.syd.au.glomirror.com.au>
>     >
>     >  * updates: mirror.ventraip.net.au <http://mirror.ventraip.net.au> <http://mirror.ventraip.net.au>
>     >
>     > base
>     >           | 3.7 kB     00:00
>     >
>     > extras
>     >           | 3.4 kB     00:00
>     >
>     > mariadb
>     >           | 1.9 kB     00:00
>     >
>     > updates
>     >           | 3.4 kB     00:00
>     >
>     > Setting up Install Process
>     >
>     > Resolving Dependencies
>     >
>     > --> Running transaction check
>     >
>     > ---> Package MariaDB-client.x86_64 0:10.0.11-1.el6 will be installed
>     >
>     > --> Processing Dependency: MariaDB-common for package: MariaDB-client-10.0.11-1.el6.x86_64
>     >
>     > On Fri, May 23, 2014 at 10:41 AM, Dan <daniel.hewes@xxxxxxxxx <mailto:daniel.hewes@xxxxxxxxx>
>     <mailto:daniel.hewes@xxxxxxxxx <mailto:daniel.hewes@xxxxxxxxx>>> wrote:
>     >
>     >     Hi,
>     >
>     >     I installed MariadB 10 but was seeing poor performance and query times, so I rolled back to Mysql and saw
>     >     better results. I wanted to rollback to Mariadb 5.5 but when going through the steps
>     >     at http://blog.cpanel.net/mysql-mariadb/ and having the 5.5 repo in my Yum repos lists, it still tries to
>     >     install MariaDB 10.
>     >
>     >     Does anyone know why or how I can install 5.5 on WHM after installing and removing 10?
>     >
>     >     Cheers
>     >     Dan

Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups

References