LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-31-2009, 08:05 PM   #16
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,378

Rep: Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755

Try

cat /etc/redhat-release

to get the exact version, inc point version.
Post # 12 is very good advice; stick to Official CENTOS repos only until you get sorted out.
 
Old 06-01-2009, 06:06 AM   #17
AnaghaR
LQ Newbie
 
Registered: May 2009
Posts: 16

Original Poster
Rep: Reputation: 0
New problem I am facing in yum -y update

Dear Friends,

Thank you very much for the reply to the previous question.

Here I am facing new problem with yum. When I am executing the command:

#yum -y update.

I am getting following error:

Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mir...el-5&arch=i386 error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot find a valid baseurl for repo: epel

Can anyone help me to solve this.

Thanks in advance.

Regards,
Anagha
 
Old 06-01-2009, 07:23 PM   #18
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,378

Rep: Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755Reputation: 2755
1. do you really need a pkg that you can only get from the EPEL repo?
2. If so, it could well be what it says 'Temporary failure in name resolution'; try again.
Also, can you get to there via a web browser?
 
Old 06-02-2009, 03:31 AM   #19
Lee_Ball
Member
 
Registered: Jul 2005
Location: Manchester (UK)
Distribution: Fedora CentOS
Posts: 132

Rep: Reputation: 18
Quote:
Originally Posted by lazlow View Post
For Centos the upgrade/update argument is moot. Centos only supports the most current point version 5.X, 4.X, etc(when 5.3 came out support was dropped for 5.2).

You could download the Centos 5.3 DVD/cd.
Hmm, so how was I able to upgrade my home server from 5.2 to 5.3 then?

I agree, it might be different to go from 5 all the way to 5.3 but I could certainly upgrade from 5.2 to 5.3 using a yum upgrade as you say you cannot.
 
Old 06-02-2009, 05:18 AM   #20
rsciw
Member
 
Registered: Jan 2009
Location: Essex (UK)
Distribution: Home: Debian/Ubuntu, Work: Ubuntu
Posts: 206

Rep: Reputation: 44
same as lee ball, I upgraded via yum update (note: I used update) and it updated all from 5.2 to 5.3.
 
Old 06-02-2009, 11:56 AM   #21
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
I was not saying you could not do it. I was saying that it does not matter (on Centos) if you use update or upgrade. A fully updated 5.0 install is a 5.3 install.
 
Old 06-02-2009, 06:20 PM   #22
jerel4565
Member
 
Registered: Jun 2009
Distribution: Red Hat/ Centos
Posts: 33

Rep: Reputation: 16
I might be joining this post late but I recently had this issue with yum.

First restore the /etc/yum.repos.d/CentOS-Base.repo to where it is fetching from the mirrorlist.
Then back up /var/lib/rpm/__db* files in any directory then follow the following sequences of steps and let us know the results.

ls -l /var/lib/rpm
rm -f /var/lib/rpm/__db*
rpm -vv --rebuilddb
yum
yum clean all # This may be the farest that you have to go.
rm /var/run/yum.pid
yum clean all
yum update

If this fails just restore the __db* back to the /var/lib/rpm directory.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: PV-Grub on CentOS 5.2 PV DomU at Xen 3.3 CentOS 5.2 Dom0 (all 64-bit) LXer Syndicated Linux News 0 10-05-2008 10:12 PM
printer setup from Centos 5 to Vista home prem. on a headless centos pc ncsuapex Red Hat 6 03-10-2008 11:40 AM
LXer: Install CentOS 5 DomU on CentOS 5 Dom0(64 bit) from NFS share LXer Syndicated Linux News 0 11-09-2007 03:41 AM
LXer: CentOS announces CentOS 5 i386 Live CD LXer Syndicated Linux News 0 07-11-2007 07:01 AM
update centos 4 rc1 to centos 4 trou yum? maxut cAos 2 03-04-2005 02:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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