Red Hat Bugzilla – Bug 748852
Documentation bug in yum.conf(5) - installonlypkgs
Last modified: 2014-02-04 10:05:30 EST
Description of problem:
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-enterprise, kernel-debug, kernel-unsup-
but /usr/lib/python2.4/site-packages/yum/config.py actually has:
installonlypkgs = ListOption(['kernel', 'kernel-bigmem',
'kernel-enterprise','kernel-smp', 'kernel-modules', 'kernel-debug',
'kernel-unsupported', 'kernel-source', 'kernel-devel', 'kernel-PAE',
Version-Release number of selected component (if applicable):
~@tsgdev1% rpm -qi yum
Name : yum Relocations: (not relocatable)
Version : 3.2.22 Vendor: Red Hat, Inc.
Release : 37.el5 Build Date: Tue 14 Jun 2011 10:47:59 AM EDT
Install Date: Mon 24 Oct 2011 05:28:35 PM EDT Build Host: ia64-004.build.bos.redhat.com
Steps to Reproduce:
1. man yum.conf
lies to me
I do not yet have RHEL6 installed so I cannot check this there, but presumably this hsould be checked out there too.
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.
Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.
Given the age of this and and how minor it is (and that the man page update could easily fix it if really needed) I'm going to close this now, as we are very late in RHEL-5. At least the early versions of RHEL-6 yum could be rebuilt on RHEL-5, so if any customer really needs this then that is a viable path (and rhel-6 includes yum-config-manager, so the user can easily query information like this).