FS#70483 - [root] 6.24.00-1 packaged nlohmann/json.hpp which is provided by community/nlohmann-json

Attached to Project: Community Packages
Opened by 陈浩南 (chn) - Saturday, 17 April 2021, 01:38 GMT
Last edited by Konstantin Gizdov (kgizdov) - Wednesday, 21 April 2021, 16:01 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Konstantin Gizdov (kgizdov)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

The package community/nlohmann-json 3.9.1-1 already provided file /usr/include/nlohmann/json.hpp, causes root 6.24.00-1 install or upgrade from 6.22.00-1 failed. Maybe the file in root should be removed while packaging.

Additional info:
* package version(s)
[root] 6.24.00-1
[nlohmann-json] 3.9.1-1
* config and/or log files etc.
```
$ LANG=C yay
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
liquorix is up to date
repo-ck is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Package (1) Old Version New Version Net Change

community/root 6.22.08-1 6.24.00-1 48.77 MiB

Total Installed Size: 419.00 MiB
Net Upgrade Size: 48.77 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [#############################################################################] 100%
(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)
root: /usr/include/nlohmann/json.hpp exists in filesystem (owned by nlohmann-json)
Errors occurred, no packages were upgraded.
error installing repo packages
```

Steps to reproduce:

1. Remove root 6.24.00-1 if it has been installed before.
2. install nlohmann-json.
3. install root 6.24.00-1 or upgrade root to 6.24.00-1. Pacman will complain about confiction.
This task depends upon

Closed by  Konstantin Gizdov (kgizdov)
Wednesday, 21 April 2021, 16:01 GMT
Reason for closing:  Fixed
Additional comments about closing:  root-6.24.00-3
Comment by 陈浩南 (chn) - Saturday, 17 April 2021, 01:44 GMT
"root 6.22.00-1" should be "root 6.22.08-1". Sorry for the mistypo.
Comment by Konstantin Gizdov (kgizdov) - Wednesday, 21 April 2021, 14:04 GMT
Sorry, did not see this bug until now. New build is coming up in a bit and should fix that.

Loading...