Yum repros wanted

Timothy Murphy tim at birdsnest.maths.tcd.ie
Sun Jun 26 15:12:08 UTC 2005


Dotan Cohen wrote:

> Wow, thats great! Why isn't this more widely suggested? How do I tell
> it which repro to enable? In other words, with what to replace the
> word 'whatever'? In yum.conf I have:
> 
> name=Dag APT Repository
> baseurl=http://dag.freshrpms.net/fedora/$releasever/en/$basearch/dag/
>   http://dag.atrpms.net/fedora/$releasever/en/$basearch/dag/
>  
http://ftp.heanet.ie/pub/freshrpms/pub/dag/fedora/$releasever/en/$basearch/dag/
> enabled=0
> #gpgcheck=1
> 
> So I would install like this?
> # yum --enablerepo=Dag APT Repository install packagename

I doubt if that is the correct entry, and if it were
you would have to put "Dag APT Repository" in quotes.

Also you are advised to put repository details 
in the folder /etc/yum.repos.d rather than directly in /etc/yum.conf .
My file /etc/yum.repos.d/dag.repo reads
====================================
[dag]
name=Dag RPM Repository for Fedora Core
baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag
gpgcheck=1
enabled=0
====================================
and I would say

        yum --enablerepo=dag install <whatever>


-- 
Timothy Murphy  
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland




More information about the users mailing list