LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
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
 
LinkBack Search this Thread
Old 06-06-2010, 05:26 PM   #1
Obi-Wan
LQ Newbie
 
Registered: Jun 2010
Posts: 3

Rep: Reputation: 0
updating RedHat 5.1


Hi all,

Can any one tell me how I can update RedHat 5.1 without it getting upgraded to 5.5?

Thanks
 
Old 06-06-2010, 05:39 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,299

Rep: Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352
Welcome to LQ.

Assume , that you have a Redhat account.
And will use 'yum' for the package update :

Add a line to /etc/yum.conf : exclude=something*

Say you want to keep your old kernel, then :
exclude=kernel*
.

Last edited by knudfl; 06-06-2010 at 05:40 PM.
 
Old 06-06-2010, 05:51 PM   #3
Obi-Wan
LQ Newbie
 
Registered: Jun 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the quick answer!

Do I need to give it the full name for the kernel? or just kernel*?
 
Old 06-06-2010, 06:14 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,299

Rep: Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352
The star ( * ) is a wildcard.

Any package starting with the word "kernel"
will not be updated.

Please do not write a specific version.
That will most probably go wrong.
kernel* is what it takes.
..

Another example : exclude=x*
will exclude all packages starting with x.
..

Last edited by knudfl; 06-06-2010 at 06:18 PM.
 
Old 06-06-2010, 06:16 PM   #5
Obi-Wan
LQ Newbie
 
Registered: Jun 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you !
 
  


Reply

Tags
exclude


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
updating redhat. has redhat frozen wogga Linux - Software 1 05-25-2004 05:28 PM
updating from redhat 7.1 to 9.0 ilyash Linux - Software 5 10-23-2003 06:35 PM
RedHat 9 updating? Dk975 Linux - Newbie 3 09-15-2003 09:22 PM
Updating redhat 9 jiggywiggy Linux - Software 3 08-29-2003 02:07 PM
updating redhat niton Linux - Newbie 2 07-18-2002 07:07 PM


All times are GMT -5. The time now is 01:43 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration