Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Other Versions > EOL (End Of Life) Versions
FedoraForum Search

Forgot Password? Join Us!

EOL (End Of Life) Versions This is a Forum to discuss problems and workarounds for versions of Fedora that have passed End of Life.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12th December 2007, 11:03 PM
maitrebart Offline
Registered User
 
Join Date: Jun 2007
Posts: 23
FC6: How to preserve some kernel versions while updating for a new one?

I noticed that when a new kernel version is available from FC6, it removes the 2nd-last kernel version (maybe more?).

I understand that keeping all the versions occupies some spaces. But I'd like to keep specific versions still active while updating to the latest ones because I need to stabilize my driver code before changing to the new kernel version.

Is there a way to tell FC6 not to delete any previous kernel version(s) while updating to a new one? In other words, I'd like to decide by myself when I'm finished with a particular kernel version.
Reply With Quote
  #2  
Old 13th December 2007, 12:08 AM
jbkt23 Offline
Registered User
 
Join Date: Mar 2006
Posts: 546
In the following file you can change the tokeep line to how many previous kernels to retain
/etc/yum/pluginconf.d/installonlyn.conf.

[main]
tokeep = 2
enabled = 1

Now if you want to keep specific versions and not more than the total you have specified above then you need to use yum remove or rpm -ev the unwanted kernel<versions>.fc6. tokeep is not sequential it is total #.
But I don't think you need to worry about future kernel versions with Fc6 as it is now officially unmaintained. But, when you upgrade to the next version you will be prepared.
__________________
jbkt23
Reply With Quote
  #3  
Old 13th December 2007, 01:16 AM
BostonWatcher Offline
Registered User
 
Join Date: Mar 2005
Posts: 74
In newer versions of yum, the installonly pluggin has been merged with yum. See this thread:

http://forums.fedoraforum.org/showthread.php?t=164798
Reply With Quote
  #4  
Old 17th December 2007, 04:35 PM
maitrebart Offline
Registered User
 
Join Date: Jun 2007
Posts: 23
Quote:
Originally Posted by jbkt23
In the following file you can change the tokeep line to how many previous kernels to retain
/etc/yum/pluginconf.d/installonlyn.conf.
[...]
Thanks for the info. I just wonder if it applies to kernel packages only, or if it applies to all packages?

In the latter case, would there be a way to signify only for kernel packages?
Reply With Quote
  #5  
Old 17th December 2007, 04:44 PM
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 6,058
It only applies to the kernel versions.

Paul
Reply With Quote
  #6  
Old 17th December 2007, 05:01 PM
maitrebart Offline
Registered User
 
Join Date: Jun 2007
Posts: 23
Ok, thanks all!
Reply With Quote
  #7  
Old 17th December 2007, 08:31 PM
BostonWatcher Offline
Registered User
 
Join Date: Mar 2005
Posts: 74
Quote:
Originally Posted by PabloTwo
It only applies to the kernel versions.
When setting "installonly_limit" in yum.conf for the recent versions of yum you can specify which packages are to be installed only using "installonlypkg". Although the default is for kernel-*, one can specify any package name (man yum.conf).
Reply With Quote
Reply

Tags
fc6, kernel, preserve, updating, versions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Two versions of kernel! bman Using Fedora 7 16th November 2006 08:07 PM
Fedora versions and questions about updating jaapvstr Using Fedora 7 15th September 2006 01:51 PM
Kernel Versions at startup RossGoodman Using Fedora 9 11th January 2006 04:01 AM
Kernel Versions Kilo Using Fedora 3 30th April 2004 04:10 PM
What does all these different kernel versions mean? svarreby Using Fedora 1 7th April 2004 02:45 PM


Current GMT-time: 13:53 (Friday, 01-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat