FS#51679 - [cfitsio] /usr/bin/smem is provided by both cfitsio and smem

Attached to Project: Arch Linux
Opened by Maurizio D'Addona (mauritiusdadd) - Thursday, 03 November 2016, 18:52 GMT
Last edited by Antonio Rojas (arojas) - Friday, 04 November 2016, 21:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 7
Private No

Details

Description:
The file /usr/bin/smem is provided by the package cfitsio [1] and by the package smem [2], therefore a full system update is not possible while having both the aforementioned packages installed and the operation fails with the followin errors:

:: Proceed with installation? [Y/n]
(3/3) checking keys in keyring [############################] 100%
(3/3) checking package integrity [############################] 100%
(3/3) loading package files [############################] 100%
(3/3) checking for file conflicts [############################] 100%
error: failed to commit transaction (conflicting files)
cfitsio: /usr/bin/smem exists in filesystem
Errors occurred, no packages were upgraded.

Steps to reproduce:
- Use the command # pacman -Syu cfitsio smem


[1] https://www.archlinux.org/packages/extra/x86_64/cfitsio/files/
[2] https://www.archlinux.org/packages/community/x86_64/smem/files/
This task depends upon

Closed by  Antonio Rojas (arojas)
Friday, 04 November 2016, 21:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  cfitsio 3.390-3
Comment by Astro Benzene (Universebenzene) - Thursday, 03 November 2016, 21:07 GMT
Also met a similar problem with an AUR package depends on cfitsio https://aur.archlinux.org/packages/astrometry.net/ , which has already provided /usr/bin/fitscopy and /usr/bin/imcopy. Although these two files can be removed from astrometry.net.
Comment by GI Jack (GI_Jack) - Friday, 04 November 2016, 18:44 GMT
confirmed. pls add a conflicts=, replace=, and provides=