Today I tried to install Inkscape 1.2 on my Kubuntu 22.04 machine through ppa but got this error:
β ~ sudo apt install inkscape
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
lib2geom1.1.0
Use 'sudo apt autoremove' to remove it.
Suggested packages:
libsvg-perl libxml-xql-perl python3-serial pstoedit
The following packages will be upgraded:
inkscape
1 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
1 not fully installed or removed.
Need to get 0 B/23.7 MB of archives.
After this operation, 86.7 MB of additional disk space will be used.
(Reading database ... 464268 files and directories currently installed.)
Preparing to unpack .../inkscape_1%3a1.2+202206011326+fc4e4096c5~ubuntu22.04.1_amd64.deb ...
Unpacking inkscape (1:1.2+202206011326+fc4e4096c5~ubuntu22.04.1) over (1.1.2-3ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/inkscape_1%3a1.2+202206011326+fc4e4096c5~ubuntu22.04.1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/lib2geom.so.1.1.0', which is also in package lib2geom1.1.0:amd64 1.1-2build1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/inkscape_1%3a1.2+202206011326+fc4e4096c5~ubuntu22.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Using the 1.1 PPA at time it failed. Removed CLI and let it install 1.1 from repo.
Added correct PPA and installed.
Maybe there are remnants left, could remove first and install from PPA. Works here, actually purged once with no issue in Inkscape just so I could see what actual extensions are fresh installed for my backup records.
Today I tried to install Inkscape 1.2 on my Kubuntu 22.04 machine through ppa but got this error:
How to fix this issue?
I'd ask the Devs on the user chat channel:Β https://chat.inkscape.org/channel/inkscape_user
Thanks. I will ask it there as well.
UM22.04
If no answer from above I did have initial issue in I chose the wrong PPA. At time it was not out yet for 1.2.
Used this link for 1.2 PPAΒ https://launchpad.net/~inkscape.dev/+archive/ubuntu/stable-1.2
Using the 1.1 PPA at time it failed. Removed CLI and let it install 1.1 from repo.
Added correct PPA and installed.
Maybe there are remnants left, could remove first and install from PPA. Works here, actually purged once with no issue in Inkscape just so I could see what actual extensions are fresh installed for my backup records.
Check first on Tyler's link.
I
Β
Solution as suggested by Mc on chat server:
Β
Thanks Mendy. I had also old PPAs there. I removed them after using the above solution.