LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 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: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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



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 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

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

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