Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 25, 2012, 10:01:09 AM

Pages: [1]   Go Down
  Print  
Author Topic: PHP Upgrade problems  (Read 2117 times)
Scottsman
Newbie
*
Offline Offline

Posts: 1


« on: October 19, 2009, 07:38:29 AM »

I'm trying to upgrade from PHP 4 to PHP 5 using this tutorial:
Code:
http://www.lunarforums.com/vps_hosting_at_lunarpages/php_and_mysql_upgrade_tutorial_for_vps_container_with_centos4-t53224.0.html


but I am getting errors...
When I try to install yum using this command:

Code:
rpm -ihv --nodeps http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/yum-2.4.3-4.el4.centos.noarch.rpm

I get this error:
Code:
file /usr/lib/python2.3/site-packages/yum/mdcache.pyc from install of yu
m-2.4.3-4.el4.centos conflicts with file from package yum-2.4.3-3.el4.centos
file /usr/lib/python2.3/site-packages/yum/mdparser.pyc from install of y
um-2.4.3-4.el4.centos conflicts with file from package yum-2.4.3-3.el4.centos
file /usr/lib/python2.3/site-packages/yum/misc.pyc from install of yum-2
.4.3-4.el4.centos conflicts with file from package yum-2.4.3-3.el4.centos
file /usr/lib/python2.3/site-packages/yum/packages.pyc from install of y
um-2.4.3-4.el4.centos conflicts with file from package yum-2.4.3-3.el4.centos
file /usr/lib/python2.3/site-packages/yum/pgpmsg.pyc from install of yum
-2.4.3-4.el4.centos conflicts with file from package yum-2.4.3-3.el4.centos
file /usr/lib/python2.3/site-packages/yum/plugins.pyc from install of yu
m-2.4.3-4.el4.centos conflicts with file from package yum-2.4.3-3.el4.centos
file /usr/lib/python2.3/site-packages/yum/repos.py from install of yum-2
.4.3-4.el4.centos conflicts with file from package yum-2.4.3-3.el4.centos
file /usr/lib/python2.3/site-packages/yum/repos.pyc from install of yum-
2.4.3-4.el4.centos conflicts with file from package yum-2.4.3-3.el4.centos
file /usr/lib/python2.3/site-packages/yum/sqlitecache.pyc from install o
f yum-2.4.3-4.el4.centos conflicts with file from package yum-2.4.3-3.el4.centos

file /usr/lib/python2.3/site-packages/yum/sqlitesack.pyc from install of
 yum-2.4.3-4.el4.centos conflicts with file from package yum-2.4.3-3.el4.centos
file /usr/lib/python2.3/site-packages/yum/transactioninfo.pyc from insta
ll of yum-2.4.3-4.el4.centos conflicts with file from package yum-2.4.3-3.el4.ce
ntos
file /usr/share/yum-cli/callback.pyc from install of yum-2.4.3-4.el4.ce
tos conflicts with file from package yum-2.4.3-3.el4.centos
file /usr/share/yum-cli/cli.pyc from install of yum-2.4.3-4.el4.centos
onflicts with file from package yum-2.4.3-3.el4.centos
file /usr/share/yum-cli/i18n.pyc from install of yum-2.4.3-4.el4.centos
conflicts with file from package yum-2.4.3-3.el4.centos
file /usr/share/yum-cli/output.pyc from install of yum-2.4.3-4.el4.cent
s conflicts with file from package yum-2.4.3-3.el4.centos
file /usr/share/yum-cli/progress_meter.pyc from install of yum-2.4.3-4.
l4.centos conflicts with file from package yum-2.4.3-3.el4.centos
file /usr/share/yum-cli/pullheaders.pyc from install of yum-2.4.3-4.el4
centos conflicts with file from package yum-2.4.3-3.el4.centos
file /usr/share/yum-cli/serverStuff.pyc from install of yum-2.4.3-4.el4
centos conflicts with file from package yum-2.4.3-3.el4.centos
file /usr/share/yum-cli/shell.pyc from install of yum-2.4.3-4.el4.cento
 conflicts with file from package yum-2.4.3-3.el4.centos
file /usr/share/yum-cli/translate.pyc from install of yum-2.4.3-4.el4.c
ntos conflicts with file from package yum-2.4.3-3.el4.centos
file /usr/share/yum-cli/yummain.pyc from install of yum-2.4.3-4.el4.cen
os conflicts with file from package yum-2.4.3-3.el4.centos
[root@vps ~]#

Has anyone had this problem when upgrading?
Logged
conga3
Knows just enough to get in trouble.
Spacescooter Operator
*****
Offline Offline

Posts: 39


WWW
« Reply #1 on: October 19, 2009, 09:09:08 AM »

I'm just a novice when it comes to Linux commands, but it appears you already have YUM installed. 

Are you trying to do this on a fresh VPS container?

Someone on here with actual knowledge with soon reply. 
Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1395



« Reply #2 on: October 21, 2009, 09:41:48 PM »


I agree with conga3. It appears you already have yum installed and can skip that step, if yum command works for you.
Logged

Kind Regards,
Vlad Artamonov
Don
Space Explorer
***
Offline Offline

Posts: 6


WWW
« Reply #3 on: March 23, 2010, 05:20:26 AM »

I'm having this same problem and am getting the same error messages. I can't continue with the steps in the tutorial because my version of yum, 2.0.8, is too old. Please advise.
Logged

Don
Space Explorer
***
Offline Offline

Posts: 6


WWW
« Reply #4 on: April 06, 2010, 09:14:21 PM »

I'm having this same problem and am getting the same error messages. I can't continue with the steps in the tutorial because my version of yum, 2.0.8, is too old. Please advise.

I was able to get this working after a few modifications to the instructions. As advised by Customer Support ( still the #1 reason I stay with LP  Thumbs Up  ) I upgraded versus installed yum with the commands: rpm -Uvh rpm.location

Also one of the paths in the FAQ is incorrect. I had to use:

rpm -ivh http://www.atomicorp.com/channels/atomic/centos/4/i386/RPMS/atomic-release-1.0-11.el4.art.noarch.rpm

instead of:

rpm -ivh http://www.atomicorp.com/channels/atomic/centos/4/i386/RPMS/atomic-release-1.0-10.el4.art.noarch.rpm

I also had to install yum-metadata-parser since it was a prerequisite.


« Last Edit: April 06, 2010, 09:16:48 PM by Don » Logged

Pages: [1]   Go Up
  Print  
 
Jump to: