0
# apt update
/usr/lib/apt/methods/https: error while loading shared libraries: liblber-2.4.so.2: cannot open shared object
/usr/lib/apt/methods/https: error while loading shared libraries: liblber-2.4.so.2: cannot open shared object
E: Method https has died unexpectedly!
E: Unterprozess https hat Fehlercode zurückgegeben (127)
E: Methode /usr/lib/apt/methods/https ist nicht korrekt gestartet.
E: Method https has died unexpectedly!
E: Unterprozess https hat Fehlercode zurückgegeben (127)
E: Methode /usr/lib/apt/methods/https ist nicht korrekt gestartet.

It's broken. Obviously something is missing but how can I fix it?

closed as unclear what you're asking by jasonwryan, Archemar, G-Man, Networker, Shadur Jan 4 '18 at 10:12

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

2

The shared library file liblber-2.4.so.2 is apparently missing or damaged, and the https module of the apt package management tool depends on it.

At least on Debian 9, this library file is in package libldap-2.4-2_<pkg_version>_<arch>.deb. Download that package from your distribution's package repository (e.g. manually, using a web browser, or using another system and removable media, or whatever), and install it using dpkg -i /pathname/to/libldap-2.4-2_*.deb as root.

Alternatively, you could change your package repository configuration to use http instead of https; the packages themselves are still cryptographically signed so they can be automatically verified by apt. Then you could install the missing package or packages.

Edit the /etc/apt/sources.list file, and any files in /etc/apt/sources.list.d/ directory: change all https:// URLs to http:// versions. If some repository only offers https access, you may have to find another repository from a list of Debian mirror sites to replace the https-only one.

  • How can i switch the config to http ? – Matthias Krug Jan 4 '18 at 15:14
  • Edited my answer. – telcoM Jan 4 '18 at 20:58

Not the answer you're looking for? Browse other questions tagged or ask your own question.