Sergei Posted November 13, 2020 Posted November 13, 2020 Recently updated soft on Banana Pi. After updating packages and restarting realized that nginx was not installed. Attempt to install it failed with: The following packages have unmet dependencies: nginx-core : Depends: libcrypt1 (>= 1:4.1.0) but it is not installable Appears, that libcrypt1 library was removed. Does any one experience this? Any fixes? Thanks SF
NicoD Posted November 16, 2020 Posted November 16, 2020 I don't even know what nginx is. But you could try with aptitude and press "n" until you get what you need. Install ... and also install the dependency sudo aptitude install nginx-core Or maybe sudo apt install libcrypt1
TRS-80 Posted November 16, 2020 Posted November 16, 2020 11 minutes ago, NicoD said: I don't even know what nginx is. It's a lightweight web and reverse proxy server. Many people prefer it to Apache for some years now because of its smaller footprint and thus perceived better security, etc. You may have heard people call it "Engine X" which is actually how it is pronounced. But it took me couple years to realize they were talking about "nginx." @Sergei, You are on Testing or Unstable? A quick search of Debian repositories for nginx-core seems to indicate that will be required. Don't forget to `apt-update` after changing your sources. 1
Sergei Posted December 21, 2020 Author Posted December 21, 2020 Hi Thanks for reply. Here is what APT saying: sudo apt install nginx-core Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: nginx-core : Depends: libcrypt1 (>= 1:4.1.0) but it is not installable E: Unable to correct problems, you have held broken packages. nginx-core is not getting installed, because libcrypt1 got out of distribution. I do not know why it describes libcrypt1 as dependency. ~$ apt-cache depends nginx-core nginx-core Depends: libnginx-mod-http-image-filter Depends: libnginx-mod-http-xslt-filter Depends: libnginx-mod-mail Depends: libnginx-mod-stream Depends: libnginx-mod-stream-geoip Depends: nginx-common Depends: iproute2 Depends: libc6 Depends: <libcrypt1> Depends: libpcre3 Depends: libssl1.1 Depends: zlib1g Conflicts: nginx-extras Conflicts: nginx-light Breaks: nginx Breaks: nginx-full Suggests: nginx-doc Replaces: nginx-full For my odroid I have 1.18 installed and it does not list dependency on libcrypt1 package $ apt-cache depends nginx-core nginx-core Depends: libnginx-mod-http-image-filter Depends: libnginx-mod-http-xslt-filter Depends: libnginx-mod-mail Depends: libnginx-mod-stream Depends: libnginx-mod-stream-geoip Depends: nginx-common Depends: iproute2 Depends: libc6 Depends: libpcre3 Depends: libssl1.1 Depends: zlib1g Conflicts: nginx-extras Conflicts: nginx-light Breaks: nginx Breaks: nginx-full Suggests: nginx-doc Replaces: nginx-full Thanks
Recommended Posts