"exclude" in yum.conf and yumex.conf

fred smith fredex at fcshome.stoneham.ma.us
Thu Jul 22 01:28:16 UTC 2010


On Thu, Jul 22, 2010 at 11:06:54AM +1200, Clint Dilks wrote:
> On 22/07/10 10:59, Jim Tate wrote:
> > 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.
> >
> >    
> Hi
> 
> You exclude line can have multiple items just on one line seperated by 
> spaces
> 
> exclude=kernel kernel-headers myboguspackage

you should be able to do: exclude=kernel*

I've done that in the past, and at the moment mine contains
	exclude=OpenOffice* openoffice* ooobasis*
since I've installed the one from OpenOffice.org


-- 
-------------------------------------------------------------------------------
 .----    Fred Smith   /              
( /__  ,__.   __   __ /  __   : /     
 /    /  /   /__) /  /  /__) .+'           Home: fredex at fcshome.stoneham.ma.us 
/    /  (__ (___ (__(_ (___ / :__                                 781-438-5471 
-------------------------------- Jude 1:24,25 ---------------------------------


More information about the users mailing list