[CentOS] YUM Parse Error

Johnny Hughes mailing-lists at hughesjr.com
Thu Nov 3 16:02:26 UTC 2005


On Thu, 2005-11-03 at 14:14 +0000, Rob wrote:
> Hi,
> 
> I have added:
> 
> [dag]
> name=Dag RPM Repository for Red Hat Enterprise Linux
> baseurl=http://www.mirrorservice.org/sites/apt.sw.be/redhat/el
> $releasever/en/x86_64/dag/
> gpgcheck=1
> enabled=1
> 
> to yum.repos.d/CentOS-Base.repo. Now yum check-update reports
> ----------------------------------------------
> Setting up repositories
> dag                       100% |=========================| 1.1 kB
> 00:00
> update                    100% |=========================|  951 B
> 00:00
> base                      100% |=========================| 1.1 kB
> 00:00
> addons                    100% |=========================|  951 B
> 00:00
> extras                    100% |=========================| 1.1 kB
> 00:00
> Reading repository metadata in from local files
> 
> createrepo.noarch                        0.4.3-1.2.el4.rf       dag
> freetype.x86_64                          2.1.9-1.2.2.el4.rf     dag
> freetype-demos.x86_64                    2.1.9-1.2.2.el4.rf     dag
> freetype-devel.x86_64                    2.1.9-1.2.2.el4.rf     dag
> freetype-utils.x86_64                    2.1.9-1.2.2.el4.rf     dag
> gaim.x86_64                              1:1.5.0-0.1.2.el4.rf   dag
> iptraf.x86_64                            3.0.0-1.2.el4.rf       dag
> mod_dav_svn.x86_64                       1.2.1-0.1.2.el4.rf     dag
> nmap.x86_64                              2:3.93-0.2.el4.rf      dag
> nmap-frontend.x86_64                     2:3.93-0.2.el4.rf      dag
> rsync.x86_64                             2.6.6-1.2.el4.rf       dag
> subversion.x86_64                        1.2.1-0.1.2.el4.rf     dag
> subversion-devel.x86_64                  1.2.1-0.1.2.el4.rf     dag
> subversion-perl.x86_64                   1.2.1-0.1.2.el4.rf     dag
> syslinux.x86_64                          3.11-1.2.el4.rf        dag
> xmms.x86_64                              1:1.2.10-11.1.2.el4.rf dag
> xmms-devel.x86_64                        1:1.2.10-11.1.2.el4.rf dag
> xmms-skins.x86_64                        1:1.2.10-11.1.2.el4.rf dag
> xrestop.x86_64                           0.3-1.2.el4.rf         dag
> --------------------------------------------
> 
> I thought that these were all core rpms. Why should I take the new ones
> from DAG?
> 
> Thanks
> Rob
Dag's repo (or any other one for that matter) will give you the latest
packages that are there for any that you have installed.

If you don't want that behavior, there are things that can be done to
prevent that.

What I always do is this (on CentOS-4):

In the file that I have named dag.repo (in /etc/yum.repos.d) I include
this line on each server:

includepkgs="package1-name package2-name"

...then only those packages can be used from dags repo ... no others
will be updated from there.

Also, you can use the "exclude=" option of yum to prevent some packages
from being looked at.

Here is a yum docs page:
http://wiki.linux.duke.edu/Yum


> 
> On Thu, 2005-11-03 at 14:01 +0100, Kai Schaetzl wrote:
> > Mark Sargent wrote on Thu, 03 Nov 2005 18:30:51 +0900:
> > 
> > > sorry, confused. Does this finally resolve itself.?
> > 
> > it comes and goes. It can just go away in a few minutes.
> > Here is a list of the mirrors: http://apt.sw.be/
> > 
> > Kai
> > 
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.centos.org/pipermail/centos/attachments/20051103/73e0004e/attachment.bin


More information about the CentOS mailing list