store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Tue May 21, 2013 7:47 am

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 4 posts ] 
Author Message
 Post subject: Unable to update php 4.3.9 to php 5
Unread postPosted: Fri Dec 19, 2008 9:14 am 
Offline
Forum User
Forum User

Joined: Wed May 21, 2008 3:23 pm
Posts: 56
I just got a VPS at vpsland, a CentOS 4 X86_64.

I tried to update the php version after enabling atomic and plesk repositories, but i get the following error;

Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package php.x86_64 0:5.2.8-1.el4.art set to be updated
--> Running transaction check
--> Processing Dependency: php = 4.3.9-3.22.12 for package: php-snmp
--> Processing Dependency: php = 4.3.9-3.22.12 for package: php-odbc
--> Processing Dependency: php = 4.3.9-3.22.12 for package: php-mbstring
--> Processing Dependency: php = 4.3.9-3.22.12 for package: php-domxml
--> Processing Dependency: php = 4.3.9-3.22.12 for package: php-ldap
--> Processing Dependency: php = 4.3.9-3.22.12 for package: php-imap
--> Processing Dependency: php = 4.3.9-3.22.12 for package: php-devel
--> Processing Dependency: php-common = 5.2.8-1.el4.art for package: php
--> Processing Dependency: php <= 4.4.0 for package: php-sqlite2
--> Processing Dependency: php = 4.3.9-3.22.12 for package: php-pear
--> Processing Dependency: php-cli = 5.2.8-1.el4.art for package: php
--> Processing Dependency: php = 4.3.9-3.22.12 for package: php-ncurses
--> Processing Dependency: php = 4.3.9-3.22.12 for package: php-gd
--> Processing Dependency: php = 4.3.9-3.22.12 for package: php-mysql
--> Processing Dependency: /usr/bin/php for package: psa-horde
--> Processing Dependency: php = 4.3.9-3.22.12 for package: php-xmlrpc
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package php-ncurses.x86_64 0:5.2.8-1.el4.art set to be updated
---> Package php-imap.x86_64 0:5.2.8-1.el4.art set to be updated
---> Package php-xmlrpc.x86_64 0:5.2.8-1.el4.art set to be updated
---> Package php-cli.x86_64 0:5.2.8-1.el4.art set to be updated
---> Package php-ldap.x86_64 0:5.2.8-1.el4.art set to be updated
---> Downloading header for php-xml to pack into transaction set.
php-xml-5.2.6-1.el4.art.x 100% |=========================| 13 kB 00:00
---> Package php-xml.x86_64 0:5.2.6-1.el4.art set to be updated
---> Package php-mbstring.x86_64 0:5.2.8-1.el4.art set to be updated
---> Downloading header for php-pdo to pack into transaction set.
php-pdo-5.2.5-2.el4.art.x 100% |=========================| 13 kB 00:00
---> Package php-pdo.x86_64 0:5.2.5-2.el4.art set to be updated
---> Package php-snmp.x86_64 0:5.2.8-1.el4.art set to be updated
---> Package php-gd.x86_64 0:5.2.8-1.el4.art set to be updated
---> Package php-devel.x86_64 0:5.2.8-1.el4.art set to be updated
---> Package php-mysql.x86_64 0:5.2.8-1.el4.art set to be updated
---> Package php-odbc.x86_64 0:5.2.8-1.el4.art set to be updated
---> Package php-common.x86_64 0:5.2.8-1.el4.art set to be updated
--> Running transaction check
--> Processing Dependency: php = 4.3.9-3.22.12 for package: php-pear
--> Processing Dependency: php-common = 5.2.5-2.el4.art for package: php-pdo
--> Processing Dependency: php-common = 5.2.6-1.el4.art for package: php-xml
--> Finished Dependency Resolution
Error: Missing Dependency: php = 4.3.9-3.22.12 is needed by package php-pear
Error: Missing Dependency: php-common = 5.2.5-2.el4.art is needed by package php-pdo
Error: Missing Dependency: php-common = 5.2.6-1.el4.art is needed by package php-xml


This is a virtuozzo panel with plesk 8.6. is it safe to remove php and reinstall it, with the hope it will install the latest version platform?


Top
 Profile  
 
 Post subject:
Unread postPosted: Fri Dec 19, 2008 10:59 am 
Offline
Forum Regular
Forum Regular

Joined: Mon Apr 10, 2006 12:55 pm
Posts: 656
Try these commands, one at a time. If each works, try upgrading again.

Quote:
#yum install php-pear
#rpm -e php-pdo
#rpm -e php-xml


Top
 Profile  
 
 Post subject:
Unread postPosted: Sat Dec 20, 2008 3:56 pm 
Offline
Forum User
Forum User

Joined: Wed May 21, 2008 3:23 pm
Posts: 56
thanks Highland, i tried the command yum install php-pear and i got the error message -

Error: Missing Dependency: php-common = 5.2.5-2.el4.art is needed by package php-pdo
Error: Missing Dependency: php-common = 5.2.6-1.el4.art is needed by package php-xml

So i tried doing a yum install php-common and got another message -

Transaction Check Error: file /etc/php.ini from install of php-common-5.2.8-1.el4.art conflicts with file from package php-4.3.9-3.22.12


dont know how to proceed from here.

Thanks


Top
 Profile  
 
 Post subject:
Unread postPosted: Fri Jan 02, 2009 1:30 pm 
Offline
Forum Regular
Forum Regular

Joined: Mon Nov 28, 2005 4:44 pm
Posts: 119
To get php-pear to install I had to disable my CentOS-Base.repo. Then it stopped complaining about php 4.3.9 and grabbed it from ART.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 4 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group