Community Packages

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#56253 - [python-pecan] [python2-pecan] Conflicting files

Attached to Project: Community Packages
Opened by David McInnis (daavve) - Monday, 06 November 2017, 08:22 GMT
Last edited by Thore Bödecker (foxxx0) - Tuesday, 16 January 2018, 11:00 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Thore Bödecker (foxxx0)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

PROBLEM: python-pecan & python2-pecan both contain: /usr/bin/gunicorn_pecan & /usr/bin/pecan

-------------------------------------------------------------------------------------------------------
pacman -Sv python-pecan python2-pecan
...
Packages (2) python-pecan-1.2.1-3 python2-pecan-1.2.1-3
...
(2/2) checking for file conflicts [#############################] 100%
error: failed to commit transaction (conflicting files)
/usr/bin/gunicorn_pecan exists in both 'python2-pecan' and 'python-pecan'
/usr/bin/pecan exists in both 'python2-pecan' and 'python-pecan'
Errors occurred, no packages were upgraded.
------------------------------------------------------------------------------------------------------------

POSSIBLE SOLUTION:
inspired by gunicorn package

--------------------------------------------------------------------------------------------------------------
diff PKGBUILD PKGBUILD.old
37,38d36
< mv "${pkgdir}/usr/bin/pecan" "${pkgdir}/usr/bin/pecan-python2"
< mv "${pkgdir}/usr/bin/gunicorn_pecan" "${pkgdir}/usr/bin/gunicorn_pecan-python2"
--------------------------------------------------------------------------------------------------------------

This task depends upon

Closed by  Thore Bödecker (foxxx0)
Tuesday, 16 January 2018, 11:00 GMT
Reason for closing:  Fixed
Additional comments about closing:  python{,2}-pecan 1.2.1-4

Loading...