Nginx
解除安裝 Phusion 乘客和維修包數據庫
前段時間,我使用這些說明安裝了 Phusion Passenger 。我的 sources.list 中也有 debdeb.org 儲存庫。
我現在想從 dobdeb.org 刪除乘客並安裝一個乾淨的 nginx 包。移除
passenger
模組不是問題。但是,如果我嘗試刪除nginx-extras
ornginx-common
包,我會得到以下結果$ sudo apt-get remove nginx-common nginx-extras Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: php5-apc Use 'apt-get autoremove' to remove it. The following extra packages will be installed: apache2 apache2-mpm-worker apache2-utils apache2.2-bin apache2.2-common libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap Suggested packages: apache2-doc apache2-suexec apache2-suexec-custom The following packages will be REMOVED: nginx-common nginx-extras The following NEW packages will be installed: apache2 apache2-mpm-worker apache2-utils apache2.2-bin apache2.2-common libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap 0 upgraded, 9 newly installed, 2 to remove and 5 not upgraded. Need to get 1477 kB of archives. After this operation, 2705 kB of additional disk space will be used.
似乎我的包數據庫在某種程度上被破壞了,我想知道如果我刪除了 nginx-extras,為什麼還要安裝 apache2。
如何刪除 nginx-extras 和 nginx-common 而無需安裝 apache2 並在之後安裝“乾淨”版本?
我會假設你安裝的東西有一個被安裝的 nginx 或 apache2 滿足的依賴項。
嘗試使用
aptitude why apache2
和/或aptitude why nginx-common
查看任何潛在的關係。