I encountered this error in a Xenial->Bionic upgrade today, with current (final) Bionic (18.04.1).
Installation didn't complete, then trying apt-get -f install resulted in the message apt-get: error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory Quick search confirmed there was no such file in the system. I copied /usr/lib/x86_64-linux-gnu/libzstd.so.1.3.3 over from another machine running Bionic, linked it to libzstd.so.1, ran apt-get -f install and then apt-get dist-upgrade, which completed the upgrade without further problems. It looks like apt got upgraded before libzstd was installed. Why I don't know, but my first guess would be some rare race condition. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1764858 Title: Can't update / install / delete packages due to missing libzstd.so.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1764858/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
