Inkscape 1.2 has been released. It brings great, long awaited new features, like multiple pages and others. Unfortunately, when I try to install it from its official Inkscape Stable PPA, I got an error like this:
dpkg: error processing archive /var/cache/apt/archives/inkscape_1%3a1.2+202205241504+da316b6974~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+202205241504+da316b6974~ubuntu22.04.1_amd64.deb
From the error message we know that Inkscape 1.2 package comes with lib2geom library and so conflict happens with lib2geom1.1.0 package installed on my Ubuntu 22.04. This hapens because I've already installed Inkscape 1.1 from Ubuntu default repository.
If you have Inkscape 1.1 installed on your Ubuntu 22.04, you probably would experience the same error.
Workaround
This kind of error sometimes happen and all we have to do is removing old Inkscape package along with the dependencies. Here are the workaround I've successfully managed:
sudo apt remove lib2geom1.1.0 inkscape
sudo apt autoremove
sudo add-apt-repository ppa:inkscape.dev/stable
sudo apt update
sudo apt install inkscape
AppImage Version
Alongside PPA, there is also an AppImage version you can download from the Inkscape official download page. If you don't want to make a little mess, AppImage is the safer choice.
Also, AppImage allows you to have two different Inkscape version installed on your system. From my experience, the AppImage performance is quite good, nearly as fast as the DEB version.
Comments