[Yum] Is yum.conf installonly_limit working properly ?
rotru at br.ibm.com
rotru at br.ibm.com
Tue Jul 20 00:59:00 UTC 2010
According the the yum.conf man page, setting installonly_limit = 0 will
disable the feature, what I suppose that ALL packages will be updated
only.
I tested in Fedora 13 (3.2.27-4) and RHEL6 beta (2.3.27-9) setting it to 0
and tried to update the kernel (had only one kernel installed).
In both cases the kernels were installed and not updated.
I could update the kernel only when I added the option "installonlypkgs"
in yum.conf and set it to "nothing".
So, is there a minor bug in installonly_limit when set to 0 or I must
always set "installonlypkgs="
Another point: the yum.conf is outdated, because it says
"installonlypkgs: List of packages that should only ever be installed,
never updated. Kernels in
particular fall into this category.
Defaults to kernel, kernel-smp, kernel-bigmem, kernel-enter-
prise, kernel-debug, kernel-unsupported."
and in the yum code (from /usr/lib/pythonXX/site-packages/yum/config.py):
installonlypkgs = ListOption(['kernel', 'kernel-bigmem',
'kernel-enterprise','kernel-smp', 'kernel-modules', 'kernel-debug',
'kernel-unsupported',
'kernel-source', 'kernel-devel', 'kernel-PAE', 'kernel-PAE-debug'])
Regards
Rodrigo Trujillo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.baseurl.org/pipermail/yum/attachments/20100719/ce8d3412/attachment.html>
More information about the Yum
mailing list