/etc/yum.conf

Issues related to software problems
Post Reply
freddaggs
Posts: 3
Joined: 2005/03/12 02:23:21

/etc/yum.conf

Post by freddaggs » 2005/03/26 09:13:09

Hi all
I have found other places where you can get updates for CentOS 4 OS. I have compiled them into /etc/yum.conf.
Open your favorite editor and Cut and Paste to following into /etc/yum.conf

[main]
retries = 20
tolerant = 1
cachedir = /var/cache/yum
exactarch = 1
pkgpolicy = newest
distroverpkg = redhat-release
debuglevel = 2
logfile = /var/log/yum.log

[centos updates]
gpgcheck = True
enabled = 1
name = CenOS Updates
baseurl = http://mirror.centos.org/centos/4.0/updates/i386/
http://mirror.centos.org/centos/4/updates/i386/
http://public.planetmirror.com/pub/caosity/centos/4.0/updates/i386/
http://public.planetmirror.com/pub/caosity/centos/4/updates/i386/

[extras]
gpgcheck = True
name = CentOS-$releasever - extras
baseurl = http://beta.centos.org/centos/$releasever/extras/$basearch/

[dries]
gpgcheck = True
enabled = 0
name = Extra CentOS rpms dries - EL$releasever - $basearch
baseurl = http://apt.sw.be/dries/redhat/el4/en/i386/dries/
http://apt.sw.be/redhat/el4/en/i386/dag/

[dag]

name = Dag
enabled = 0
baseurl = http://dag.freshrpms.net/redhat/el4/en/$basearch/dag/
http = //ftp.heanet.ie/pub/freshrpms/pub/dag/redhat/el4/en/$basearch/dag/
gpgcheck = True

[jpackage-fedora]
name = JPackage CentOS Packages
failovermethod = priority
enabled = 0
baseurl = http://mirrors.sunsite.dk/jpackage/1.6/redhat-el-3.0/free
ftp://jpackage.hmdc.harvard.edu/JPackage/1.6/redhat-el-3.0/free
http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/jpackage/redhat-el-3.0/free
gpgcheck = True

[centos base]
gpgcheck = True
enabled = 1
name = CenOS Base
baseurl = http://mirror.centos.org/centos/4.0/os/i386/
http://mirror.centos.org/centos/4/os/i386/
http://public.planetmirror.com/pub/caosity/centos/4.0/os/i386/
http://public.planetmirror.com/pub/caosity/centos/4/os/i386/

[dag apt]
gpgcheck = True
enabled = 1
name = Dag APT Repository
baseurl = http://dag.freshrpms.net/redhat/el4/en/i386/dag/
http://apt.sw.be/redhat/el4/en/i386/dag/

[flash]
gpgcheck = True
enabled = 0
name = macromedia.mplug.org - Flash Plugin
baseurl = http://macromedia.mplug.org/apt/redhat/3
http://sluglug.ucsc.edu/macromedia/apt/redhat/3
http://ruslug.rutgers.edu/macromedia/apt/redhat/3
http://macromedia.rediris.es/apt/redhat/3

[contrib]
gpgcheck = True
name = CentOS-$releasever - contrib
baseurl = http://beta.centos.org/centos/$releasever/contrib/$basearch/

[centos addons]
gpgcheck = True
enabled = 1
name = CenOS Addons
baseurl = http://mirror.centos.org/centos/4.0/addons/i386/
http://mirror.centos.org/centos/4/addons/i386/
http://public.planetmirror.com/pub/caosity/centos/4.0/addons/i386/
http://public.planetmirror.com/pub/caosity/centos/4/addons/i386/

[centos contrib]
gpgcheck = True
enabled = 1
name = CenOS Contrib
baseurl = http://mirror.centos.org/centos/4.0/contrib/i386/
http://mirror.centos.org/centos/4/contrib/i386/
http://public.planetmirror.com/pub/caosity/centos/4.0/contrib/i386/
http://public.planetmirror.com/pub/caosity/centos/4/contrib/i386/

[jpackage-generic]
name = JPackage Cross-Platform Packages
failovermethod = priority
enabled = 0
baseurl = http://mirrors.sunsite.dk/jpackage/1.6/generic/free
ftp://jpackage.hmdc.harvard.edu/JPackage/1.6/generic/free
http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/jpackage/1.6/generic/free
gpgcheck = True

[base]
gpgcheck = True
name = CentOS-$releasever - Base
baseurl = http://beta.centos.org/centos/$releasever/os/$basearch/

[updates]
gpgcheck = True
name = CentOS-$releasever - Updates
baseurl = http://beta.centos.org/centos/$releasever/updates/$basearch/

[centos extras]
gpgcheck = True
enabled = 1
name = CenOS Extras
baseurl = http://mirror.centos.org/centos/4.0/extras/i386/
http://mirror.centos.org/centos/4/extras/i386/
http://public.planetmirror.com/pub/caosity/centos/4.0/extras/i386/
http://public.planetmirror.com/pub/caosity/centos/4/extras/i386/

[addons]
gpgcheck = True
name = CentOS-$releasever - addons
baseurl = http://beta.centos.org/centos/$releasever/addons/$basearch/

this will help find extra RPMs etc
Freddaggs

freddaggs
Posts: 3
Joined: 2005/03/12 02:23:21

Re: /etc/yum.conf

Post by freddaggs » 2005/03/26 10:55:47

[quote]
freddaggs wrote:
........

[dag]

name = Dag
enabled = 0
baseurl = http://dag.freshrpms.net/redhat/el4/en/$basearch/dag/
http = //ftp.heanet.ie/pub/freshrpms/pub/dag/redhat/el4/en/$basearch/dag/
gpgcheck = True

..........

Please correct a error that has creept in in the about quote to

[dag]
name = Dag
enabled = 0
baseurl = http://dag.freshrpms.net/redhat/el4/en/$basearch/dag/
http://ftp.heanet.ie/pub/freshrpms/pub/dag/redhat/el4/en/i386/dag/
gpgcheck = True

freddaggs

ethan
Posts: 2
Joined: 2005/04/05 21:12:18
Contact:

Re: /etc/yum.conf

Post by ethan » 2005/04/05 21:22:16

Hi, thanks for this information

but the public key from centos4 cdrom RPM-GPG-KEY-centos4 is not working
when I use this yum.conf

may I ask where can I find the public key for this yum.conf

otis_22001ca
Posts: 1
Joined: 2005/04/25 05:51:46

Re: /etc/yum.conf

Post by otis_22001ca » 2005/04/25 06:02:13

[quote]
ethan wrote:
Hi, thanks for this information

but the public key from centos4 cdrom RPM-GPG-KEY-centos4 is not working
when I use this yum.conf

may I ask where can I find the public key for this yum.conf[/quote]


Here are a few keys you might try. I might be missing a few, but these are trusted keys anyway, and I did noticed that it fixed things when I tried to install something from DAG.

Open a terminal window as root and issue the following commands (one at a time):

rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt

rpm --import http://dries.ulyssis.org/ayo/RPM-GPG-KEY.dries.txt

rpm --import http://freshrpms.net/packages/RPM-GPG-KEY.txt

:-D

ethan
Posts: 2
Joined: 2005/04/05 21:12:18
Contact:

Re: /etc/yum.conf

Post by ethan » 2005/04/28 15:10:11

Thanks :-D
just what I need

kOoLiNuS
Posts: 30
Joined: 2005/04/30 17:20:04
Location: Italy
Contact:

Re: /etc/yum.conf

Post by kOoLiNuS » 2005/05/07 10:05:48

but they do actually work with no problems ?
Thanks

Post Reply

Return to “CentOS 4 - Software Support”