which is the correct dag rpm to install when there are duplicates

Issues related to software problems.
osde8info
Posts: 123
Joined: 2007/11/08 11:26:17

which is the correct dag rpm to install when there are duplicates

Postby osde8info » 2009/09/24 15:33:20

i am getting duplicate entries in dag rpm repository with different names in different cases !

# yum search fileinfo
php-pecl-Fileinfo.x86_64 : Fileinfo is a PHP extension that wraps the libmagic library
php-pecl-fileinfo.x86_64 : PECL package to get file information through libmagic


# yum search geoip
GeoIP.x86_64 : C library finding what country an IP/hostname originates from
geoip.x86_64 : C library for country/city/organization to IP address or hostname mapping

which is the correct rpm to install ?

gerald_clark
Posts: 10566
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

which is the correct dag rpm to install when there are dupli

Postby gerald_clark » 2009/09/24 15:57:57

It is not a CentOS repository. You will have to take it up with dag.

osde8info
Posts: 123
Joined: 2007/11/08 11:26:17

Re: which is the correct dag rpm to install when there are duplicates

Postby osde8info » 2009/09/24 16:09:17

thanks i'll drop him a line

pjwelsh
Posts: 2570
Joined: 2007/01/07 02:18:02
Location: Central IL USA

Re: which is the correct dag rpm to install when there are duplicates

Postby pjwelsh » 2009/09/24 16:21:19

Sure it's dag's?

Code: Select all

repoquery -a --qf "%-20{repoid} %{name} php-pecl-Fileinfo php-pecl-fileinfo"

osde8info
Posts: 123
Joined: 2007/11/08 11:26:17

Re: which is the correct dag rpm to install when there are duplicates

Postby osde8info » 2009/09/24 16:32:05

ah many thanks thats the answer

i seem to be getting results from the EXTRAS and DAG repos so i'll just try and use yum to reduce priority of DAG so EXTRAS overides it !

# yum info geoip

Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* extras: centosb2.centos.org
* updates: centosb2.centos.org
* base: centosr3.centos.org
* addons: centosj3.centos.org
Excluding Packages in global exclude list
Finished
Reducing CentOS-5 Testing to included packages only
Finished
45 packages excluded due to repository priority protections
Available Packages
Name : GeoIP
Arch : x86_64
Version : 1.4.5
Release : 1.el5.centos
Size : 122 k
Repo : extras
Summary : C library finding what country an IP/hostname originates from
URL : http://www.maxmind.com/app/c
License : GPL
Description: GeoIP is a C library that enables the user to find the country that any IP address or hostname originates from. It uses a file based
: database that is accurate as of March 2003. This database simply contains IP blocks as keys, and countries as values. This database
: should be more complete and accurate than using reverse DNS lookups. Commercial databases and automatic update services are available
: from http://www.maxmind.com/ This module can be used to automatically select the geographically closest mirror, to analyze your web
: server logs to determine the countries of your visitors, for credit card fraud detection, and for software export controls.

Name : geoip
Arch : x86_64
Version : 1.4.5
Release : 1.el5.rf
Size : 726 k
Repo : dag
Summary : C library for country/city/organization to IP address or hostname mapping
URL : http://www.maxmind.com/app/c
License : GPL
Description: GeoIP is a C library that enables the user to find the country that any IP address or hostname originates from. It uses a file based
: database that is accurate as of March 2003. This database simply contains IP blocks as keys, and countries as values. This database
: should be more complete and accurate than using reverse DNS lookups.

osde8info
Posts: 123
Joined: 2007/11/08 11:26:17

Re: which is the correct dag rpm to install when there are duplicates

Postby osde8info » 2009/09/24 16:37:34

it still trys to install dags even with yum priorities !

# grep priority /etc/yum.repos.d/*
/etc/yum.repos.d/CentOS-Base.repo:priority=2
/etc/yum.repos.d/CentOS-Base.repo:priority=2
/etc/yum.repos.d/CentOS-Base.repo:priority=2
/etc/yum.repos.d/CentOS-Base.repo:priority=2
/etc/yum.repos.d/CentOS-Base.repo:priority=2
/etc/yum.repos.d/CentOS-Base.repo:priority=2
/etc/yum.repos.d/CentOS-Base.repo:priority=1
/etc/yum.repos.d/Dag.repo:priority=4

and i cant specify the case of the package to install

# yum install GeoIP

still installs dags and

# yum install GeoIp
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* extras: centosb2.centos.org
* updates: centosb2.centos.org
* base: centosr3.centos.org
* addons: centosj3.centos.org
Excluding Packages in global exclude list
Finished
Reducing CentOS-5 Testing to included packages only
Finished
439 packages excluded due to repository priority protections
Setting up Install Process
Parsing package install arguments
No package GeoIp available.
* Maybe you meant: GeoIP, geoip
Nothing to do

User avatar
AlanBartlett
Forum Moderator
Posts: 9294
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: which is the correct dag rpm to install when there are duplicates

Postby AlanBartlett » 2009/09/24 18:19:28

Please try --

Code: Select all

[b]yum --disablerepo=rpmforge install GeoIP[/b]

osde8info
Posts: 123
Joined: 2007/11/08 11:26:17

Re: which is the correct dag rpm to install when there are duplicates

Postby osde8info » 2009/11/12 10:43:13

fantastic thanks

# yum --disablerepo=dag install GeoIP

worked

User avatar
AlanBartlett
Forum Moderator
Posts: 9294
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: which is the correct dag rpm to install when there are duplicates

Postby AlanBartlett » 2009/11/12 15:00:24

You're welcome. :-)


Return to “CentOS 5 - Software Support”

Who is online

Users browsing this forum: No registered users and 0 guests