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#26622 - [python2-cherrypy] conflicts with python-cherrypy
Attached to Project:
Community Packages
Opened by speps (archspeps) - Wednesday, 26 October 2011, 04:11 GMT
Last edited by Thomas Dziedzic (tomd123) - Sunday, 06 November 2011, 19:17 GMT
Opened by speps (archspeps) - Wednesday, 26 October 2011, 04:11 GMT
Last edited by Thomas Dziedzic (tomd123) - Sunday, 06 November 2011, 19:17 GMT
|
DetailsDescription:
Actually is not possible to have python2-cherrypy and python-cherrypy together for a file present in both packages /usr/bin/cherryd. Solutions are: 1 . let python2-cherrypy conflict with python-cherrypy 2 . rename /usr/bin/cherryd to /usr/bin/cherryd2 (or /usr/bin/python2-cherryd or else) in python2-cherrypy I prefer the second choice, cause they could nicely work together. A simple mv "$pkgdir/usr/bin/cherryd" "$pkgdir/usr/bin/whatelse" at the end of package_python2-cherrypy() would solve. Additional info: * package version(s) python{,2}-cherrypy 3.2.0-3 Steps to reproduce: sudo pacman -S python2-cherrypy sudo pacman -S python-cherrypy resolving dependencies... looking for inter-conflicts... Targets (1): python-cherrypy-3.2.0-3 [0.48 MB] Total Download Size: 0.00 MB Total Installed Size: 3.90 MB Proceed with installation? [Y/n] y (1/1) checking package integrity [##################################] 100% (1/1) checking for file conflicts [##################################] 100% error: failed to commit transaction (conflicting files) python-cherrypy: /usr/bin/cherryd exists in filesystem Errors occurred, no packages were upgraded. |
This task depends upon
An alternative would be to add conflicts=('python-cherrypy') to python2-cherrypy (and the other way around).
If there are no packages that has the combination of needing python2-cherrypy and that it must be "/usr/bin/cherryd", just renaming it would be fine, IMO.
Thanks for noticing.
Update: Just noticed that only "calibre" uses python2-cherrypy. I installed calibre and renamed /usr/bin/cherryd to /usr/bin/cherryd2 and so far, calibre seems to be working fine, even when I click "start server" in the settings (I don't know for sure if it uses cherry for that particular function or not, though).
So, I'd exclude the "rename solution".
Also the same python{,2}-cherrypy calls the cherryd daemon from within
/usr/lib/python{2.7,3.2}/site-packages/cherrypy/cherryd and not /usr/bin/cherryd (same file).
(I do find references to cherrypy from the .py files, though, but that's another matter).
+1 to renaming /usr/bin/cherryd to /usr/bin/cherryd2 in python2-cherrypy.