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#43521 - json-c and jsoncpp file conflict
Attached to Project:
Arch Linux
Opened by Laurent Rahuel (asrenzo) - Tuesday, 20 January 2015, 11:45 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 22 January 2015, 15:27 GMT
Opened by Laurent Rahuel (asrenzo) - Tuesday, 20 January 2015, 11:45 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 22 January 2015, 15:27 GMT
|
DetailsDescription:
File conflict between json-c and jsoncpp json-c is installed on my system as a libpulse requirement. Today, a pacman -suy needs to add jsoncpp to my packages as some other requirement. But both of these packages provide /usr/include/json-c/json.h Thus my update fails with: error: failed to commit transaction (conflicting files) /usr/include/json-c/json.h exists in both 'json-c' and 'jsoncpp' Errors occurred, no packages were upgraded. Regards, Laurent |
This task depends upon
Closed by Doug Newgard (Scimmia)
Thursday, 22 January 2015, 15:27 GMT
Reason for closing: Not a bug
Additional comments about closing: System too out of date.
Thursday, 22 January 2015, 15:27 GMT
Reason for closing: Not a bug
Additional comments about closing: System too out of date.
cd /usr/include
ls -l | grep json
lrwxrwxrwx 1 root root 6 Jun 7 2013 json -> json-c
drwxr-xr-x 2 root root 4096 Jun 7 2013 json-c
drwxr-xr-x 3 root root 4096 Sep 23 2013 json-glib-1.0
drwxr-xr-x 3 root root 4096 Jun 15 2013 jsoncpp
drwxr-xr-x 2 root root 4096 Feb 26 2013 qjson
I have such a symlink but this one has the exact same date as the original folder.
Do you mean I need to remove my /usr/include/json symlink ?
Regards
I add to :
pacman-db-upgrade
==> Pre-4.2 database format detected - upgrading...
But I'm now sure I did not symlink myself.
I have severals systems (almost 10) which are in the same state as the one I tried to update this morning and when, on each of them I look at /usr/include, I get:
lrwxrwxrwx 1 root root 6 7 juin 2013 json -> json-c
drwxr-xr-x 2 root root 4096 7 juin 2013 json-c
drwxr-xr-x 3 root root 4096 15 juin 2013 jsoncpp
drwxr-xr-x 3 root root 4096 3 juin 2014 json-glib-1.0
drwxr-xr-x 2 root root 4096 26 févr. 2013 qjson
This means that /usr/include/json has been added by some package and not me.
How can I help before upgrading these systems ?
Regards,
Laurent
pacman -Qo /usr/include/json
/usr/include/json is owned by json-c 0.11-1
Regards
Thanks