LinuxQuestions.org
Help answer threads with 0 replies.
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 02-08-2009, 09:57 AM   #1
Qasimkasi
LQ Newbie
 
Registered: Feb 2009
Posts: 9

Rep: Reputation: 0
Post YUM Update


I have some problems to update yum.Ihave installed fedora core 5 and applying the command of yum on terminal (YUM -Y Update).
fedora didn't update the yum.
Sir kindly tell me how to update yum.
 
Old 02-08-2009, 10:00 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
You have to check the yum repositories under /etc/yum.repos.d and in particular check if the path on the server is still valid, since FC5 has been discontinued some time ago. Then consider if upgrading to a newer release can be an option.
 
Old 02-08-2009, 10:09 AM   #3
Qasimkasi
LQ Newbie
 
Registered: Feb 2009
Posts: 9

Original Poster
Rep: Reputation: 0
sir i apply this command on terminal
YUM -Y UPDATE
And the result is this one

---------------------------------
yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
core [1/3]
Cannot find a valid baseurl for repo: core
Error: Cannot find a valid baseurl for repo: core
 
Old 02-08-2009, 10:34 AM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Ok. You have to check the file /etc/yum.repos.d/fedora.repo and see if the baseurl specified under the [core] section is still valid. Fedora Core 5 is quite old, so there is a chance that the original repository has been displaced onto another path in the fedora server.

Anyway, I strongly suggest to upgrade (or to do a fresh install) to a more recent release. Fedora 10 is the last stable release of fedora, now!
 
Old 02-08-2009, 12:08 PM   #5
Qasimkasi
LQ Newbie
 
Registered: Feb 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Sir kindly check this
is this ok or not..

[core]
name=Fedora Core $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-debuginfo]
name=Fedora Core $releasever - $basearch - Debug
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/debug/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-source]
name=Fedora Core $releasever - Source
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/source/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
 
Old 02-08-2009, 06:18 PM   #6
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Code:
[core]
name=Fedora Core $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
As you can see, these URLs are not valid anymore. The mirror list points to a non existent page and if you try to go to http://download.fedora.redhat.com/pu...a/linux/core/5, you will find an empty directory!

So you have to locate a still active server and change the URLs accordingly. Here is the advice from the Fedora Download server:
Quote:
ATTENTION
======================================
The contents of this directory have been moved to our archives available at:

http://archives.fedoraproject.org/pub/archive/fedora/
So you have to navigate through the suggested URL and find the one suitable for your system, assuming $releasever = 5 and $basearch = i386 or x86_64 (based on the actual architecture of the system). For example you can try to modify the [core] section of fedora.repo like this (assuming the architecture is i386:
Code:
name=Fedora Core $releasever - $basearch
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/core/$releasever/$basearch/os/
#mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
Note that I have commented out the mirrorlist line and uncommented the baseurl line after changing the URL.
 
Old 02-10-2009, 09:30 AM   #7
Qasimkasi
LQ Newbie
 
Registered: Feb 2009
Posts: 9

Original Poster
Rep: Reputation: 0
sir

i have installed fedora core 7 and update the yum
i apply this command
-----------------
Yum -y update
-----------------
loading "installonly" plugin
Existing lock /var/run/yum.pid: another copy is runnig as pid 2678.aborting.

please tell me how to update yum on fedora 7
 
Old 02-10-2009, 09:42 AM   #8
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Quote:
Originally Posted by Qasimkasi View Post
Existing lock /var/run/yum.pid: another copy is runnig as pid 2678.aborting.
This is another story: maybe another yum session was still running, so you have to wait for the previous session of yum to finish. There is a chance that the automatic update is setup, so that when you login it activates (and keep yum busy) to retrieve the list of available updates and show you a pop-up message on the desktop. If this is the case, you have to let this process to complete before running yum from the terminal. Hope this helps.
 
Old 02-10-2009, 10:39 AM   #9
Qasimkasi
LQ Newbie
 
Registered: Feb 2009
Posts: 9

Original Poster
Rep: Reputation: 0
ok i will try
sir i am making a voip server on fedora core 7
is it easy or not
 
Old 02-10-2009, 04:33 PM   #10
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Here is an article that can be interesting for you: Open source telephony: a Fedora-based VoIP server with Asterisk.
 
Old 02-12-2009, 08:48 AM   #11
Qasimkasi
LQ Newbie
 
Registered: Feb 2009
Posts: 9

Original Poster
Rep: Reputation: 0
thanks for the yum updates of fc7
sir i have another problem on fedora coe7 i am installing the pear.
--------------------------------
#wget http://pear.php.net/DB-1.7.13.tgz
--------------------------------
--00:32:04-- http://pear.php.net/DB-1.7.13.tgz
=>'DB-1.7.13.tgz'
Resolving pear.php.net...78.129.214.25
Connecting to pear.php.net|78.129.214.25|:80...connected.
HTTP request sent,awaiting response...404 Not found
00:32:04 ERROR 404: Not Found.
 
Old 02-12-2009, 09:55 AM   #12
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
The error message is quite clear: file not found! Try the following, using the correct URL:
Code:
wget http://download.pear.php.net/package/DB-1.7.13.tgz
 
Old 02-16-2009, 12:09 PM   #13
Qasimkasi
LQ Newbie
 
Registered: Feb 2009
Posts: 9

Original Poster
Rep: Reputation: 0
i have configured all the voip server but the end there is problem
Sir I have apply this command on fedora core 7
----------------
./install_amp
---------------
Checking for PEAR DB..FAILED
[FATAL] PEAR must be installed (requires DB.php). Include path: .:/usr/share/pear:/usr/share/ph
 
Old 02-17-2009, 07:03 AM   #14
Qasimkasi
LQ Newbie
 
Registered: Feb 2009
Posts: 9

Original Poster
Rep: Reputation: 0
i have apply this command on the voip server
--------------
./install-amp
-------------
cannot connect to the database
 
  


Reply

Tags
yum update



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
yum question: How to update from backed up yum cache? Arodef Linux - Software 2 02-02-2010 11:42 PM
Yum update stopped responding during kernel update install, now server load is high pulsorock Linux - Kernel 1 12-31-2008 01:55 AM
Yum on FC6. 'yum update' error. mufy Fedora 8 06-14-2007 02:03 AM
Query re: order of yum update and yum install jajtiii Linux - General 0 12-12-2005 12:48 PM
trying to update via yum and update fails lnxmacusr Fedora 4 12-17-2004 03:12 PM

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

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