Jump to content

nginx 1.18 is failing to install because of nginx-core dependency of libcrypt1


Sergei

Recommended Posts

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

Link to comment
Share on other sites

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."  :D

 

@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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines