![nginx-module-image-filter をインストールできません](https://rvso.com/image/762141/nginx-module-image-filter%20%E3%82%92%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%9B%E3%82%93.png)
Ubuntu 20.04 サーバーを実行していますが、実行中にエラーが発生しましたapt install nginx-module-image-filter
:
The following packages have unmet dependencies:
nginx-module-image-filter : Depends: nginx-r1.18.0
ランニングnginx -v
:
nginx version: nginx/1.18.0 (Ubuntu)
答え1
nginxはaptではなくダウンロード可能なアーカイブからシステムにインストールされたようです。パッケージのローカルでの可用性とバージョンを確認するには、dpkg -l | grep nginx
可能であれば、続行する前に apt を使用して nginx を再インストールすることをお勧めします。
あるいは、--ignore-missingを使用してエラーを無視することもできます(apt のマニュアルページ) nginx のインストールが nginx のパッケージを通じて行われたことが確実な場合は、