yum Q (again)

Jeff Vian jvian10 at charter.net
Mon Nov 1 09:04:26 UTC 2004


On Sun, 2004-10-31 at 05:14, Paul Howarth wrote:
> On Sun, 2004-10-31 at 03:23, Jeff Vian wrote:
> > On Sat, 2004-10-30 at 21:36, Gene Heskett wrote:
> > > 4. Whats wrong with this exclude line in my yum.conf inserted
> > > below that would cause it to ignore my exclude of libxml2 stuffs?
> > 
> > The exclude line needs to be in the [main] section.
> 
> Are you sure about that? I've had exclude lines for individual
> repositories before that have worked perfectly well. The yum.conf
> manpage explicitly says that exclude= can be used in both the main and
> individual repository sections.
> 

Paul, We both are right in certain conditions.

I left off the qualification part of the statement above.

The exclude line needs to be in the [main] section if it is to apply to
all servers. 

Excludes in the [server] section only apply to servers in that section.

This is out of the man page for yum.conf on my FC2 system with
yum-2.0.8-37.rhfc2.at


> Paul.
> -- 
> Paul Howarth <paul at city-fan.org>




More information about the fedora-list mailing list