[CentOS] Error when installing mysql package

Johnny Hughes johnny at centos.org
Sun Nov 15 14:25:05 UTC 2015


On 11/15/2015 04:45 AM, Alexander Ni wrote:
> Hi all,
> 
> I have tried to install MySQL package but get next:
> 
>  [kim at forge tools]$ sudo yum install mysql
> [sudo] password for kim:
> Loaded plugins: fastestmirror, rhnplugin


rpmforge is not really maintaining packages (at least not very well)
anymore.  I would see what packages you have installed from there and
see if they can installed be installed from only EPEL, nux-dextop, and
CentOS Base repos from here:

https://wiki.centos.org/AdditionalResources/Repositories

'MySQL-shared-compat-5.5.44-1.el7.x86_64'  <== that package, where ever
it is coming from, is not allowing the latest mariadb-libs to install ..
see this iine from your post:

"Removing mariadb-libs.x86_64 1:5.5.44-1.el7_1 - u due to obsoletes from
installed MySQL-shared-compat-5.5.44-1.el7.x86_64"

I do not have that package available in any of the repos that I have
installed, so I have no idea where it is coming from, but that seems to
be what is causing your issue.


> This system is receiving updates from RHN Classic or Red Hat Satellite.
> Loading mirror speeds from cached hostfile
>  * base: cosmos.cites.illinois.edu
>  * epel: mirrors.syringanetworks.net
>  * extras: mirror.acsnet.com
>  * rpmforge: mirror.team-cymru.org
>  * updates: mirrors.usinternet.com
> Package mysql is obsoleted by mariadb, trying to install
> 1:mariadb-5.5.44-1.el7_1.x86_64 instead
> Resolving Dependencies
> --> Running transaction check
> ---> Package mariadb.x86_64 1:5.5.44-1.el7_1 will be installed
> --> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.44-1.el7_1 for
> package: 1:mariadb-5.5.44-1.el7_1.x86_64
> --> Running transaction check
> ---> Package mariadb-libs.x86_64 1:5.5.44-1.el7_1 will be installed
> Removing mariadb-libs.x86_64 1:5.5.44-1.el7_1 - u due to obsoletes from
> installed MySQL-shared-compat-5.5.44-1.el7.x86_64
> --> Restarting Dependency Resolution with new changes.
> --> Running transaction check
> ---> Package mariadb-libs.x86_64 1:5.5.44-1.el7_1 will be installed
> --> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.44-1.el7_1 for
> package: 1:mariadb-5.5.44-1.el7_1.x86_64
> --> Finished Dependency Resolution
> Error: Package: 1:mariadb-5.5.44-1.el7_1.x86_64 (updates)
>            Requires: mariadb-libs(x86-64) = 1:5.5.44-1.el7_1
>            Available: 1:mariadb-libs-5.5.37-1.el7_0.x86_64
> (centos7-updates-x86_64)
>                mariadb-libs(x86-64) = 1:5.5.37-1.el7_0
>            Available: 1:mariadb-libs-5.5.41-2.el7_0.x86_64 (base)
>                mariadb-libs(x86-64) = 1:5.5.41-2.el7_0
>            Available: 1:mariadb-libs-5.5.44-1.el7_1.i686 (updates)
>               ~mariadb-libs(x86-32) = 1:5.5.44-1.el7_1
>  You could try using --skip-broken to work around the problem
>  You could try running: rpm -Va --nofiles --nodigest
> 
> [kim at forge tools]$ sudo yum install mysql --skip-broken
> Loaded plugins: fastestmirror, rhnplugin
> This system is receiving updates from RHN Classic or Red Hat Satellite.
> Loading mirror speeds from cached hostfile
>  * base: cosmos.cites.illinois.edu
>  * epel: mirrors.syringanetworks.net
>  * extras: mirror.tocici.com
>  * rpmforge: mirror.team-cymru.org
>  * updates: mirrors.usinternet.com
> Package mysql is obsoleted by mariadb, trying to install
> 1:mariadb-5.5.44-1.el7_1.x86_64 instead
> Resolving Dependencies
> --> Running transaction check
> ---> Package mariadb.x86_64 1:5.5.44-1.el7_1 will be installed
> --> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.44-1.el7_1 for
> package: 1:mariadb-5.5.44-1.el7_1.x86_64
> --> Running transaction check
> ---> Package mariadb-libs.x86_64 1:5.5.44-1.el7_1 will be installed
> Removing mariadb-libs.x86_64 1:5.5.44-1.el7_1 - u due to obsoletes from
> installed MySQL-shared-compat-5.5.44-1.el7.x86_64
> --> Restarting Dependency Resolution with new changes.
> --> Running transaction check
> ---> Package mariadb-libs.x86_64 1:5.5.44-1.el7_1 will be installed
> --> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.44-1.el7_1 for
> package: 1:mariadb-5.5.44-1.el7_1.x86_64
> 
> Packages skipped because of dependency problems:
>     1:mariadb-5.5.44-1.el7_1.x86_64 from updates
> 
> When I trying to install the mariandb it give particulary same error. Can
> somebody help to deal with this error?
> 
> Best Regards,
> Alexander Ni
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20151115/20fa0086/attachment.sig>


More information about the CentOS mailing list