无法在 Ubuntu 18.04.3 上安装 Nginx

无法在 Ubuntu 18.04.3 上安装 Nginx

我是服务器设置新手,似乎无法在 Digitalocean 的 Ubuntu 18.04.3 (LTS) x64 服务器上安装 nginx。我尝试阅读其他条目,但似乎没有一个解决方案对我有用。我尝试卸载并重新安装,但总是得到相同的响应。

sudo apt-get install nginx
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 : Depends: nginx-core (< 1.14.0-0ubuntu1.7.1~) but it is not going to be installed or
                  nginx-full (< 1.14.0-0ubuntu1.7.1~) but it is not going to be installed or
                  nginx-light (< 1.14.0-0ubuntu1.7.1~) but it is not going to be installed or
                  nginx-extras (< 1.14.0-0ubuntu1.7.1~) but it is not going to be installed
         Depends: nginx-core (>= 1.14.0-0ubuntu1.7) but it is not going to be installed or
                  nginx-full (>= 1.14.0-0ubuntu1.7) but it is not going to be installed or
                  nginx-light (>= 1.14.0-0ubuntu1.7) but it is not going to be installed or
                  nginx-extras (>= 1.14.0-0ubuntu1.7) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

任何帮助将不胜感激!

相关内容