[CentOS-devel] CentOS-4.4 yumconf

Tue Oct 10 23:43:42 UTC 2006
John Newbigin <jnewbigin at ict.swin.edu.au>

The easiest workaround I found was to add

reposdir=

to your /etc/yum.conf [main] section.

This means you can't add other repos into that directory but I don't 
normally do that anyway.

John.

Karanbir Singh wrote:

> C.M. Connelly wrote:
> 
>> "KS" == Karanbir Singh <mail-lists at karan.org>
>>
>>     KS> Just to do a recap to make sure we all understand the
>>     KS> position here.
>>
>>     KS> There are 4 sorts of user cases, been addressed so far.
>>
>>    [...]
>>
>>     KS> did i miss someone ?
>>
>> Yes. 
>>    5. People who have replaced the centos-yumconf package (not
>>       just files in that package) with their own yumconf package
> 
> 
> you'd expect these people to know what they are doing, clueless should 
> not be doing this.
> 
>>       that does not provide repository configuration files with
>>       the same names as the (old) centos-yumconf and the (current)
>>       centos-release package; i.e., CentOS-Base.repo.
>>
> 
> easy workaround,
> 
> rm /etc/yum.repos.d/CentOS-Base.repo
> touch /etc/yum.repos.d/CentOS-Base.repo
> 
> and the file wont get in the way anymore / anyless than it did previously.
> 


-- 
John Newbigin
Computer Systems Officer
Faculty of Information and Communication Technologies
Swinburne University of Technology
Melbourne, Australia
http://www.ict.swin.edu.au/staff/jnewbigin