LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 10-31-2009, 02:06 PM   #1
sang_froid
Member
 
Registered: Oct 2006
Posts: 179

Rep: Reputation: 15
update packages except kernel


Hi

I would like to update RPMS in my system (RHEL 4) without updating kernel.... How do I do that ?

If I do up2date -u , then it is going to install kernel too from RHEL.

I only wish to update rpm packages....
 
Old 10-31-2009, 05:29 PM   #2
Mr-Bisquit
Member
 
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 66
Update as usual and have the current kernel as the default boot. You can comment out the new kernel from the boot process.
 
Old 10-31-2009, 07:24 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,297

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Actually it's quite simple to exclude packages :

Example line in /etc/yum.conf :
exclude=x*
.. and you get no packages starting with x.

exclude=kernel*
.. keeps your current kernel forever ...
.....
 
  


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
[SOLVED] Hmm... Kernel update. What packages do I need? I'm lost... halborr Slackware 16 08-20-2009 04:48 PM
update -u Did Not Update Kernel Packages cmnorton Red Hat 1 03-15-2008 09:09 AM
No sound after update packages....(including update alsa) Mathsniper Debian 8 11-22-2006 04:43 AM
usr/src/packages yast update kernel zapotek Linux - Software 2 06-22-2004 11:40 AM
Mandrake Update/Install Packages/Remove Packages wslyhbb Mandriva 2 03-15-2004 09:43 AM


All times are GMT -5. The time now is 10:05 AM.

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