Re: Instruct yum to keep old kernels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Marcel Janssen wrote:
> Hi,
> 
> When updating my system, yum wants to remove my working kernel.
> 
> How can I make sure yum doesn't touch any kernel ever in an upgrade process 
> unless I want it ?
> 
> Regards,
> Marcel
> 
Are you sure it wants to remove your working kernel? Yum is supposed
to leave your current kernel alone. If it is trying to remove the
kernel you booted with, then that is a bug that should be reported.

For FC6, there is the install-only plugin for yum, where you can set
the number of kernels to keep. Setting it to 0 keeps all of them
until you delete them yourself. In F7, this is built into yum, and
the option is in the yum config file. Again, set this to 0 if you
want to keep all installed kernels.

If you do not want yum to install the new kernels, that is a bit
harder. You can set yum to exclude the kernel RPMs, but then t will
not show them in the list of available packages, and this may not be
what you want. (I am sure someone has a way to do it - just not me.)

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux