Re: yum 3.2.28 - Kernel update
Tim Lauridsen <[email protected]>
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Aug 5, 2010 at 6:49 AM, James Antill <[email protected]> wrote: > [email protected] writes: > > > Hi Seth, > > > > I see in the "Users Interface Changes" that new Yum: > > > > Don't allow users to remove the running kernel. > > > > > > How is this going to work ? > > For instance, if a system only allows users to have one version of Kernel > > installed, will > > the user never be allowed to update the kernel ? > > This configuration isn't possible with yum, installonly_limit has a > minimum value of 2 (although we'd recommend at least 3). > So the only time yum would try and remove the running kernel before > were bugs (or things like "yum remove kernel" matching all kernels). > > Saying that the documentation does tell you how to turn it off (from > man yum.conf): > > protected_packages This is a list of packages that yum should > never completely remove. They are protected via. Obsoletes as > well as user/plugin removals. > > The default is: yum glob:/etc/yum/protected.d/*.conf So any > packages which should be protected can do so by including a file > in /etc/yum/protected.d with their package name in it. > > Also if this configuration is set to anything, then yum will > protect the package corresponding to the running version of the > kernel. > > -- > James Antill -- [email protected] > http://yum.baseurl.org/wiki/releases > http://yum.baseurl.org/wiki/whatsnew/3.2.28 > http://yum.baseurl.org/wiki/YumMultipleMachineCaching > _______________________________________________ > Yum mailing list > [email protected] > http://lists.baseurl.org/mailman/listinfo/yum > If you set 'installonlypkgs=' in yum.conf, then the kernel will be updated and you will only have one kernel installed, IBM has that by default in there internal 'Open Client for Fedora' (Fedora 13 + a layer of enterprise application and special configurations), it don't no why :) Tim _______________________________________________ Yum mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/yum