This is the error:
In case this matters:
* Install is on Linode, with StackScripts from ClearOS: https://www.linode.com/stackscripts/view/13940
* Community edition
* 11 other packages were also being installed but all standard apps from the marketplace (ex.: web server)
I can provide root server access to troubleshoot.
Thanks!
Exception: [u'ERROR with transaction check vs depsolve:', 'mariadb-libs(x86-64) = 1:5.5.44-2.el7.centos is needed by mariadb-server-1:5.5.44-2.el7.centos.x86_64', 'mariadb-libs(x86-64) = 1:5.5.44-2.el7.centos is needed by mariadb-1:5.5.44-2.el7.centos.x86_64']
In case this matters:
* Install is on Linode, with StackScripts from ClearOS: https://www.linode.com/stackscripts/view/13940
* Community edition
* 11 other packages were also being installed but all standard apps from the marketplace (ex.: web server)
I can provide root server access to troubleshoot.
Thanks!
Share this post:
Responses (12)
-
Accepted Answer
-
Accepted Answer
Marc Laporte wrote:
Peter Baldwin wrote:
I removed the centos/centos-updates repos from the StackScript, so this type of library mismatch on Linode should no longer occur.
Thanks Peter! Should I do anything (some repos changes) with existing instances?
No changes required. It all sorted itself out once the package was promoted to the verified software repos. -
Accepted Answer
You can see what is installed from the two repos with:
In my case I on 6.x get 119 packages listed. You could try downgrading them all in one huge "yum downgrade" command or you could take the view that the repos get enabled when you install the development environment anyway, so you could just enable the two repos permanently.yumdb search from_repo clearos-centos* | egrep -v '^ |^$|^Loaded'
-
Accepted Answer
-
Accepted Answer
That's exactly the problem Nick -- good catch!
The StackScript enabled the centos/centos-updates on install but then fell back to the verified repos on first boot. The MariaDB library is installed by default (just the library, not the full database server), so the MariaDB library from the March 31 update was pulled in on install - Red Hat Errata. After the first boot, Marketplace would have tried to pull in the older version of the MariaDB server sitting in the verified repos. Result: version mismatch and big barf.
I removed the centos/centos-updates repos from the StackScript, so this type of library mismatch on Linode should no longer occur. -
Accepted Answer
What is that script? Is it a way of converting CentOS to ClearOS? Line 41 updated using the clearos-centos and clearos-centos-updates repos, but left them disabled.
I suspect you need to make a decision to either leave clearos-centos and clearos-centos-updates enabled - I don't know how safe that is on a paid-for edition - or downgrade all packages from those repos (that'll be fun but should be doable once you identify the packages through yum) or reinstall a vanilla ClearOS. You may need advice from the devs here.
***
I've just seen your next post. Perhaps the packages you need have now gone through into the main clearos repos so you're probably OK now. -
Accepted Answer
-
Accepted Answer
[b] It looks like you've installed stuff from other clearos repos (clearos-centos-updates), which is not generally enabled by default.
Thanks Nick!
I used this without modification: https://www.linode.com/stackscripts/view/13940
So if something is non standard, perhaps it needs an update?
Thanks! -
Accepted Answer
It looks like you've installed stuff from other clearos repos (clearos-centos-updates), which is not generally enabled by default. It looks like you've then disabled it, or perhaps switched to one of the paid versions of ClearOS. I wonder if you need to downgrade mariadb-libs to one of the stock packages? - But don't take it from me! -
Accepted Answer
In case this helps:
[root@trimclient ~]# yum install app-mariadb
Loaded plugins: clearcenter-marketplace, fastestmirror
ClearCenter Marketplace: fetching repositories...
Loading mirror speeds from cached hostfile
* clearos: clearos.mirrors.ovh.net
* clearos-centos-verified: mirror1-london.clearos.com
* clearos-contribs: clearos.mirrors.ovh.net
* clearos-epel-verified: mirror1-london.clearos.com
* clearos-fast-updates: download4.clearsdn.com
* clearos-infra: clearos.mirrors.ovh.net
* private-clearcenter-dyndns: download4.clearsdn.com:80
* private-clearcenter-verified-updates: download4.clearsdn.com:80
Resolving Dependencies
--> Running transaction check
---> Package app-mariadb.noarch 1:2.1.6-1.v7 will be installed
--> Processing Dependency: app-mariadb-core = 1:2.1.6-1.v7 for package: 1:app-mariadb-2.1.6-1.v7.noarch
--> Running transaction check
---> Package app-mariadb-core.noarch 1:2.1.6-1.v7 will be installed
--> Processing Dependency: phpMyAdmin >= 4.4.9 for package: 1:app-mariadb-core-2.1.6-1.v7.noarch
--> Processing Dependency: mariadb-server >= 5.5.40 for package: 1:app-mariadb-core-2.1.6-1.v7.noarch
--> Running transaction check
---> Package mariadb-server.x86_64 1:5.5.44-2.el7.centos will be installed
--> Processing Dependency: mariadb(x86-64) = 1:5.5.44-2.el7.centos for package: 1:mariadb-server-5.5.44-2.el7.centos.x86_64
--> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.44-2.el7.centos for package: 1:mariadb-server-5.5.44-2.el7.centos.x86_64
---> Package phpMyAdmin.noarch 0:4.4.12-1.v7 will be installed
--> Running transaction check
---> Package mariadb.x86_64 1:5.5.44-2.el7.centos will be installed
--> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.44-2.el7.centos for package: 1:mariadb-5.5.44-2.el7.centos.x86_64
---> Package mariadb-server.x86_64 1:5.5.44-2.el7.centos will be installed
--> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.44-2.el7.centos for package: 1:mariadb-server-5.5.44-2.el7.centos.x86_64
--> Finished Dependency Resolution
Error: Package: 1:mariadb-5.5.44-2.el7.centos.x86_64 (clearos-centos-verified)
Requires: mariadb-libs(x86-64) = 1:5.5.44-2.el7.centos
Installed: 1:mariadb-libs-5.5.47-1.el7_2.x86_64 (@clearos-centos-updates)
mariadb-libs(x86-64) = 1:5.5.47-1.el7_2
Available: 1:mariadb-libs-5.5.41-2.el7_0.x86_64 (clearos-centos-verified)
mariadb-libs(x86-64) = 1:5.5.41-2.el7_0
Available: 1:mariadb-libs-5.5.44-1.el7_1.x86_64 (clearos-centos-verified)
mariadb-libs(x86-64) = 1:5.5.44-1.el7_1
Available: 1:mariadb-libs-5.5.44-2.el7.centos.x86_64 (clearos)
mariadb-libs(x86-64) = 1:5.5.44-2.el7.centos
Error: Package: 1:mariadb-server-5.5.44-2.el7.centos.x86_64 (clearos-centos-verified)
Requires: mariadb-libs(x86-64) = 1:5.5.44-2.el7.centos
Installed: 1:mariadb-libs-5.5.47-1.el7_2.x86_64 (@clearos-centos-updates)
mariadb-libs(x86-64) = 1:5.5.47-1.el7_2
Available: 1:mariadb-libs-5.5.41-2.el7_0.x86_64 (clearos-centos-verified)
mariadb-libs(x86-64) = 1:5.5.41-2.el7_0
Available: 1:mariadb-libs-5.5.44-1.el7_1.x86_64 (clearos-centos-verified)
mariadb-libs(x86-64) = 1:5.5.44-1.el7_1
Available: 1:mariadb-libs-5.5.44-2.el7.centos.x86_64 (clearos)
mariadb-libs(x86-64) = 1:5.5.44-2.el7.centos
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@trimclient ~]#
Thanks Ben! -
Accepted Answer
Not applicable as I have clearos-epel-verified and clearos-centos-verified
Using username "root".
[root@trimserver ~]# yum repolist enabled
Loaded plugins: clearcenter-marketplace, fastestmirror
ClearCenter Marketplace: fetching repositories...
Loading mirror speeds from cached hostfile
* clearos: clearos.bhs.mirrors.ovh.net
* clearos-centos-verified: mirror1-orem.clearos.com
* clearos-contribs: clearos.bhs.mirrors.ovh.net
* clearos-epel-verified: mirror1-orem.clearos.com
* clearos-fast-updates: download4.clearsdn.com
* clearos-infra: clearos.bhs.mirrors.ovh.net
* private-clearcenter-dyndns: download2.clearsdn.com:80
* private-clearcenter-verified-updates: download4.clearsdn.com:80
repo id repo name status
clearos/7 ClearOS 7 - x86_64 - OS 718
clearos-centos-verified ClearOS 7 - x86_64 - CentOS Verified 990
clearos-contribs/7 ClearOS 7 - x86_64 - Contribs 64
clearos-epel-verified ClearOS 7 - x86_64 - EPEL Verified 181
clearos-fast-updates/7/x86_64 ClearOS 7 - x86_64 - Fast Updates 38
clearos-infra/7 ClearOS 7 - x86_64 - Infrastructure 16
private-clearcenter-dyndns ClearCenter Dynamic DNS 2
private-clearcenter-verified-updates ClearOS 7 Verified Updates 383
repolist: 2,392
[root@trimserver ~]#
Thanks! -
Accepted Answer
Marc,
Have a look at this thread:
https://www.clearos.com/clearfoundation/social/community/not-able-to-install-app#reply-119031
Applicable?
B
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »