Bug 1295795

Summary: Missing recent GeoIP related packages
Product: [Fedora] Fedora EPEL Reporter: Niels Basjes <redhat>
Component: GeoIPAssignee: Paul Howarth <paul>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: paul, philipp
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-07 15:38:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Niels Basjes 2016-01-05 13:32:57 UTC
Description of problem:

I tried to install GeoIP, GeoIP-GeoLite-data and GeoIP-GeoLite-data-extra on CentOS 7.2.

The problem is that the base repo for CentOS still has GeoIP 1.5.0-9.el7 and the error I got was very clear:

Processing Conflict: GeoIP-GeoLite-data-2015.12-1.el7.noarch conflicts GeoIP < 1.6.4-3

There is no GeoIP or geoipupdate available at all in the EPEL 7 repo, only the datafiles. These RPMs ARE available in the EPEL 6 repo.

Version-Release number of selected component (if applicable):


How reproducible: 100%

Steps to Reproduce:
1. CentOS 7.2
2. Enable EPEL
3. yum install GeoIP*

Actual results:
Processing Conflict: GeoIP-GeoLite-data-2015.12-1.el7.noarch conflicts GeoIP < 1.6.4-3

Expected results:
The software and all data being installed.

Additional info:

I was able to get things running by installing GeoIP and geoipupdate from the CentOS 6 EPEL repo:
yum install GeoIP-GeoLite-data*
yum install https://dl.fedoraproject.org/pub/epel/6/x86_64/GeoIP-1.6.5-1.el6.x86_64.rpm https://dl.fedoraproject.org/pub/epel/6/x86_64/geoipupdate-2.2.1-2.el6.x86_64.rpm

Comment 1 Paul Howarth 2016-01-05 13:48:55 UTC
Oh dear, the EPEL-7 build of GeoIP-GeoLite-data should never have been done, as GeoIP* is provided by the base operating system.

I am going to have to retire GeoIP-GeoLite-data from EPEL-7 to prevent this from happening again.

Thanks for letting me know.

You should be able to revert to the original packages using yum shell:

# yum shell
> remove GeoIP-GeoLite-data
> remove geoipupdate
> downgrade GeoIP
> run

Comment 2 Niels Basjes 2016-01-05 14:11:47 UTC
Ok, but the base CentOS is still at GeoIP 1.5.0 ...
Isn't that a problem?

Comment 3 Paul Howarth 2016-01-05 14:17:59 UTC
(In reply to Niels Basjes from comment #2)
> Ok, but the base CentOS is still at GeoIP 1.5.0 ...
> Isn't that a problem?

Possibly, but I would expect RHEL/CentOS to have addressed any security issues that might be present.

I can't do anything in EPEL that would replace a base RHEL/CentOS package.

Comment 4 Niels Basjes 2016-01-05 14:29:53 UTC
Understood.

Comment 5 Philip Prindeville 2016-01-05 18:48:44 UTC
(In reply to Niels Basjes from comment #4)
> Understood.

Suggest you file a bug against GeoIP (with the product set to RHEL 7) asking for a version bump.

Comment 6 Paul Howarth 2016-01-07 15:38:48 UTC
GeoIP-GeoLite-data has now been removed from the EPEL-7 repository, so this issue shouldn't crop up again.