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
_______________________________________________
Yum mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.