安装nginx遇到问题
Tofloor
poster avatar
shantong
deepin
2018-06-11 22:25
Author
  1. [shantong~]$ sudo apt-get install nginx -y
  2. 正在读取软件包列表... 完成
  3. 正在分析软件包的依赖关系树      
  4. 正在读取状态信息... 完成      
  5. 下列【新】软件包将被安装:
  6.   nginx
  7. 升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
  8. 需要下载 0 B/85.0 kB 的归档。
  9. 解压缩后会消耗 97.3 kB 的额外空间。
  10. 正在选中未选择的软件包 nginx。
  11. (正在读取数据库 ... 系统当前共安装有 218195 个文件和目录。)
  12. 正准备解包 .../nginx_1.13.3-1_all.deb  ...
  13. 正在解包 nginx (1.13.3-1) ...
  14. 正在设置 nginx (1.13.3-1) ...
Copy the Code
软件的依赖不见了,只安装了nginx,我更新也没有用,而且也启动不了,什么原因呢

  1. [shantong~]$ sudo service nginx start
  2. Job for nginx.service failed because the control process exited with error code.
  3. See "systemctl  status nginx.service" and "journalctl  -xe" for details.
  4. [shantong~]$ systemctl  status nginx.service
  5. ● nginx.service - A high performance web server and a reverse proxy server
  6.    Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
  7.    Active: failed (Result: exit-code) since Mon 2018-06-11 14:23:25 CST; 18s ago
  8.      Docs: man:nginx(8)
  9.   Process: 8139 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=203/EXEC)
  10.       CPU: 983us
Copy the Code
我用 autoremove 把nginx卸载了之后, nginx这个服务还是存在,不知道为什么,apache2我已经关了
现在怎么安装使用呢
Reply Favorite View the author
All Replies
avatar
观摩
deepin
2018-06-12 01:26
#1
不明所以,不过我这边自己安装nginx倒是很顺利
Reply View the author
avatar
21wmd
deepin
2018-06-12 01:34
#2
先停止 nginx 的服务,然后再删除程序
Reply View the author
avatar
shantong
deepin
2018-06-12 02:05
#3
https://bbs.deepin.org/post/157998
先停止 nginx 的服务,然后再删除程序

没有用,停止了还在,删除的话也只删除 nginx,其他的依赖不知道去哪了
Reply View the author