You are not logged in.
A package in the aur that I want has jsonccp as a requirement. I tried to build the package from the aur, but got this:
[leafy@birch netctl-gui]$ makepkg -si
==> Making package: netctl-gui 1.4.9-1 (Thu Feb 1 12:06:49 EST 2018)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
Packages (5) jsoncpp-1.8.4-2 libuv-1.19.1-1 rhash-1.3.5-2 cmake-3.10.2-2 extra-cmake-modules-5.42.0-1
Total Download Size: 0.21 MiB
Total Installed Size: 34.48 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
extra-cmake-modules-5.42.0-1-any 212.6 KiB 818K/s 00:00 [##########################################] 100%
(5/5) checking keys in keyring [##########################################] 100%
(5/5) checking package integrity [##########################################] 100%
(5/5) loading package files [##########################################] 100%
(5/5) checking for file conflicts [##########################################] 100%
error: failed to commit transaction (conflicting files)
jsoncpp: /usr/lib/libjsoncpp.a exists in filesystem
Errors occurred, no packages were upgraded.
==> ERROR: 'pacman' failed to install missing dependencies.
I thought it might be a problem with the aur package, so I tried deleting the directory I had pulled and installing jsoncpp on its own. However, I got this similar output:
[leafy@birch ~]$ sudo pacman -S jsoncpp
resolving dependencies...
looking for conflicting packages...
Packages (1) jsoncpp-1.8.4-2
Total Installed Size: 1.56 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)
jsoncpp: /usr/lib/libjsoncpp.a exists in filesystem
Errors occurred, no packages were upgraded.
I searched around, and found this bug report, which seems relevant but was resolved fairly recently.
I'm not sure what to try next, can anyone point me in the right direction?
Last edited by Leafy Greens (2018-02-01 18:01:20)
Explicit um est volumen
(The scroll has been completely unrolled)
Offline
Offline
Following the instructions in the article, I ran
[leafy@birch ~]$ sudo pacman -Qo /usr/lib/libjsoncpp.a
which gave me
/usr/lib/libjsoncpp.a is owned by avogadrolibs 1.90.0-6
The article says to submit a bug report if the file is owned by another package, but is there anything else to try before I escalate it to that?
Explicit um est volumen
(The scroll has been completely unrolled)
Offline
Re-read the bug report you linked to. It says it's fixed...in what version?
Offline
EDIT: realized I was reading it incorrectly. Fixed in 0-7? But when I tried to update avogadrolibs, it just reinstalled version 0-6. Going to look into this further.
Last edited by Leafy Greens (2018-02-01 17:50:31)
Explicit um est volumen
(The scroll has been completely unrolled)
Offline
Closed by Antonio Rojas (arojas)
Thursday, 01 February 2018, 10:54 GMT-6
Reason for closing: Fixed
Additional comments about closing: avogadrolibs 1.90.0-7
Offline
Ok, this is strange. I tried to reinstall avogadrolibs, but it's only finding 1-90-0-6, even though the website has 1.90.0-7. Is there a way to force the new version to install?
EDIT: rebooting and running a full system update seems to have fixed it.
Last edited by Leafy Greens (2018-02-01 17:57:04)
Explicit um est volumen
(The scroll has been completely unrolled)
Offline