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!
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!
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
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
|
DetailsDescription:
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.
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.
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.
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.