Phusion Passengerをアンインストールし、パッケージデータベースを修復します。

Phusion Passengerをアンインストールし、パッケージデータベースを修復します。

しばらく前に、私はこれを使ってPhusion Passengerをインストールしました。指示する。また、私のsource.listにdebdeb.orgリポジトリがあります。

さて、Passengerをアンインストールし、dobdeb.orgからきれいなnginxパッケージをインストールしたいと思います。モジュールを取り外すことはpassenger問題ではありません。ただし、削除またはnginx-extrasパッケージ化しようとすると、nginx-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がインストールされるのか疑問に思います。

apache2をインストールせずにnginx-extrasとnginx-commonをアンインストールしてから「クリーン」バージョンをインストールするにはどうすればよいですか?

ベストアンサー1

私はあなたがインストールしたものがnginxまたはapache2をインストールすることによって満たすことができる依存関係を持っていると仮定します。

潜在的な関係を使用するかaptitude why apache2見てください。aptitude why nginx-common

おすすめ記事