which is the correct dag rpm to install when there are duplicates
which is the correct dag rpm to install when there are duplicates
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 ?
# 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 ?
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
which is the correct dag rpm to install when there are dupli
It is not a CentOS repository. You will have to take it up with dag.
Re: which is the correct dag rpm to install when there are duplicates
thanks i'll drop him a line
Re: which is the correct dag rpm to install when there are duplicates
Sure it's dag's?[code]repoquery -a --qf "%-20{repoid} %{name} php-pecl-Fileinfo php-pecl-fileinfo"[/code]
Re: which is the correct dag rpm to install when there are duplicates
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.
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.
Re: which is the correct dag rpm to install when there are duplicates
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
# 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
- AlanBartlett
- Forum Moderator
- Posts: 9345
- 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
Please try --
[code]
[b]yum --disablerepo=rpmforge install GeoIP[/b]
[/code]
[code]
[b]yum --disablerepo=rpmforge install GeoIP[/b]
[/code]
Re: which is the correct dag rpm to install when there are duplicates
fantastic thanks
# yum --disablerepo=dag install GeoIP
worked
# yum --disablerepo=dag install GeoIP
worked
- AlanBartlett
- Forum Moderator
- Posts: 9345
- 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
You're welcome. :-)