How can I exclude some packages from Yum updates ?
FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How can I exclude some packages from Yum updates ?
How can I exclude some packages from any updates ?
I just want keep some application versions, like my custom kernel.
How can I do this with Yum, Yum Extender or PackageKit ?
Incidentally, kernel is an exception in YUM. It only installs new kernels (if they are avail) beside the current one.. It does NOT upgrade the current kernel on your machine.
IOW, you just end up with multiple entries in grub.conf.
Provide a menu interface
A menu interface listing preset boot commands, with a programmable timeout, is available. There is no fixed limit on the number of boot entries, and the current implementation has space for several hundred.
Was that aimed at me Chris? If so, from man yum.conf
Code:
installonlypkgs
List of packages that should only ever be installed, never updated. Kernels in particular fall into this cate-
gory. Defaults to kernel, kernel-smp, kernel-bigmem, kernel-enterprise, kernel-debug, kernel-unsupported.
installonly_limit
Number of packages listed in installonlypkgs to keep installed at the same time. Setting to 0 disables this fea-
ture. Default is '3'.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.