Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Inkscape install issue (Read 331 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Inkscape install issue

Hey everyone

Having a tough time installing Inkscape tonight.
I tried removing lib2geom, installing it, clearing out the entries in /usr/lib/cmake etc. but always getting the same error.
Any help would be appreciated - see below.

Code: [Select]
error: failed to commit transaction (conflicting files)
inkscape: /usr/lib/cmake/2Geom/2GeomConfig.cmake exists in filesystem (owned by lib2geom)
inkscape: /usr/lib/cmake/2Geom/2GeomConfigVersion.cmake exists in filesystem (owned by lib2geom)
inkscape: /usr/lib/cmake/2Geom/2GeomTargets.cmake exists in filesystem (owned by lib2geom)
inkscape: /usr/lib/lib2geom.so exists in filesystem (owned by lib2geom)
inkscape: /usr/lib/pkgconfig/2geom.pc exists in filesystem (owned by lib2geom)
Errors occurred, no packages were upgraded.
Supercalifragilisticexpialidocious

world/lib2geom and world/inkscape should conflict or be updated.

Reply #1
pacman -Sy world/inkscape world/lib2geom:
Code: [Select]
[...]
Package (2)     Old Version  New Version  Net Change  Download Size

world/inkscape  1.3.2-12     1.4-1          5.26 MiB              
world/lib2geom  1.3-2        1.3-2          0.00 MiB       0.49 MiB

Total Download Size:     0.49 MiB
Total Installed Size:  176.83 MiB
Net Upgrade Size:        5.26 MiB
[...]
error: failed to commit transaction (conflicting files)
/usr/lib/cmake/2Geom/2GeomConfig.cmake exists in both 'lib2geom' and 'inkscape'
/usr/lib/cmake/2Geom/2GeomConfigVersion.cmake exists in both 'lib2geom' and 'inkscape'
/usr/lib/cmake/2Geom/2GeomTargets.cmake exists in both 'lib2geom' and 'inkscape'
/usr/lib/lib2geom.so exists in both 'lib2geom' and 'inkscape'
/usr/lib/pkgconfig/2geom.pc exists in both 'lib2geom' and 'inkscape'
Errors occurred, no packages were upgraded.
Regards!

Re: Inkscape install issue

Reply #2
An odd one because if you build the inkscape package locally (I just did) those conflicting files are not in the inkscape package.

So you could build it locally and I imagine get the same result as me or you could install lib2geom first and then use pacman's --overwrite option to overwrite each conflicting file when you install inkcape.

Or if in no hurry you could wait until the package is hopefully fixed.
@Dudemanguy

Re: Inkscape install issue

Reply #3
I can confirm I also have run into this issue. I have simply added inkscape to my IgnorePkg list in my /etc/pacman.conf for now. Thanks for the insights offered up by @gripped . Hopefully it gets resolved soon! ☮️

Re: Inkscape install issue

Reply #4
Yeah that's weird. All I did was rebuild it again and the conflicting files magically disappeared. Not sure how this happened in the first place.

Re: Inkscape install issue

Reply #5
Here's the update.
I did build it locally besides taking a while, it did work out just fine.

It's a work around but certainly acceptable for me at this point.

Thanks for the insight everyone, muchly appreciated.
Marking this solved with the caveot of being a bit outside the norm for normies.
Supercalifragilisticexpialidocious

Re: Inkscape install issue

Reply #6
I started working on this last night here is what I saw:

Code: [Select]
Packages (2) lib2geom-1.3-2  inkscape-1.4-1

I'm wondering if this has to do with the now updated 2geom-1.4.0 ?
Since building this locally, that seems to be the installed version now (2geom-1.4.0)
Supercalifragilisticexpialidocious

Re: Inkscape install issue

Reply #7
Now, with another update, the issue is fixed:
world/lib2geom version 1.4-1.1,
world/inkscape version 1.4-2.