Forums

Resolved
0 votes
This is the error:

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!
Tuesday, April 12 2016, 09:14 AM
Share this post:
Responses (12)
  • Accepted Answer

    Tuesday, April 19 2016, 02:04 PM - #Permalink
    Resolved
    0 votes
    Peter Baldwin wrote:
    No changes required. It all sorted itself out once the package was promoted to the verified software repos.

    That bit sorted itself out but there couldn't there be a load of other unrelated clearos-centos* packages unless they have also been promoted?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, April 19 2016, 01:59 PM - #Permalink
    Resolved
    0 votes
    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.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, April 16 2016, 12:50 PM - #Permalink
    Resolved
    0 votes
    You can see what is installed from the two repos with:
    yumdb search from_repo clearos-centos* | egrep -v '^ |^$|^Loaded'
    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.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, April 15 2016, 09:07 PM - #Permalink
    Resolved
    0 votes
    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?

    Best regards,

    M ;-)
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, April 13 2016, 08:02 PM - #Permalink
    Resolved
    0 votes
    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.
    Like
    1
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, April 12 2016, 09:11 PM - #Permalink
    Resolved
    0 votes
    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.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, April 12 2016, 09:00 PM - #Permalink
    Resolved
    0 votes
    I tried again and it worked.

    Looks like Ben or someone has been doing some magic :-)

    Thank you!!
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, April 12 2016, 08:51 PM - #Permalink
    Resolved
    0 votes
    [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!
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, April 12 2016, 06:23 PM - #Permalink
    Resolved
    0 votes
    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!
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, April 12 2016, 06:00 PM - #Permalink
    Resolved
    0 votes
    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!
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, April 12 2016, 12:06 PM - #Permalink
    Resolved
    0 votes
    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!
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, April 12 2016, 10:46 AM - #Permalink
    Resolved
    0 votes
    The reply is currently minimized Show
Your Reply