This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-17. For the latest, interactive version please visit https://mariadb.com/kb/.

Circular Dependency on 5.5.36

Does anyone have a clever solution to installing 5.5.36 when compat and common rpms have a circular dependency, Since the contents appear to be needed do we need them packaged separately?

[root@faws01_dbs itadmin]# yum install MariaDB-5.5.36-centos6-x86_64-compat.rpm
Loaded plugins: product-id, subscription-manager
Updating certificate-based repositories.
Setting up Install Process
Examining MariaDB-5.5.36-centos6-x86_64-compat.rpm: MariaDB-compat-5.5.36-1.el6.x86_64
Marking MariaDB-5.5.36-centos6-x86_64-compat.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package MariaDB-compat.x86_64 0:5.5.36-1.el6 will be installed
--> Processing Dependency: MariaDB-common for package: MariaDB-compat-5.5.36-1.el6.x86_64
--> Finished Dependency Resolution
Error: Package: MariaDB-compat-5.5.36-1.el6.x86_64 (/MariaDB-5.5.36-centos6-x86_64-compat)
           Requires: MariaDB-common
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@faws01_dbs itadmin]# yum  install MariaDB-5.5.36-centos6-x86_64-common.rpm
Loaded plugins: product-id, subscription-manager
Updating certificate-based repositories.
Setting up Install Process
Examining MariaDB-5.5.36-centos6-x86_64-common.rpm: MariaDB-common-5.5.36-1.el6.x86_64
Marking MariaDB-5.5.36-centos6-x86_64-common.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package MariaDB-common.x86_64 0:5.5.36-1.el6 will be installed
--> Processing Dependency: MariaDB-compat for package: MariaDB-common-5.5.36-1.el6.x86_64
--> Finished Dependency Resolution
Error: Package: MariaDB-common-5.5.36-1.el6.x86_64 (/MariaDB-5.5.36-centos6-x86_64-common)
           Requires: MariaDB-compat
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

As you can see one is dependent on the other, that is not a smart approach

Any thoughts

Peter

Answer Answered by Elena Stepanova in this comment.

yum install MariaDB-5.5.36-centos6-x86_64-common.rpm MariaDB-5.5.36-centos6-x86_64-compat.rpm
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.