Inkscape.org
Beginners' Questions Error while installing Inkscape 1.2 on Kubuntu 22.04
  1. #1
    Mostafa Ahangarha Mostafa Ahangarha @ahangarha

    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)
    

    How to fix this issue?

  2. #2
    Tyler Durden Tyler Durden @TylerDurden

    I'd ask the Devs on the user chat channel: https://chat.inkscape.org/channel/inkscape_user

  3. #3
    Mostafa Ahangarha Mostafa Ahangarha @ahangarha

    Thanks. I will ask it there as well.

  4. #4
    mendy mendy @mendy

    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

     

  5. #5
    Mostafa Ahangarha Mostafa Ahangarha @ahangarha
    *

    Solution as suggested by Mc on chat server:

    sudo apt remove lib2geom1.1.0 inkscape && sudo apt install inkscape 

     

    Thanks Mendy. I had also old PPAs there. I removed them after using the above solution.

Inkscape Inkscape.org Inkscape Forum Beginners' Questions Error while installing Inkscape 1.2 on Kubuntu 22.04