Hallo zusammen
Ich bin neu hier im Forum und brauche mal eure Hilfe beim installieren von Homebridge, genauer gesagt beim installieren von Node.js.
Bei der Installation bekomme ich mehrere Fehlermeldungen.
Ich gehe nach dieser Anleitung vor:
# setup repo
curl -sL https://deb.nodesource.com/setup_12.x | sudo bash -
# install Node.js
sudo apt-get install -y nodejs gcc g++ make python
# test node is working
node -v
# upgrade npm (version 6.13.4 has issues with git dependencies)
sudo npm i -g npm
Alles anzeigen
Und hier bekomme ich dann die Fehlermeldungen:
Folgende Fehlermeldungen sind es:
g++ ist schon die neueste Version (4:6.3.0-4).
gcc ist schon die neueste Version (4:6.3.0-4).
make ist schon die neueste Version (4.1-9.1).
python ist schon die neueste Version (2.7.13-2).
nodejs ist schon die neueste Version (12.16.1-1nodesource1).
Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt:
libfam0
Verwenden Sie »sudo apt autoremove«, um es zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 3 nicht aktualisiert.
2 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
nginx-full (1.10.3-1+deb9u3) wird eingerichtet ...
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2020-02-25 14:03:41 CET; 34ms ago
Docs: man:nginx(8)
Process: 23354 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Feb 25 14:03:41 chocPi systemd[1]: Starting A high performance web server and a reverse proxy server...
Feb 25 14:03:41 chocPi nginx[23354]: nginx: [emerg] invalid number of arguments in "add_header" directive in /etc/nginx/conf…s.conf:16
Feb 25 14:03:41 chocPi nginx[23354]: nginx: configuration file /etc/nginx/nginx.conf test failed
Feb 25 14:03:41 chocPi systemd[1]: nginx.service: Control process exited, code=exited status=1
Feb 25 14:03:41 chocPi systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Feb 25 14:03:41 chocPi systemd[1]: nginx.service: Unit entered failed state.
Feb 25 14:03:41 chocPi systemd[1]: nginx.service: Failed with result 'exit-code'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: Fehler beim Bearbeiten des Paketes nginx-full (--configure):
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von nginx:
nginx hängt ab von nginx-full (<< 1.10.3-1+deb9u3.1~) | nginx-light (<< 1.10.3-1+deb9u3.1~) | nginx-extras (<< 1.10.3-1+deb9u3.1~); aber:
Paket nginx-full ist noch nicht konfiguriert.
Paket nginx-light ist nicht installiert.
Paket nginx-extras ist nicht installiert.
nginx hängt ab von nginx-full (>= 1.10.3-1+deb9u3) | nginx-light (>= 1.10.3-1+deb9u3) | nginx-extras (>= 1.10.3-1+deb9u3); aber:
Paket nginx-full ist noch nicht konfiguriert.
Paket nginx-light ist nicht installiert.
Paket nginx-extras ist nicht installiert.
dpkg: Fehler beim Bearbeiten des Paketes nginx (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
Fehler traten auf beim Bearbeiten von:
nginx-full
nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)
Hat jemand eine Idee was das sein kann?
Danke & Gruss