"exclude" in yum.conf and yumex.conf

Jim Tate binarynut at comcast.net
Wed Jul 21 22:59:13 UTC 2010

On 07/21/2010 06:30 PM, Jim Tate wrote:
> On 07/21/2010 06:20 PM, Sam Varshavchik wrote:
>> Jim Tate writes:
>>> FC13-i686
>>> I do not want to update the Fedora kernel, kernel-headers.
>>>   I put in  yum.conf and yumex.conf , exclude=kernel and 
>>> exclude=kernel-headers but yumex still tries  to update the kernel. 
>>> Why ?
>>> I do not have any kmods or kernel-devel installed
>> Only one "exclude" setting. As per yum.conf man page, multiple 
>> entries in a single exclude setting, space separated.
>> Also, look closely. Do you have "kernel" or "kernel-PAE" installed?
> kernel, only is installed.
> So I guess if I take out the exclude=kernel-headers, that should do 
> the trick.
> Thanks for the responds.

Well I took the exclude=kernel-headers out of yum.conf and yumex.conf 
and now yumex wants to update the kernel-headers and not the kernel.

So if yumex shows a hundred updates I will have to check each individual 
package and not check kernel-headers, not being able to just click on 
'Select All"

If I did "Select All" then I couldn't uncheck kernel-headers because 
yumex would still try to update kernel-headers, once it has been 
checked, and you know what would happen then, the kernel is a dependency 
of kernel-headers and it would be updated.

This is no win situation.

More information about the users mailing list