LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-05-2010, 11:21 PM   #1
niteshnrv
LQ Newbie
 
Registered: Apr 2010
Posts: 3

Rep: Reputation: 0
problem updating php on FC6


i have php-5.1.6 installed on fedora core 6
and i want to upgrade it to php-5.2.5

i do yum update and got this:

[root@XYZ ~]# yum -y update php
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
core 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Could not find update match for php
No Packages marked for Update/Obsoletion


is there any other way to update to php-5.2.5

Thanks,
Nitesh.
 
Old 07-05-2010, 11:42 PM   #2
blue_print
Member
 
Registered: May 2010
Location: In world
Distribution: RHEL, CentOS, Ubuntu
Posts: 275
Blog Entries: 3

Rep: Reputation: 50
FC6 is EOFL (End Of Life). You will have to upgrade PHP manually using RPMS. you can download RPMs at http://rpm.pbone.net/index.php3
 
Old 07-07-2010, 10:46 AM   #3
niteshnrv
LQ Newbie
 
Registered: Apr 2010
Posts: 3

Original Poster
Rep: Reputation: 0
thanks for the earliest reply.

i am new to linux. can you please help me how to upgrade it manually and which rpm to choose.

these are the steps i followed:

# rpm -Uvh php-5.3.2-2.fc6.remi.i386.rpm
bit i get the following error :

warning: php-5.3.2-2.fc6.remi.i386.rpm: Header V3 DSA signature: NOKEY, key ID 00f97f56
error: Failed dependencies:
php-cli = 5.3.2-2.fc6.remi is needed by php-5.3.2-2.fc6.remi.i386
php-common = 5.3.2-2.fc6.remi is needed by php-5.3.2-2.fc6.remi.i386
php = 5.1.6-3 is needed by (installed) php-ldap-5.1.6-3.i386
php = 5.1.6-3 is needed by (installed) php-pdo-5.1.6-3.i386
php = 5.1.6-3 is needed by (installed) php-mysql-5.1.6-3.i386

i also tried to install php-cli and php-common but the result was same with error

warning: php-common-5.3.2-2.fc6.remi.i386.rpm: Header V3 DSA signature: NOKEY, key ID 00f97f56
error: Failed dependencies:
php-common = 5.1.6-3 is needed by (installed) php-cli-5.1.6-3.i386
php-common = 5.1.6-3 is needed by (installed) php-5.1.6-3.i386


warning: php-cli-5.3.2-2.fc6.remi.i386.rpm: Header V3 DSA signature: NOKEY, keyID 00f97f56
error: Failed dependencies:
libedit.so.0 is needed by php-cli-5.3.2-2.fc6.remi.i386
php-common = 5.3.2-2.fc6.remi is needed by php-cli-5.3.2-2.fc6.remi.i386
php-cli = 5.1.6-3 is needed by (installed) php-5.1.6-3.i386

do i need to first uninstall the current php??
 
Old 07-07-2010, 11:02 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,617

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by niteshnrv View Post
thanks for the earliest reply.
i am new to linux. can you please help me how to upgrade it manually and which rpm to choose.

these are the steps i followed:
# rpm -Uvh php-5.3.2-2.fc6.remi.i386.rpm
bit i get the following error :

warning: php-5.3.2-2.fc6.remi.i386.rpm: Header V3 DSA signature: NOKEY, key ID 00f97f56
error: Failed dependencies:
php-cli = 5.3.2-2.fc6.remi is needed by php-5.3.2-2.fc6.remi.i386
php-common = 5.3.2-2.fc6.remi is needed by php-5.3.2-2.fc6.remi.i386
php = 5.1.6-3 is needed by (installed) php-ldap-5.1.6-3.i386
php = 5.1.6-3 is needed by (installed) php-pdo-5.1.6-3.i386
php = 5.1.6-3 is needed by (installed) php-mysql-5.1.6-3.i386

i also tried to install php-cli and php-common but the result was same with error

warning: php-common-5.3.2-2.fc6.remi.i386.rpm: Header V3 DSA signature: NOKEY, key ID 00f97f56
error: Failed dependencies:
php-common = 5.1.6-3 is needed by (installed) php-cli-5.1.6-3.i386
php-common = 5.1.6-3 is needed by (installed) php-5.1.6-3.i386


warning: php-cli-5.3.2-2.fc6.remi.i386.rpm: Header V3 DSA signature: NOKEY, keyID 00f97f56
error: Failed dependencies:
libedit.so.0 is needed by php-cli-5.3.2-2.fc6.remi.i386
php-common = 5.3.2-2.fc6.remi is needed by php-cli-5.3.2-2.fc6.remi.i386
php-cli = 5.1.6-3 is needed by (installed) php-5.1.6-3.i386

do i need to first uninstall the current php??
No, but you do need to install all the dependencies. Download them all manually, and install/upgrade them one by one. You will also have to do that for all THEIR dependencies too.

FC6 is very, VERY old. You are upgrading a system that has numerous, well known security vulnerabilities, no patches available for it, and no upgrades available for it. Best thing for you to do, is to do a fresh install of the latest Fedora, which is 13.
 
Old 07-07-2010, 11:02 AM   #5
rsciw
Member
 
Registered: Jan 2009
Location: Essex (UK)
Distribution: Home: Debian/Ubuntu, Work: Ubuntu
Posts: 206

Rep: Reputation: 44
most likely you will have to remove all current php installations, as they will cause dependency errors.

Better suggestions is however to install the latest Fedora, as FC6 is, as blue_print already mentioned, at End Of Life.
 
Old 07-07-2010, 02:49 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
is this on a server ? and is it Godaddy ??

fedora 6 is dead .
i would use RHEL 5.5 and buy it or install CentOS 5.5

if Godady use the power of your cash and MOVE to a different host.
 
Old 07-08-2010, 10:25 PM   #7
niteshnrv
LQ Newbie
 
Registered: Apr 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks to you all for your help and reply...

i uninstall the current php version and then manually installed latest version php-5.3.2-2 and all its dependencies one by one

and it worked for me...

now i have another problem, i do this all to upload a drupal-6 site on my server which is developed on another server.
i copied the code and database and move it to my server. every thing was looking fine. i am able to access the main page but not any other links or content on the main page. the error coming is 'This link appears to be broken'

is this due to the unstable version of php or something else. the site is working fine at my windows desktop with XAMPP.
 
  


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
[SOLVED] Problem with variables after updating PHP to 5.2.11 WhisperiN Linux - General 1 10-16-2009 07:30 AM
FC6 Yum Error When Updating System jc_cpu Linux - Software 7 05-03-2008 01:35 PM
XEN. Problem with install guest FC6 (i386) on platform FC6 (x86_64) Alex_Saf Fedora 0 12-04-2006 12:15 AM
problem in updating in PHP mohtasham1983 Programming 3 01-06-2006 04:14 PM
Updating php 4.3.1 from tar and keeping current php configuration with mandrake 9.1 mrjeep Linux - General 0 04-02-2003 07:50 AM

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

All times are GMT -5. The time now is 04:41 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