Greetings;
Yum version is 2.0.7, FC2 upgraded from RH8 machine.
1. I thought I had killed the automatic yum invocation, but it apparently came back on for some reason and ran last night, which is puzzling.
2. yum proceeded to update a bunch of stuffs last night sometime, stuff that included libxml2, but its apparently a fresh package as its dated yesterday in the cache.
3. yum etc is still working, which after previous experience, plumb amazes me!
4. Whats wrong with this exclude line in my yum.conf inserted below that would cause it to ignore my exclude of libxml2 stuffs? ------------------- [main] cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=redhat-release tolerant=1 exactarch=1 obsoletes=1 retries=20
[updates-released] name=Fedora Core $releasever - $basearch - Released Updates baseurl=http://mirror.linux.duke.edu/pub/fedora/linux/core/updates/$releasever/$base... exclude=kernel* kde* xorg* cups* gimp-print* pango* gimp* gtk2* libxml2* libxslt* --------------
On Sat, 2004-10-30 at 21:36, Gene Heskett wrote:
Greetings;
Yum version is 2.0.7, FC2 upgraded from RH8 machine.
- I thought I had killed the automatic yum invocation, but it
apparently came back on for some reason and ran last night, which is puzzling.
- yum proceeded to update a bunch of stuffs last night sometime,
stuff that included libxml2, but its apparently a fresh package as its dated yesterday in the cache.
- yum etc is still working, which after previous experience,
plumb amazes me!
- 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.
[main] cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=redhat-release tolerant=1 exactarch=1 obsoletes=1 retries=20
[updates-released] name=Fedora Core $releasever - $basearch - Released Updates baseurl=http://mirror.linux.duke.edu/pub/fedora/linux/core/updates/$releasever/$base... exclude=kernel* kde* xorg* cups* gimp-print* pango* gimp* gtk2* libxml2* libxslt*
-- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) 99.28% setiathome rank, not too shabby for a WV hillbilly Yahoo.com attorneys please note, additions to this message by Gene Heskett are: Copyright 2004 by Maurice Eugene Heskett, all rights reserved.
On Saturday 30 October 2004 23:23, Jeff Vian wrote:
On Sat, 2004-10-30 at 21:36, Gene Heskett wrote:
- 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.
I put it there now, but its been working, without the libxml2 and libxsltr entries for a couple of months now. /me goes off to take a nap & see what the logs show tomorrow...
Thanks. The manpage needs a wee bit of clarification though.
On Sun, 2004-10-31 at 03:23, Jeff Vian wrote:
On Sat, 2004-10-30 at 21:36, Gene Heskett wrote:
- 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.
On Sunday 31 October 2004 06: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:
- 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.
Paul Howarth paul@city-fan.org
Mmm, Paul, I don't recall it even mentions where to put it in my copy (version 2.0.7)
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:
- 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@city-fan.org