Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#37146 - [python2-geoip] is missing replaces=(python-geoip)

Attached to Project: Arch Linux
Opened by Marti (intgr) - Monday, 30 September 2013, 16:40 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 06 November 2013, 11:12 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Old machines that had python-geoip installed (before it was renamed to python2-geoip), do not properly upgrade to the new 1.2.8-1. When installing manually, the install will conflict.

I guess the package needs a replaces=(python-geoip) line in PKGBUILD.

Currently it only has replaces=('geoip-python').

% sudo pacman -S python2-geoip
[...]
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
error: failed to commit transaction (conflicting files)
python2-geoip: /usr/lib/python2.7/site-packages/GeoIP.so exists in filesystem
Errors occurred, no packages were upgraded.


Additional info:
* package version(s)
python-geoip 1.2.7-1
python2-geoip 1.2.8-1
This task depends upon

Closed by  Jan de Groot (JGC)
Wednesday, 06 November 2013, 11:12 GMT
Reason for closing:  Fixed
Additional comments about closing:  python2-geoip has a conflicts line on python-geoip<1.2.8 now. Though this doesn't replace it, it forces uninstall of the leftover package. The conflict is versioned due to the possibility there might ever come a new python3 version of python-geoip.
Comment by Doug Newgard (Scimmia) - Wednesday, 02 October 2013, 04:59 GMT
You're talking about a system that hasn't seen a full update in a year. I don't think the devs care about them anymore, especially since there's not really a good way to update them at this point.
Comment by Marti (intgr) - Wednesday, 02 October 2013, 08:16 GMT
I don't understand what you're talking about.

Version 1.2.8 is 7 months old.

Some of my Arch machines still had the old python-geoip 1.2.7 installed due to the missing replaces=. It's very likely I'm not the only one.
Comment by Doug Newgard (Scimmia) - Wednesday, 02 October 2013, 16:34 GMT
I'm saying the name change happened with 1.2.7-2 on 8 Oct 2012, right about a year ago.

I agree that at the time, it should have had replaces. Maybe it is still needs it because people have leftover crap, I was figuring that people would have updated it when the dependency changed, but I can see now that there's really nothing depends on it (it's only an optdep on one package). I guess it's there mostly for people who want to use it in their own programs? I'm surprised it's still in Extra as an unneeded orphan, to be honest.

Loading...