[Spacewalk-list] A Couple Questions...

John Hodrien J.H.Hodrien at leeds.ac.uk
Fri Jun 5 15:21:55 UTC 2009


On Fri, 5 Jun 2009, Luis Garcia wrote:

> On Fri, Jun 5, 2009 at 9:51 AM, Wojtak, Greg<GregWojtak at quickenloans.com> wrote:
>> Hello,
>
>> 1) on the spacewalk server, if I look at the system I have registered, there are 154 updates that need to be applied.  If I run yum update on the client system, it keeps going out to the internet to check for the updates (verified with tcpdump) instead of the spacewalk server.  Is there some config change I need to make?
>
>
> What's in your /etc/yum.repos.d/? Are the CentOS-*.repo files there? I
> had to disable them so my centos boxes would update via spacewalk.
>
> See:  http://wiki.centos.org/HowTos/PackageManagement/Spacewalk#head-a861c958af2585d30eb20b4bb0b4340d66857c4a

The option I preferred to disabling the repos was to change the yum.conf:

reposdir=/etc/yum.repos.d/custom

That way, you're never going to get caught out by a package creating a new
repo file in /etc/yum.repos.d/

jh

-- 
"This island is made mainly of coal and surrounded by fish.  Only an organizing
  genius could produce a shortage of coal and fish at the same time."
                                                      -- Aneurin Bevan


More information about the Spacewalk-list mailing list