Bobcares

wesupport

CLIENT AREACall Us 1-800-383-5193
Bobcares

wesupport

Call Us 1-800-383-5193
Bobcares

wesupport

Call Us 1-800-383-5193

Need help?

Our experts have had an average response time of 11.7 minutes in August 2021 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

Sqlite3 conflicts with alt-php-internal-common

by | Oct 14, 2021

Wondering how to resolve Sqlite3 conflicts with alt-php-internal-common? We can help you.

As part of our Server Management Services, we assist our customers with several similar queries.

Today, let us see procedure followed by our Support Techs in order to perform this task.

 

Sqlite3 conflicts with alt-php-internal-common

On servers with alt-php-internal-sqlite3 installed from [imunify360] repo, yum update fails with the following error:

yum update
Last metadata expiration check: 1:47:22 ago on Thu 22 Jul 2021 07:40:59 AM CST.
Error:
Problem 1: package alt-php-internal-sqlite3-7.4.16-1.el8.x86_64 requires alt-php-internal-common = 7.4.16-1.el8, but none of the providers can be installed
- cannot install both alt-php-internal-common-7.4.20-2.el8.x86_64 and alt-php-internal-common-7.4.16-1.el8.x86_64
- cannot install both alt-php-internal-common-7.4.16-1.el8.x86_64 and alt-php-internal-common-7.4.20-2.el8.x86_64
- cannot install the best update candidate for package alt-php-internal-sqlite3-7.4.16-1.el8.x86_64
- cannot install the best update candidate for package alt-php-internal-common-7.4.16-1.el8.x86_64
Problem 2: problem with installed package alt-php-internal-sqlite3-7.4.16-1.el8.x86_64
- package alt-php-internal-sqlite3-7.4.16-1.el8.x86_64 requires alt-php-internal-common = 7.4.16-1.el8, but none of the providers can be installed
- package alt-php-internal-common-7.4.16-1.el8.x86_64 requires alt-php-internal = 7.4.16-1.el8, but none of the providers can be installed
- cannot install both alt-php-internal-7.4.20-2.el8.x86_64 and alt-php-internal-7.4.16-1.el8.x86_64
- cannot install both alt-php-internal-7.4.16-1.el8.x86_64 and alt-php-internal-7.4.20-2.el8.x86_64
- cannot install the best update candidate for package alt-php-internal-7.4.16-1.el8.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

This occurs on servers where alt-php-internal-sqlite3 version 7.4.16 is install.

The alt-php-internal-sqlite3 package requires alt-php-internal-common version 7.4.16 as a dependency:

rpm -qR alt-php-internal-sqlite3 | grep -Ei common
alt-php-internal-common = 7.4.16-1.el8

However, when “yum update” runs alt-php-internal-common version 7.4.20 from [imunify360-rollout-2] repo is pulled, as it’s the latest version available and by default Yum attempts to download the latest available version of each package.

yum list available --showduplicates | grep -Ei alt-php-internal-common
alt-php-internal-common.x86_64 7.4.12-3.el8 imunify360
alt-php-internal-common.x86_64 7.4.15-3.el8 imunify360
alt-php-internal-common.x86_64 7.4.16-1.el8 imunify360
alt-php-internal-common.x86_64 7.4.20-2.el8 imunify360-rollout-2

And since the latest available version is different from the version require by alt-php-internal-sqlite3, that breaks Yum’s update.

Today, let us see the steps followed by our Support Techs to resolve it.

The workaround is to temporarily disable the [imunify360-rollout-2] repository.

Here is how it’s done:

1. Firstly, open the following file and disable the [imunify360-rollout-2] repository and then close and save the file:

vi /etc/yum.repos.d/imunify-rollout.repo

2. Then, confirm that the changes have been made:

grep -Eirh "(\[.*\]|enabled=)" /etc/yum.repos.d/* | grep -Ei "\[imunify360-rollout-2\]" -A 1
[imunify360-rollout-2]
enabled=0

3. Finally, remake Yum’s cache:

yum clean all
yum makecache

Next, you should able to run “yum update” with no issues.

[Need help with similar query? We’d be glad to assist you]

Conclusion

In short, today we saw how our Support Techs resolve Sqlite3 conflicts with alt-php-internal-common.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Categories

Tags