LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-17-2017, 06:13 AM   #1
taru.tarak
Member
 
Registered: Aug 2016
Distribution: CentOS
Posts: 81

Rep: Reputation: Disabled
PHP OAuth extension is not installing || Getting conflicting


Dear All,


I am trying to install PHP OAuth extension for the PHP 7.1 version in CentOS 6.9.
Unfortunately while installing in one step package is not get installed and I am getting below error:

=====================

[root@dev1 /]# yum install php-pecl-oauth
Loaded plugins: fastestmirror, replace
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.nbrc.ac.in
* epel: kartolo.sby.datautama.net.id
* extras: mirror.nbrc.ac.in
* remi: mirror.netsite.dk
* remi-safe: mirror.netsite.dk
* rpmforge: kartolo.sby.datautama.net.id
* rpmfusion-free-updates: kartolo.sby.datautama.net.id
* updates: mirror.nbrc.ac.in
* webtatic: sp.repo.webtatic.com
remi | 2.9 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package php-pecl-oauth.x86_64 0:1.2.3-9.el6.remi.5.4 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-x86-64 for package: php-pecl-oauth-1.2.3-9.el6.remi.5.4.x86_64
--> Processing Dependency: php(api) = 20100412-x86-64 for package: php-pecl-oauth-1.2.3-9.el6.remi.5.4.x86_64
--> Processing Dependency: /usr/bin/pecl for package: php-pecl-oauth-1.2.3-9.el6.remi.5.4.x86_64
--> Processing Dependency: /usr/bin/pecl for package: php-pecl-oauth-1.2.3-9.el6.remi.5.4.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:5.4.45-13.el6.remi will be installed
---> Package php-pear.noarch 1:1.10.5-2.el6.remi will be installed
--> Processing Dependency: php-posix for package: 1hp-pear-1.10.5-2.el6.remi.noarch
--> Running transaction check
---> Package php-process.x86_64 0:5.4.45-13.el6.remi will be installed
--> Processing Conflict: php71w-common-7.1.6-1.w6.x86_64 conflicts php-common < 7.1
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package php71w-common.x86_64 0:7.1.6-1.w6 will be updated
--> Processing Dependency: php71w-common(x86-64) = 7.1.6-1.w6 for package: php71w-mcrypt-7.1.6-1.w6.x86_64
--> Processing Dependency: php71w-common(x86-64) = 7.1.6-1.w6 for package: php71w-xml-7.1.6-1.w6.x86_64
--> Processing Dependency: php71w-common(x86-64) = 7.1.6-1.w6 for package: php71w-gd-7.1.6-1.w6.x86_64
--> Processing Dependency: php71w-common(x86-64) = 7.1.6-1.w6 for package: php71w-mbstring-7.1.6-1.w6.x86_64
--> Processing Dependency: php71w-common(x86-64) = 7.1.6-1.w6 for package: php71w-pdo-7.1.6-1.w6.x86_64
--> Processing Dependency: php71w-common(x86-64) = 7.1.6-1.w6 for package: php71w-intl-7.1.6-1.w6.x86_64
--> Processing Dependency: php71w-common(x86-64) = 7.1.6-1.w6 for package: php71w-cli-7.1.6-1.w6.x86_64
---> Package php71w-common.x86_64 0:7.1.7-1.w6 will be an update
--> Running transaction check
---> Package php71w-cli.x86_64 0:7.1.6-1.w6 will be updated
---> Package php71w-cli.x86_64 0:7.1.7-1.w6 will be an update
---> Package php71w-gd.x86_64 0:7.1.6-1.w6 will be updated
---> Package php71w-gd.x86_64 0:7.1.7-1.w6 will be an update
---> Package php71w-intl.x86_64 0:7.1.6-1.w6 will be updated
---> Package php71w-intl.x86_64 0:7.1.7-1.w6 will be an update
---> Package php71w-mbstring.x86_64 0:7.1.6-1.w6 will be updated
---> Package php71w-mbstring.x86_64 0:7.1.7-1.w6 will be an update
---> Package php71w-mcrypt.x86_64 0:7.1.6-1.w6 will be updated
---> Package php71w-mcrypt.x86_64 0:7.1.7-1.w6 will be an update
---> Package php71w-pdo.x86_64 0:7.1.6-1.w6 will be updated
--> Processing Dependency: php71w-pdo(x86-64) = 7.1.6-1.w6 for package: php71w-mysqlnd-7.1.6-1.w6.x86_64
---> Package php71w-pdo.x86_64 0:7.1.7-1.w6 will be an update
---> Package php71w-xml.x86_64 0:7.1.6-1.w6 will be updated
---> Package php71w-xml.x86_64 0:7.1.7-1.w6 will be an update
--> Running transaction check
---> Package php71w-mysqlnd.x86_64 0:7.1.6-1.w6 will be updated
---> Package php71w-mysqlnd.x86_64 0:7.1.7-1.w6 will be an update
--> Processing Conflict: php71w-common-7.1.7-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.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
=====================

It will be great help if someone let me know why it's conflicting and how we can solve this ?

Regards,
Tarak Nath
 
Old 08-17-2017, 11:00 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010
You're trying to install another version of php-common without removing the old version. Usually the system will just update the package. But it looks like you perhaps installed php-common from an outside source. I think the "remi" in the package name means remix.

But I could be wrong. Why don't you just try removing php-common-5.4.45-13.el6.remi.x86_64?
 
Old 08-17-2017, 11:25 PM   #3
taru.tarak
Member
 
Registered: Aug 2016
Distribution: CentOS
Posts: 81

Original Poster
Rep: Reputation: Disabled
PHP OAuth extension is not installing || Getting conflicting

Thank you so much for your response !

Previously, there was PHP older version, we have updated it from PHP 5.6 to 7.1

I think that during PHP version upgradation time may be someone used the webtatic repo and still its installed and enabled.

In addition, right now we also have the 'remi' repo installed and enabled, may be that's why this conflicts with webtatic when I am pulling php packages from the CentOS base/updates repos.

Let me know if I am right and what will be the best solution as this is our development server. Many on going projects are there and our developers works on this server regular basis.

Any response should be appreciated.

Regards,
Tarak Nath
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Googlecl stops work due change OAutGooglecl stops work due change OAuth 1.0 to OAuh 1.0 to OAuth 2.0 neymac Slackware 5 11-21-2015 03:26 PM
[SOLVED] Need help installing v8js PHP extension wh33t Ubuntu 6 07-30-2015 05:34 PM
LXer: Installing The PHP WebDAV Extension On Debian Squeeze LXer Syndicated Linux News 0 09-03-2012 04:30 AM
[SOLVED] OpenSSL PHP extension have to be enabled to use extension repository system. jsaravana87 Linux - Server 2 09-09-2011 12:00 AM
LXer: Installing The PHP WebDAV Extension On Debian Etch LXer Syndicated Linux News 0 08-13-2008 02:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration