[ATrpms-users] CentOS and Smart with ATrpms

Wags waggelz at comcast.net
Thu Feb 21 05:01:38 CET 2008


[ed note: I had originally mis-addressed this directly to Phil, 
apologies all around]

Philip R. Schaffner wrote:
> On Wed, 2008-02-20 at 15:20 -0600, Wags wrote:
> ...
>> Now - under CentOS - Smart only autodetects atrpms.repo and ignores the 
>> existing CentOS-Base.repo (possibly because of the mirrorlist usage 
>> rather than baseurl?)
>>
>> I'm curious to learn more about Smart's autodetection mechanism but I 
>> haven't been able to turn up anything more substantial than man pages 
>> using google.
> 
> AFAIK Smart on CentOS does not autodetect you repos.  At least I've
> always had to .channel files manually, or add repos in the GUI.
> 
> The atrpms .channel file smart is using is from atrpms-package-config:



> $ rpm -ql atrpms-package-config

> /etc/apt/sources.list.d/atrpms.list
atrpms is there but no CentOS

> /etc/apt/vendors.list
same

> /etc/smart/channels/atrpms.channel
same

> /etc/yum.repos.d/atrpms.repo
has atrpms.repo and CentOS-Base.repo and -Media.repo



I ran 'smart --gui' out of habit and it definitely threw up three 
dialogs asking if I wished to add the atrpms repos so it managed to 
autodetect *those*. Wasn't there a redhat-package-config in Axel's repo 
at one point?


> Below is my set of .channel files:
> 
> $ pr /etc/smart/channels/*.channel | tr -s '\n'
> 2007-04-17 12:36        /etc/smart/channels/addons.channel        Page 1
> # Name: CentOS 5 AddOns RPM Repository for Red Hat Enterprise 5 - i386
> # URL: http://www.centos.org/
> [addons]
> name = OS packages from Centos for EL5 - i386 - addons
> baseurl = http://mirror.centos.org/centos/5/addons/i386
> type = rpm-md
> priority=0
<snip>

I haven't kept up to date but I recall dire warnings about messing
with priorities. Has this situation changed?


--
w



More information about the atrpms-users mailing list