How do I fix an APT that complains about missing liblber? [closed]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
-1
down vote

favorite












# 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?







share|improve this question














closed as unclear what you're asking by jasonwryan, Archemar, G-Man, Networker, Shadur Jan 4 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.


















    up vote
    -1
    down vote

    favorite












    # 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?







    share|improve this question














    closed as unclear what you're asking by jasonwryan, Archemar, G-Man, Networker, Shadur Jan 4 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.
















      up vote
      -1
      down vote

      favorite









      up vote
      -1
      down vote

      favorite











      # 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?







      share|improve this question














      # 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?









      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 7 at 14:44









      Jeff Schaller

      31.8k848109




      31.8k848109










      asked Jan 4 at 4:04









      Matthias Krug

      11




      11




      closed as unclear what you're asking by jasonwryan, Archemar, G-Man, Networker, Shadur Jan 4 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.






      closed as unclear what you're asking by jasonwryan, Archemar, G-Man, Networker, Shadur Jan 4 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.






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote













          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.






          share|improve this answer






















          • How can i switch the config to http ?
            – Matthias Krug
            Jan 4 at 15:14










          • Edited my answer.
            – telcoM
            Jan 4 at 20:58

















          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          2
          down vote













          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.






          share|improve this answer






















          • How can i switch the config to http ?
            – Matthias Krug
            Jan 4 at 15:14










          • Edited my answer.
            – telcoM
            Jan 4 at 20:58














          up vote
          2
          down vote













          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.






          share|improve this answer






















          • How can i switch the config to http ?
            – Matthias Krug
            Jan 4 at 15:14










          • Edited my answer.
            – telcoM
            Jan 4 at 20:58












          up vote
          2
          down vote










          up vote
          2
          down vote









          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.






          share|improve this answer














          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.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jan 4 at 20:58

























          answered Jan 4 at 4:53









          telcoM

          10.8k11232




          10.8k11232











          • How can i switch the config to http ?
            – Matthias Krug
            Jan 4 at 15:14










          • Edited my answer.
            – telcoM
            Jan 4 at 20:58
















          • How can i switch the config to http ?
            – Matthias Krug
            Jan 4 at 15:14










          • Edited my answer.
            – telcoM
            Jan 4 at 20:58















          How can i switch the config to http ?
          – Matthias Krug
          Jan 4 at 15:14




          How can i switch the config to http ?
          – Matthias Krug
          Jan 4 at 15:14












          Edited my answer.
          – telcoM
          Jan 4 at 20:58




          Edited my answer.
          – telcoM
          Jan 4 at 20:58


          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay