package conflict even when no package installed

Issues related to applications and software problems
Post Reply
chetanMadnaik
Posts: 1
Joined: 2017/06/13 18:57:07

package conflict even when no package installed

Post by chetanMadnaik » 2017/06/13 19:10:29

i am doing setup of one project setup on amazon instance (centos 6.8)
while installing in one step package not get installed


>yum --enablerepo=epel install php-pgsql php php-pear php-pear-DB libpqxx-devel
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.pac-12.org
* epel: mirrors.cat.pdx.edu
* extras: mirrors.tummy.com
* updates: mirror.keystealth.org
* webtatic: us-east.repo.webtatic.com
Package 1:libpqxx-devel-4.0.1-2.el6.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.3.3-49.el6 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-49.el6 for package: php-5.3.3-49.el6.x86_64
--> Processing Dependency: php-cli(x86-64) = 5.3.3-49.el6 for package: php-5.3.3-49.el6.x86_64
---> Package php-pear.noarch 1:1.10.4-2.el6.remi will be installed
--> Processing Dependency: php-xml for package: 1:php-pear-1.10.4-2.el6.remi.noarch
--> Processing Dependency: php-posix for package: 1:php-pear-1.10.4-2.el6.remi.noarch
---> Package php-pear-DB.noarch 0:1.9.2-1.el6.remi will be installed
---> Package php-pgsql.x86_64 0:5.3.3-49.el6 will be installed
--> Processing Dependency: php-pdo(x86-64) for package: php-pgsql-5.3.3-49.el6.x86_64
--> Running transaction check
---> Package php-cli.x86_64 0:5.3.3-49.el6 will be installed
---> Package php-common.x86_64 0:5.3.3-49.el6 will be installed
---> Package php71w-pdo.x86_64 0:7.1.5-1.w6 will be installed
--> Processing Dependency: php71w-common(x86-64) = 7.1.5-1.w6 for package: php71w-pdo-7.1.5-1.w6.x86_64
---> Package php71w-process.x86_64 0:7.1.5-1.w6 will be installed
---> Package php71w-xml.x86_64 0:7.1.5-1.w6 will be installed
--> Running transaction check
---> Package php71w-common.x86_64 0:7.1.5-1.w6 will be installed
--> Processing Conflict: php71w-common-7.1.5-1.w6.x86_64 conflicts php-common < 7.1
--> Processing Conflict: php71w-common-7.1.5-1.w6.x86_64 conflicts php-common < 7.1
--> Finished Dependency Resolution
Error: php71w-common conflicts with php-common-5.4.45-13.el6.remi.i686
Error: php71w-common conflicts with php-common-5.3.3-49.el6.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


but i found there is no package installed
package-cleanup --problems finds no problems, and package-cleanup --cleandupes finds no duplicates
why is it conflicting?

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: package conflict even when no package installed

Post by TrevorH » 2017/06/13 20:19:18

You have the webtatic repo installed and enabled and this is not one that we recommend.

In addition, you appear to have the 'remi' repo installed and enabled and this conflicts with webtatic. Don't use them both. It looks to me like you have packages from remi installed already.

In addition, you are pulling php packages from the CentOS base/updates repos.

Pick one provider for your php packages and stick with it. Do not try to mix and match versions from different repos or you will get strange errors. Look at the output from rpm -qa php\* to see what you have currently installed.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply