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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-08-2009, 09:57 AM
|
#1
|
|
LQ Newbie
Registered: Feb 2009
Posts: 9
Rep:
|
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.
|
|
|
|
02-08-2009, 10:00 AM
|
#2
|
|
Moderator
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.4 OpenSuSE 12.2
Posts: 9,893
|
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.
|
|
|
|
02-08-2009, 10:09 AM
|
#3
|
|
LQ Newbie
Registered: Feb 2009
Posts: 9
Original Poster
Rep:
|
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
|
|
|
|
02-08-2009, 10:34 AM
|
#4
|
|
Moderator
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.4 OpenSuSE 12.2
Posts: 9,893
|
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!
|
|
|
|
02-08-2009, 12:08 PM
|
#5
|
|
LQ Newbie
Registered: Feb 2009
Posts: 9
Original Poster
Rep:
|
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
|
|
|
|
02-08-2009, 06:18 PM
|
#6
|
|
Moderator
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.4 OpenSuSE 12.2
Posts: 9,893
|
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:
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.
|
|
|
|
02-10-2009, 09:30 AM
|
#7
|
|
LQ Newbie
Registered: Feb 2009
Posts: 9
Original Poster
Rep:
|
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
|
|
|
|
02-10-2009, 09:42 AM
|
#8
|
|
Moderator
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.4 OpenSuSE 12.2
Posts: 9,893
|
Quote:
Originally Posted by Qasimkasi
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.
|
|
|
|
02-10-2009, 10:39 AM
|
#9
|
|
LQ Newbie
Registered: Feb 2009
Posts: 9
Original Poster
Rep:
|
ok i will try
sir i am making a voip server on fedora core 7
is it easy or not
|
|
|
|
02-10-2009, 04:33 PM
|
#10
|
|
Moderator
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.4 OpenSuSE 12.2
Posts: 9,893
|
|
|
|
|
02-12-2009, 08:48 AM
|
#11
|
|
LQ Newbie
Registered: Feb 2009
Posts: 9
Original Poster
Rep:
|
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.
|
|
|
|
02-12-2009, 09:55 AM
|
#12
|
|
Moderator
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.4 OpenSuSE 12.2
Posts: 9,893
|
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
|
|
|
|
02-16-2009, 12:09 PM
|
#13
|
|
LQ Newbie
Registered: Feb 2009
Posts: 9
Original Poster
Rep:
|
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
|
|
|
|
02-17-2009, 07:03 AM
|
#14
|
|
LQ Newbie
Registered: Feb 2009
Posts: 9
Original Poster
Rep:
|
i have apply this command on the voip server
--------------
./install-amp
-------------
cannot connect to the database
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:47 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|