粘贴子进程被信号杀死(管道断裂)

粘贴子进程被信号杀死(管道断裂)

我正在使用ubuntu18.04。我尝试卸载nginx并删除了/etc/nginx目录。现在我想nginx在我的服务器上重新安装,但我收到以下错误。

root@localhost:~# apt-get install nginx
Reading package lists... Done
Building dependency tree       
Reading state information... Done
nginx is already the newest version (1.14.0-0ubuntu1.2).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libnginx-mod-http-geoip : Depends: nginx-common (= 1.14.0-0ubuntu1.2) but it is not going to be installed
 libnginx-mod-http-image-filter : Depends: nginx-common (= 1.14.0-0ubuntu1.2) but it is not going to be installed
 libnginx-mod-http-xslt-filter : Depends: nginx-common (= 1.14.0-0ubuntu1.2) but it is not going to be installed
 libnginx-mod-mail : Depends: nginx-common (= 1.14.0-0ubuntu1.2) but it is not going to be installed
 libnginx-mod-stream : Depends: nginx-common (= 1.14.0-0ubuntu1.2) but it is not going to be installed
 nginx : Depends: nginx-core (< 1.14.0-0ubuntu1.2.1~) but it is not going to be installed or
                  nginx-full (< 1.14.0-0ubuntu1.2.1~) but it is not going to be installed or
                  nginx-light (< 1.14.0-0ubuntu1.2.1~) but it is not going to be installed or
                  nginx-extras (< 1.14.0-0ubuntu1.2.1~) but it is not going to be installed
         Depends: nginx-core (>= 1.14.0-0ubuntu1.2) but it is not going to be installed or
                  nginx-full (>= 1.14.0-0ubuntu1.2) but it is not going to be installed or
                  nginx-light (>= 1.14.0-0ubuntu1.2) but it is not going to be installed or
                  nginx-extras (>= 1.14.0-0ubuntu1.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

我尝试解决此错误,但找不到任何解决方案。请帮我解决此错误。非常感谢。

相关内容