[Yum] dependency problems with yum-priorities on CentOS 5.5

Ljubomir Ljubojevic office at plcomputers.net
Tue Aug 24 09:28:14 UTC 2010


Nick wrote:
> On 23/08/10 14:47, James Antill wrote:
>>  Personally I recommend not using rpmforge, and instead just using
>> repositories that don't require yum-priorities to make sure your
>> system isn't corrupted by accident.
> 
> Aha. But do such things exist?  How do I distinguish a good repository from a
> bad one?  Specifically, I'd be interested to know what's recommended for CentOS
> and RHEL - there's EPEL but we found it often just didn't have the packages we
> needed.
> 
My repo files (I use local mirror repositories with mrepo so I do not 
have do download same packages  from interenet, since 80% of Linux 
machines are inside my network). Priorities are set by my trust in them 
and their usefulness. You will find actual urls on internet:

------------------------------------------------------------------------------
base.repo:

[plnet-addons]
name=Spec CentOS 5 - addons - $releasever - $basearch
baseurl=http://xxxx.yyyy.rs/mrepo/plnet-centos5-$basearch/RPMS.addons/
gpgcheck=0
enabled=1
priority=1
exclude=*releases

[plnet-centosplus]
name=Spec CentOS 5 - centosplus - $releasever - $basearch
baseurl=http://xxxx.yyyy.rs/mrepo/plnet-centos5-$basearch/RPMS.centosplus/
gpgcheck=0
enabled=1
priority=1
exclude=*releases

[plnet-epel]
name=Spec CentOS 5 - epel - $releasever - $basearch
baseurl=http://xxxx.yyyy.rs/mrepo/plnet-centos5-$basearch/RPMS.epel/
gpgcheck=0
enabled=1
priority=1
exclude=*releases,gmime

[plnet-extras]
name=Spec CentOS 5 - extras - $releasever - $basearch
baseurl=http://xxxx.yyyy.rs/mrepo/plnet-centos5-$basearch/RPMS.extras/
gpgcheck=0
enabled=1
priority=1
exclude=*releases

[plnet-os]
name=Spec CentOS 5 - os - $releasever - $basearch
baseurl=http://xxxx.yyyy.rs/mrepo/plnet-centos5-$basearch/RPMS.os/
gpgcheck=0
enabled=1
priority=1
exclude=*releases,openoffice.org-ure,thunderbird

[plnet-updates]
name=Spec CentOS 5 - updates - $releasever - $basearch
baseurl=http://xxxx.yyyy.rs/mrepo/plnet-centos5-$basearch/RPMS.updates/
gpgcheck=0
enabled=1
priority=1
exclude=*releases,openoffice.org-ure,thunderbird

[plnet-elrepo]
name=Spec CentOS 5 - elrepo - $releasever - $basearch
baseurl=http://xxxx.yyyy.rs/mrepo/plnet-centos5-$basearch/RPMS.elrepo/
gpgcheck=0
enabled=1
priority=1
exclude=*releases

------------------------------------------------------------------------------
plnet.repo: # My repositories with everithing I need for desktop use 
(Skype, Open Office 3.2, etc.) both compiled by me or downloaded from 
other repositories like aTrpms, rpmforge, ...

[plnet]
name=Spec CentOS 5 - custom - $releasever - $basearch
baseurl=http://rpms.plnet.rs/centos5-$basearch/RPMS.plnet/
gpgcheck=0
enabled=1
priority=2

[plnet-archive]
name=Spec CentOS 5 - plnet-test - $releasever - $basearch
baseurl=http://rpms.plnet.rs/centos5-$basearch/RPMS.plnet-archive/
gpgcheck=0
enabled=0
priority=3

[plnet-downloaded]
name=Spec CentOS 5 - custom - $releasever - $basearch
baseurl=http://rpms.plnet.rs/centos5-$basearch/RPMS.plnet-downloaded/
gpgcheck=0
enabled=1
priority=2

[plnet-releases]
name=Spec CentOS 5 - custom - $releasever - $basearch
baseurl=http://rpms.plnet.rs/centos5-$basearch/RPMS.plnet-releases/
gpgcheck=0
enabled=1
priority=1

[plnet-test]
name=Spec CentOS 5 - plnet-test - $releasever - $basearch
baseurl=http://rpms.plnet.rs/centos5-$basearch/RPMS.plnet-test/
gpgcheck=0
enabled=0
priority=4

------------------------------------------------------------------------------
extra.repo:

[plnet-atrpms-stable]
name=Spec CentOS 5 - atrpms-stable - $releasever - $basearch
baseurl=http://xxxx.yyyy.rs/mrepo/plnet-centos5-$basearch/RPMS.atrpms-stable/
gpgcheck=0
enabled=0
priority=5
exclude=*releases

[elrepo]
name=ElRepo.org Community Enterprise Linux Repository - el5
baseurl=http://elrepo.org/linux/elrepo/el5/$basearch/
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org
protect=0
priority=2
exclude=*releases

[plnet-rpmforge]
name=Spec CentOS 5 - rpmforge - $releasever - $basearch
baseurl=http://xxxx.yyyy.rs/mrepo/plnet-centos5-$basearch/RPMS.rpmforge/
gpgcheck=0
enabled=0
priority=6
exclude=*releases

[convirt]
name=ConVirt repository
baseurl=http://www.convirture.com/repos/convirt/RHEL/5.x
enabled=0
gpgcheck=1
gpgkey=http://www.convirture.com/repos/convirture_packaging_pub_key
priority=5
exclude=*releases

[convirt-dep]
name=ConVirt Dependencies
baseurl=http://www.convirture.com/repos/deps/RHEL/5.x
enabled=0
gpgcheck=0
gpgkey=http://www.convirture.com/repos/convirture_packaging_pub_key
priority=5
exclude=*releases

------------------------------------------------------------------------------
server.repo:
[plnet-virtualmin]
name=Spec CentOS 5 - virtualmin - $releasever - $basearch
baseurl=http://xxxx.yyyy.rs/mrepo/plnet-centos5-$basearch/RPMS.virtualmin/
gpgcheck=0
enabled=1
priority=2

[plnet-virtualmin-universal]
name=Spec CentOS 5 - virtualmin-universal - $releasever - $basearch
baseurl=http://xxxx.yyyy.rs/mrepo/plnet-centos5-$basearch/RPMS.virtualmin-universal/
gpgcheck=0
enabled=1
priority=2

[plnet-remi]
name=Spec CentOS 5 - remi - $releasever - $basearch
baseurl=http://xxxx.yyyy.rs/mrepo/plnet-centos5-$basearch/RPMS.remi/
gpgcheck=0
enabled=1
priority=4

[sernet-samba]
name=SerNet Samba Team packages (CentOS 5)
type=rpm-md
baseurl=http://ftp.sernet.de/pub/samba/recent/centos/$releasever/
enabled=0
priority=6

------------------------------------------------------------------------------
"exclude=*releases" are so no repository installs vanilla repo files and 
mess with my repo config files.


More information about the Yum mailing list