Bonjour !
Suite à une tentative d’installation de nginx, je me retrouve avec un problème de dépendances non remplies.
C’est une installation “fraîche” du système sur un serveur “Kimsufi”.
J’ai voulu installer la dernière version stable de nginx :
wget -O - https://nginx.org/keys/nginx_signing.key | apt-key add -
echo "deb http://nginx.org/packages/debian/ stretch nginx" > /etc/apt/sources.list.d/nginx.list
apt-get update
apt-get install nginx
Ca c’est plutôt bien passé malgré quelques warning sur des variables non créées…
Par la suite en me documentant sur la manière de configurer le serveur, j’ai pensé que le package “nginx-full” était une meilleur idée et j’ai enchaîné avec un :
apt-get install nginx-full
Et là, c’est le drame ! L’installation part en erreur et depuis j’ai le soucis qui m’amène ici :
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
J’ai essayé la commande avec ou sans package ; sans succès…
apt --fix-broken install
apt --fix-broken install nginx
apt --fix-broken install nginx-full
La sortie de cette dernière commande :
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libnginx-mod-http-auth-pam : Depends: nginx-common (= 1.10.3-1) but it is not going to be installed
libnginx-mod-http-dav-ext : Depends: nginx-common (= 1.10.3-1) but it is not going to be installed
libnginx-mod-http-echo : Depends: nginx-common (= 1.10.3-1) but it is not going to be installed
libnginx-mod-http-geoip : Depends: nginx-common (= 1.10.3-1) but it is not going to be installed
libnginx-mod-http-image-filter : Depends: nginx-common (= 1.10.3-1) but it is not going to be installed
libnginx-mod-http-subs-filter : Depends: nginx-common (= 1.10.3-1) but it is not going to be installed
libnginx-mod-http-upstream-fair : Depends: nginx-common (= 1.10.3-1) but it is not going to be installed
libnginx-mod-http-xslt-filter : Depends: nginx-common (= 1.10.3-1) but it is not going to be installed
libnginx-mod-mail : Depends: nginx-common (= 1.10.3-1) but it is not going to be installed
libnginx-mod-stream : Depends: nginx-common (= 1.10.3-1) but it is not going to be installed
nginx-full : Depends: nginx-common (= 1.10.3-1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Quelqu’un saurait-il gérer cette situation ?
D’avance Merci !