我的 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.

任何幫助將不勝感激!

相關內容