LinuxQuestions.org
Visit Jeremy's Blog.
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 06-06-2010, 06: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, 06:39 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,311

Rep: Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574
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 06:40 PM.
 
Old 06-06-2010, 06: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, 07:14 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,311

Rep: Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574
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 07:18 PM.
 
Old 06-06-2010, 07: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



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

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

All times are GMT -5. The time now is 06:33 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration