Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-09-2009, 11:26 PM   #16
LQ Newbie
Registered: Dec 2006
Posts: 10

Original Poster
Rep: Reputation: 0

I tried to edit my repos :
name=CentOS-4.7 - Base

#released updates 
name=CentOS-$releasever - Updates
But it doesn't work. My system is currently using CentOS 4.5. I will upgrade it to 4.7. I hope that my manager will agree with that change.

Thank you very much.
Old 08-10-2009, 12:10 AM   #17
Senior Member
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Go back and read my post again. You did not follow what I asked you to do(and as you have seen it does matter).

Edit: You may also have to run a "yum clean all" after any change to clear any cached information.

Last edited by lazlow; 08-10-2009 at 12:15 AM.
Old 08-10-2009, 03:36 AM   #18
LQ Newbie
Registered: Nov 2006
Posts: 11

Rep: Reputation: 1

so the link is ok

Well, just two questions:

1. What error are you getting??

2. If you hardcode version 4.7 in "Base" and in "Update"and run "yum update", is the System not updating directly to 4.7??

Well I really, really would prefer to update to the most stable Release either of 4.x or 5.x (lazlow: you are right.. if there is no need to make an update from 4.x to 5.x, it shouldn`t be done, but that`s why I asked for the need of a 4.x version)

Either hardcoding the repos is not a very good way.. it may help you this time, but next time you are searching for a yum problem not thinking about that you hardcoded some repos may drive you crazy.
Old 08-10-2009, 03:57 AM   #19
Senior Member
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
What you may have to do is comment out(add a # in front of)the above line and TEMPORARILY hard code in the proper address(just until you can get through a basic yum update).

Which is why I put it the way that I did.


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
How To Install MySQL 5.1 in CentOS? chillyroll Linux - Newbie 6 07-23-2010 02:16 AM
How to install kde ,apache mysql php and qt4 in centos krmkrishnan Linux - Newbie 3 07-06-2009 07:46 AM
error in installing mysql i.e. mysql-5.1.34-linux-powerpc-glibc23 in centos 4.4 i686 pankajd Linux - Newbie 1 06-07-2009 03:00 PM
cannot install mysql-server Centos 5.2 sycamorex Linux - Server 5 03-16-2009 08:12 PM
Install MySQL on CentOS 3.4 gives error Azzath Linux - Server 2 05-24-2007 12:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration