Re: yum 3.2.28 - Kernel update

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

 





On Thu, Aug 5, 2010 at 6:49 AM, James Antill <james-yum@xxxxxxx> wrote:
> 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 -- james@xxxxxxxxxxxxxxxxx
http://yum.baseurl.org/wiki/releases
http://yum.baseurl.org/wiki/YumMultipleMachineCaching
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
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
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux