LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 04-02-2014, 01:25 AM   #1
centurypixel
LQ Newbie
 
Registered: Apr 2014
Posts: 4

Rep: Reputation: Disabled
Unhappy Upgrading PHP 5.3.3 to 5.4 CentOS 6.4 (Transaction Check Error)


I am trying to upgrade PHP 5.3.3 to PHP 5.4

I have used this command:

Code:
yum --enablerepo=remi,remi-php55 update --skip-broken -y
However I got this error:
Code:
Transaction Check Error:

file /usr/lib64/mysql/libmysqlclient.so.16.0.0 from install of compat-mysql51-5.1.54-1.el6.remi.x86_64 conflicts with file from package mysql-libs-5.1.69-1.el6_4.x86_64

file /usr/lib64/mysql/libmysqlclient_r.so.16.0.0 from install of compat-mysql51-5.1.54-1.el6.remi.x86_64 conflicts with file from package mysql-libs-5.1.69-1.el6_4.x86_64
Any help would greatly be appreciated!

Thank you!
 
Old 04-02-2014, 02:40 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Have you tried installing newer PHP version instead of updating? Does that also give the same error? Using multiple repositories usually have this dependency conflicting issues.
 
Old 04-02-2014, 04:52 AM   #3
centurypixel
LQ Newbie
 
Registered: Apr 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
I wish I knew how to do that. I am assuming I would need to remove all existing repositories and uninstall current version. I will Google for references, but if you know of a good documentation or maybe provide some steps, that would be very helpful!

Thank you.
 
Old 04-02-2014, 05:13 AM   #4
centurypixel
LQ Newbie
 
Registered: Apr 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
I stopped and httpd and executed command yum remove php* to remove it. It seems to be removed.

However, when I run the yum install php I get the same error:

Quote:
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: p3plmirror02.prod.phx3.secureserver.net
* epel: epel.mirror.freedomvoice.com
* extras: p3plmirror02.prod.phx3.secureserver.net
* remi: mirrors.mediatemple.net
* updates: p3plmirror02.prod.phx3.secureserver.net
remi | 2.9 kB 00:00
Not using downloaded repomd.xml because it is older than what we have:
Current : Wed Apr 2 01:39:10 2014
Downloaded: Tue Apr 1 00:02:47 2014
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
---> Package php.x86_64 0:5.4.26-1.el6.remi will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.26-1.el6.remi for package: php-5.4.26-1.el6.remi.x86_64
--> Processing Dependency: php-cli(x86-64) = 5.4.26-1.el6.remi for package: php-5.4.26-1.el6.remi.x86_64
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: php-5.4.26-1.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: php-5.4.26-1.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) for package: php-5.4.26-1.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1)(64bit) for package: php-5.4.26-1.el6.remi.x86_64
--> Running transaction check
---> Package php.x86_64 0:5.4.26-1.el6.remi will be installed
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: php-5.4.26-1.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: php-5.4.26-1.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) for package: php-5.4.26-1.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1)(64bit) for package: php-5.4.26-1.el6.remi.x86_64
---> Package php-cli.x86_64 0:5.4.26-1.el6.remi will be installed
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: php-cli-5.4.26-1.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: php-cli-5.4.26-1.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) for package: php-cli-5.4.26-1.el6.remi.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1)(64bit) for package: php-cli-5.4.26-1.el6.remi.x86_64
---> Package php-common.x86_64 0:5.4.26-1.el6.remi will be installed
--> Finished Dependency Resolution
Error: Package: php-5.4.26-1.el6.remi.x86_64 (remi)
Requires: libssl.so.10(libssl.so.10)(64bit)
Error: Package: php-cli-5.4.26-1.el6.remi.x86_64 (remi)
Requires: libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit)
Error: Package: php-5.4.26-1.el6.remi.x86_64 (remi)
Requires: libcrypto.so.10(libcrypto.so.10)(64bit)
Error: Package: php-cli-5.4.26-1.el6.remi.x86_64 (remi)
Requires: libssl.so.10(libssl.so.10)(64bit)
Error: Package: php-cli-5.4.26-1.el6.remi.x86_64 (remi)
Requires: libcrypto.so.10(libcrypto.so.10)(64bit)
Error: Package: php-5.4.26-1.el6.remi.x86_64 (remi)
Requires: libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit)
Error: Package: php-5.4.26-1.el6.remi.x86_64 (remi)
Requires: libcrypto.so.10(OPENSSL_1.0.1)(64bit)
Error: Package: php-cli-5.4.26-1.el6.remi.x86_64 (remi)
Requires: libcrypto.so.10(OPENSSL_1.0.1)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Looking at my repository:
sudo vi /etc/yum.repos.d/remi.repo

Below is enabled:
Quote:
[remi]
name=Les RPM de remi pour Enterprise Linux 6 - $basearch
#baseurl=http://rpms.famillecollet.com/enterprise/6/remi/$basearch/
mirrorlist=http://rpms.famillecollet.com/enterprise/6/remi/mirror
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
Basically I tried the steps here: http://kb.parallels.com/en/115875
However, I get stuck at yum install php command with the dependency errors above.

PLEASE HELP!!!
 
Old 04-02-2014, 02:49 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,001

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
http://developerblog.redhat.com/2013...6-using-rhscl/
 
Old 04-03-2014, 12:19 AM   #6
remic
LQ Newbie
 
Registered: Apr 2014
Location: France
Distribution: Fedora
Posts: 1

Rep: Reputation: Disabled
> Requires: libssl.so.10(libssl.so.10)(64bit)
You need latest openssl which is part of CentOS 6.5
 
Old 04-03-2014, 03:46 AM   #7
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
It looks like you're mixing Centos, epel and remi repos.
I strongly recommend you use http://wiki.centos.org/PackageManagement/Yum/Priorities before you completely bork your system.
 
  


Reply



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
Transaction Check Error: Using YUM Extender for Upgrading System swamprat Linux - Newbie 4 11-13-2013 06:01 PM
Transaction Check Error in DNS server running centos 5.7 SarahGurung Linux - Newbie 32 01-27-2012 05:39 PM
Transaction Check error installing GNOME via yum on Centos.. scratt Linux - Server 2 10-19-2009 03:28 AM
yum update Transaction Check Error JonBL Linux - Software 21 08-10-2007 10:33 PM
nvidia drivers - transaction check - error? bjs Fedora 2 07-30-2006 11:16 AM

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

All times are GMT -5. The time now is 06:21 PM.

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