Announcement

Collapse
No announcement yet.

cannot upgrade because of libzstd1-related problem

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] cannot upgrade because of libzstd1-related problem

    hello, i have over 250 pending upgrades, but they won' install (see below)

    to be clear this install did not start from a kubuntu beta but from the budgie one which i was curious to try
    I later installed the plasma5 desktop and purged the system from budgie
    updates/upgrades went fine since then (about two weeks I guess) but now i cannot install anything

    I found a seemingly related report on lauchapd:
    https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1764858
    has anyone seen (and solved) a similar
    problem ?

    Extracting templates from packages: 100%
    Preconfiguring packages ...
    setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file
    dpkg-deb: error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory
    dpkg: error processing archive /var/cache/apt/archives/libperl5.26_5.26.1-6_amd64.deb (--unpack):
    dpkg-deb --control subprocess returned error exit status 127
    dpkg-deb: error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory
    dpkg: error processing archive /var/cache/apt/archives/perl_5.26.1-6_amd64.deb (--unpack):
    dpkg-deb --control subprocess returned error exit status 127
    dpkg-deb: error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory
    dpkg: error processing archive /var/cache/apt/archives/perl-base_5.26.1-6_amd64.deb (--unpack):
    dpkg-deb --control subprocess returned error exit status 127
    Errors were encountered while processing:
    /var/cache/apt/archives/libperl5.26_5.26.1-6_amd64.deb
    /var/cache/apt/archives/perl_5.26.1-6_amd64.deb
    /var/cache/apt/archives/perl-base_5.26.1-6_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Last edited by baldyeti; Apr 21, 2018, 03:08 AM.

    #2
    Did you remove budgie sources from /apt/sources.list?


    Sent from my iPhone using Tapatalk
    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
    – John F. Kennedy, February 26, 1962.

    Comment


      #3
      Hello "GreyGeek", thanks for asking. Actually I managed to solve the problem by force-extracting the content of the libzstd1 deb archive. That restored the missing shared library and after that all seems to work normally (all updates installed).

      Comment


        #4
        Originally posted by baldyeti View Post
        Hello "GreyGeek", thanks for asking. Actually I managed to solve the problem by force-extracting the content of the libzstd1 deb archive. That restored the missing shared library and after that all seems to work normally (all updates installed).
        *thumbs up*
        I had to use that trick when I was running RPM based distros years ago, but don't recall having to use it on Kubuntu or Neon.
        "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
        – John F. Kennedy, February 26, 1962.

        Comment


          #5
          Originally posted by GreyGeek View Post
          I don't recall having to use it on Kubuntu or Neon.
          I _think_ what happened is i did too thorough a cleanup job after removing budgie.
          "apt autoremove" saw nothing left to do, yet deborphan suggested getting rid of an extra dozen packages

          Comment


            #6
            Mmmmm. Deborphan
            Never heard of it or don’t remember every hearing about it. Either way, I’m going to try it before I forget about it.
            "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
            – John F. Kennedy, February 26, 1962.

            Comment


              #7
              Used deborphan and found this:

              $ deborphan

              libportaudiocpp0:amd64
              libjpeg62:i386
              libva-glx1:amd64
              acpidump:all
              kdeconnect-plasma:all
              mesa-vdpau-drivers-lts-xenial:amd64
              systemd-gui:all
              libqt5scripttools5:amd64
              libtag-extras1:amd64
              and after removing dummy packages:
              $ deborphan
              libportaudiocpp0:amd64
              libva-glx1:amd64
              libqt5scripttools5:amd64
              libtag-extras1:amd64
              Those left over were not "dummy" packages nor were they packages without dependencies, so I left them.
              "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
              – John F. Kennedy, February 26, 1962.

              Comment

              Working...
              X