-   Fedora (
-   -   How can I exclude some packages from Yum updates ? (

alMubarmij 03-13-2009 11:44 PM

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 ?

billymayday 03-13-2009 11:57 PM

See man yum.conf

exclude in /etc/yum.conf is the easiest way for persistent exclusions, or --exclude on the yum command line for temporary exclusion

chrism01 03-20-2009 03:46 AM

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.

billymayday 03-20-2009 03:52 AM

Except by default it only keeps 3 kernels

chrism01 03-26-2009 01:19 AM

Have you got a page that points to that, I could only find :

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.
I'd be interested to know.

billymayday 03-26-2009 02:20 AM

Was that aimed at me Chris? If so, from man yum.conf

      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.

      Number of packages listed in installonlypkgs to keep installed at the same time. Setting to 0 disables this fea-
      ture. Default is '3'.

chrism01 03-29-2009 01:05 AM

Cheers. Funnily enough, was just looking at /etc/yum.conf and saw that setting (commented out on my system) ... small world eh ? ;)

All times are GMT -5. The time now is 11:13 PM.