Hi all,
I have tried to install MySQL package but get next:
[kim@forge tools]$ sudo yum install mysql [sudo] password for kim: 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.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@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
Hello, Try to update the cache of yum or update your system before install mysql.
Best regards,
On 11/15/2015 04:45 AM, Alexander Ni wrote:
Hi all,
I have tried to install MySQL package but get next:
[kim@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@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@centos.org https://lists.centos.org/mailman/listinfo/centos
On 11/15/2015 01:38 PM, John R Pierce wrote:
On 11/15/2015 2:45 AM, Alexander Ni wrote:
This system is receiving updates from RHN Classic or Red Hat Satellite.
that doesn't sound like CentOS to me.
I checked and those packages are available in CentOS 7 (for spacewalk and such) .. but they have been turned off by default. It is possible to get them installed, however.
I would try
yum --disablerepo=* --enablerepo=base --enablerepo=updates install mariadb
That would exclude possible conflicts between the base & update repos and more exotic software from other repos.
- Jussi