Question

Estoy intentando instalar algunos paquetes de Nginx pero me topo con este error.¿ Que podria estar pasando?

apt-get install nginx-common
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 nginx : Depends: nginx-core (< 1.14.0-0ubuntu1.6.1~) but it is not going to be installed or
                  nginx-full (< 1.14.0-0ubuntu1.6.1~) but it is not going to be installed or
                  nginx-light (< 1.14.0-0ubuntu1.6.1~) but it is not going to be installed or
                  nginx-extras (< 1.14.0-0ubuntu1.6.1~) but it is not going to be installed
         Depends: nginx-core (>= 1.14.0-0ubuntu1.6) but it is not going to be installed or
                  nginx-full (>= 1.14.0-0ubuntu1.6) but it is not going to be installed or
                  nginx-light (>= 1.14.0-0ubuntu1.6) but it is not going to be installed or
                  nginx-extras (>= 1.14.0-0ubuntu1.6) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello,

I would suggest trying to run this command:

apt --fix-broken install

as suggested in the output.

Let me know how it goes! Regards, Bobby