Nach Update von Raspberry und FHEM funktioniert die Homebridge nicht mehr

Begonnen von Nathaniel143, 01 Oktober 2017, 19:37:08

Vorheriges Thema - Nächstes Thema

Nathaniel143

Guten Abend , ist wahrscheinlich nichts tragisches aber es bringt mich grad um meinen schönen Sonntagabend und ich hoffe jemand von euch kann mir helfen .Wenn ich im Terminal versuche Homebridge zu starten kommt folgender Text :

*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Camera.js:28
  let options = {
  ^^^
SyntaxError: Unexpected strict mode reserved word
    at exports.runInThisContext (vm.js:73:16)
    at Module._compile (module.js:443:25)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/index.js:3:14)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)


Der ganze Schlamassel fing an als ich meinen Raspberry und FHEM geupdatet habe .
Ich hoffe jemand kann mir helfen .
Lg

peter080560

Hallo Nathaniel, der Fehlerbericht besagt "das Programm 'node' verwendet die Apple Bonjour kompatible version von Avahi. Doch Du solltest die originale API von Avahi für 'node' bereitstellen. Kannst Du mittels Paketmanager Einfluss auf die installierten Programme nehmen?

Grinsekatze

Huch, das ist ja ne lustige Fehlermeldung. Die Node-Warnung ist normal. Habe ich (und vermutlich alle Anderen hier) auch. Es geht auch mit der Avahi-Version.

Der Fehler liegt in:
/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Camera.js
und dort in Zeile 28.

Hast Du daran etwas verändert?

Wie hast Du die Bridge installiert und wie hast Du das Update durchgeführt? Was für eine Node Version benutzt Du - das Camera Modul benötigt 5.0?

Edit:
Offenbar ein bekannter Fehler: https://github.com/KhaosT/HAP-NodeJS/issues/341

Nathaniel143

#3
Hallo ,und vielen dank das ihr mir so schnell antwortet :-)
Also ,in der Zeile 28 hab ich meines Wissens nicht verändert ,die sieht so aus :
let options = {
    proxy: false, // Requires RTP/RTCP MUX Proxy
    disable_audio_proxy: false, // If proxy = true, you can opt out audio proxy via this
    srtp: true, // Supports SRTP AES_CM_128_HMAC_SHA1_80 encryption
    video: {
      resolutions: [
        [1920, 1080, 30], // Width, Height, framerate
        [320, 240, 15], // Apple Watch requires this configuration
        [1280, 960, 30],
        [1280, 720, 30],
        [1024, 768, 30],
        [640, 480, 30],
        [640, 360, 30],
        [480, 360, 30],
        [480, 270, 30],
        [320, 240, 30],
        [320, 180, 30]
      ],

Fehlt da was ?
Eigentlich hab ich doch keine Camera an dem Gerät ?
Die version von node is 0.12.7
Das Update hab ich ganz normal vom Raspberry wie sonst auch gemacht:
Als erstes : sudo apt-get update
Zweitens : sudo apt-get dist-upgrade
Und danach noch FHEM mit update force
Was mir noch aufgefallen ist das ich keine andere node installieren kann.
Das schreibt er mir wenn ich versuche node zu installieren :
sudo apt-get install -y build-essential python-dev nodejs npm
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
build-essential : Depends: gcc (>= 4:4.9.1) but 4:4.6.3-8 is to be installed
                   Depends: g++ (>= 4:4.9.1) but 4:4.6.3-8 is to be installed
                   Depends: dpkg-dev (>= 1.17.11) but 1.16.18+rpi1 is to be installed
cups-filters : Depends: libcups2 (>= 1.7.0) but 1.5.3-5+deb7u6 is to be installed
cups-filters-core-drivers : Depends: libcups2 (>= 1.7.0) but 1.5.3-5+deb7u6 is to be installed
cups-ppdc : Depends: libcups2 (>= 1.6.2) but 1.5.3-5+deb7u6 is to be installed
epiphany-browser : Depends: libgnome-desktop-3-10 (>= 3.11.90) but it is not going to be installed
                    Recommends: yelp but it is not going to be installed
                    Recommends: evince but it is not going to be installed
hplip : Depends: libhpmud0 (= 3.12.6-3.1+deb7u2) but 3.16.11+repack0-1~bpo8+1 is to be installed
         Depends: libsnmp15 (>= 5.4.3~dfsg) but it is not installable
         Depends: libsane-hpaio (= 3.12.6-3.1+deb7u2) but 3.16.11+repack0-1~bpo8+1 is to be installed
         Depends: hplip-data (= 3.12.6-3.1+deb7u2) but 3.16.11+repack0-1~bpo8+1 is to be installed
libcupscgi1 : Depends: libcups2 (= 1.7.5-11+deb8u1) but 1.5.3-5+deb7u6 is to be installed
libcupsfilters1 : Depends: libcups2 (>= 1.7.0) but 1.5.3-5+deb7u6 is to be installed
libcupsimage2 : Depends: libcups2 (= 1.7.5-11+deb8u1) but 1.5.3-5+deb7u6 is to be installed
libcupsmime1 : Depends: libcups2 (= 1.7.5-11+deb8u1) but 1.5.3-5+deb7u6 is to be installed
libcupsppdc1 : Depends: libcups2 (= 1.7.5-11+deb8u1) but 1.5.3-5+deb7u6 is to be installed
libgl1-mesa-dri : Depends: libllvm3.9 but it is not going to be installed
                   Recommends: libtxc-dxtn-s2tc but it is not installable or
                               libtxc-dxtn-s2tc0 but it is not going to be installed or
                               libtxc-dxtn0
libglib2.0-bin : Depends: libglib2.0-0 (= 2.42.1-1) but 2.40.0-3rpi3rpi1 is to be installed
libglib2.0-dev : Depends: libglib2.0-0 (= 2.42.1-1) but 2.40.0-3rpi3rpi1 is to be installed
libldap2-dev : Depends: libldap-2.4-2 (= 2.4.40+dfsg-1+deb8u2) but 2.4.31-2+rpi1 is to be installed
libperl5.20 : Depends: perl-base (= 5.20.2-3+deb8u9) but 5.14.2-21+rpi2+deb7u2 is to be installed
libsane-hpaio : Depends: libcups2 (>= 1.6.0) but 1.5.3-5+deb7u6 is to be installed
                 Recommends: hplip (= 3.16.11+repack0-1~bpo8+1) but 3.12.6-3.1+deb7u2 is to be installed
libwayland-egl1-mesa : Depends: libegl1-mesa (= 13.0.0-1+rpi1) but it is not going to be installed
nodejs : Depends: libstdc++6 (>= 5.2) but 4.9.2-10 is to be installed
          Depends: rlwrap but it is not going to be installed
          Conflicts: nodejs-dev
          Conflicts: npm
nodejs-dev : Depends: nodejs (= 0.6.19~dfsg1-6) but 4.2.1-1nodesource1~wily1 is to be installed
npm : Depends: node-ansi (>= 0.3.0-2) but it is not going to be installed
       Depends: node-ansi-color-table but it is not going to be installed
       Depends: node-archy but it is not going to be installed
       Depends: node-fstream-ignore but it is not going to be installed
       Depends: node-github-url-from-git but it is not going to be installed
       Depends: node-glob (>= 3.1.21) but it is not going to be installed
       Depends: node-lockfile but it is not going to be installed
       Depends: node-minimatch (>= 0.2.11) but 0.2.0-1 is to be installed
       Depends: node-gyp (>= 0.10.9) but it is not going to be installed
       Depends: node-npmlog but it is not going to be installed
       Depends: node-once but it is not going to be installed
       Depends: node-osenv but it is not going to be installed
       Depends: node-read but it is not going to be installed
       Depends: node-read-package-json (>= 1.1.0) but it is not going to be installed
       Depends: node-request (>= 2.25.0) but 2.9.153-1 is to be installed
       Depends: node-retry but it is not going to be installed
       Depends: node-sha but it is not going to be installed
       Depends: node-slide but it is not going to be installed
       Depends: node-underscore but it is not going to be installed
printer-driver-postscript-hp : Depends: hplip (>= 3.16.11+repack0-1~bpo8+1) but 3.12.6-3.1+deb7u2 is to be installed
python-dev : Depends: libpython-dev (= 2.7.9-1) but it is not going to be installed
              Depends: python2.7-dev (>= 2.7.9-1~) but it is not going to be installed
xpdf : Depends: libxm4 (>= 2.3.4) but it is not going to be installed
xserver-xorg-core : Depends: libegl1-mesa but it is not going to be installed or
                              libegl1 but it is not installable
                     Depends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
                     Depends: libepoxy0 (>= 1.0) but it is not going to be installed
                     Depends: libgbm1 (>= 10.2~0) but it is not going to be installed
                     Recommends: libpam-systemd but it is not going to be installed
xserver-xorg-input-evdev : Depends: xorg-input-abi-16 but it is not installable
xserver-xorg-input-synaptics : Depends: xorg-input-abi-16 but it is not installable
xserver-xorg-video-fbdev : Depends: xorg-video-abi-12 but it is not installable
xserver-xorg-video-fbturbo : Depends: xorg-video-abi-12 but it is not installable
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
W: You may want to run apt-get update to correct these problems
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Grinsekatze

Hm, ich bin selbst nicht wirklich ein Freund von dist-upgrade. Ich verwende immer upgrade.

Laut Wiki (https://wiki.fhem.de/wiki/Homebridge_einrichten#NodeJS_installieren) soll auch libssl-dev installiert sein (nicht nur build-essential).

Deinstalliere node doch erstmal (statt "apt-get install" wird "apt-get remove" verwendet). Danach neu installien und sicherstellen, dass es mindestens Version 5 ist. Wenn Du wirklich noch 0.12.7 benutzt, dann ist es kein Wunder, dass die Fehlermeldung kommt. In meinem vorher verlinkten Beitrag wird ja ausdrücklich angemerkt, dass mindestens node 5 benötigt wird für die Kamera (offenbar auch, wenn sie nicht genutzt wird). Ich habe bei mir zzt. 7.10.0 am Laufen (node -v).

Für node 8 (zzt. aktuell): curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs






Nathaniel143

Also irgendwie funktioniert da gar nix ,wenn ich versuche den Befehl einzugeben dann kommt das :

pi@raspberrypi ~ $ sudo apt-get remove nodejs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
cups-filters : Depends: libcups2 (>= 1.7.0) but 1.5.3-5+deb7u6 is to be installed
cups-filters-core-drivers : Depends: libcups2 (>= 1.7.0) but 1.5.3-5+deb7u6 is to be installed
cups-ppdc : Depends: libcups2 (>= 1.6.2) but 1.5.3-5+deb7u6 is to be installed
epiphany-browser : Depends: libgnome-desktop-3-10 (>= 3.11.90) but it is not going to be installed
                    Recommends: yelp but it is not going to be installed
                    Recommends: evince but it is not going to be installed
hplip : Depends: libhpmud0 (= 3.12.6-3.1+deb7u2) but 3.16.11+repack0-1~bpo8+1 is to be installed
         Depends: libsnmp15 (>= 5.4.3~dfsg) but it is not installable
         Depends: libsane-hpaio (= 3.12.6-3.1+deb7u2) but 3.16.11+repack0-1~bpo8+1 is to be installed
         Depends: hplip-data (= 3.12.6-3.1+deb7u2) but 3.16.11+repack0-1~bpo8+1 is to be installed
libcupscgi1 : Depends: libcups2 (= 1.7.5-11+deb8u1) but 1.5.3-5+deb7u6 is to be installed
libcupsfilters1 : Depends: libcups2 (>= 1.7.0) but 1.5.3-5+deb7u6 is to be installed
libcupsimage2 : Depends: libcups2 (= 1.7.5-11+deb8u1) but 1.5.3-5+deb7u6 is to be installed
libcupsmime1 : Depends: libcups2 (= 1.7.5-11+deb8u1) but 1.5.3-5+deb7u6 is to be installed
libcupsppdc1 : Depends: libcups2 (= 1.7.5-11+deb8u1) but 1.5.3-5+deb7u6 is to be installed
libgl1-mesa-dri : Depends: libllvm3.9 but it is not going to be installed
                   Recommends: libtxc-dxtn-s2tc but it is not installable or
                               libtxc-dxtn-s2tc0 but it is not going to be installed or
                               libtxc-dxtn0
libglib2.0-bin : Depends: libglib2.0-0 (= 2.42.1-1) but 2.40.0-3rpi3rpi1 is to be installed
libglib2.0-dev : Depends: libglib2.0-0 (= 2.42.1-1) but 2.40.0-3rpi3rpi1 is to be installed
libldap2-dev : Depends: libldap-2.4-2 (= 2.4.40+dfsg-1+deb8u2) but 2.4.31-2+rpi1 is to be installed
libperl5.20 : Depends: perl-base (= 5.20.2-3+deb8u9) but 5.14.2-21+rpi2+deb7u2 is to be installed
libsane-hpaio : Depends: libcups2 (>= 1.6.0) but 1.5.3-5+deb7u6 is to be installed
                 Recommends: hplip (= 3.16.11+repack0-1~bpo8+1) but 3.12.6-3.1+deb7u2 is to be installed
libwayland-egl1-mesa : Depends: libegl1-mesa (= 13.0.0-1+rpi1) but it is not going to be installed
node-abbrev : Depends: nodejs but it is not going to be installed
node-block-stream : Depends: nodejs but it is not going to be installed
node-fstream : Depends: nodejs but it is not going to be installed
node-graceful-fs : Depends: nodejs but it is not going to be installed
node-inherits : Depends: nodejs but it is not going to be installed
node-ini : Depends: nodejs but it is not going to be installed
node-lru-cache : Depends: nodejs but it is not going to be installed
node-minimatch : Depends: nodejs but it is not going to be installed
node-mkdirp : Depends: nodejs but it is not going to be installed
node-nopt : Depends: nodejs but it is not going to be installed
node-request : Depends: nodejs but it is not going to be installed
node-rimraf : Depends: nodejs but it is not going to be installed
node-semver : Depends: nodejs but it is not going to be installed
node-tar : Depends: nodejs but it is not going to be installed
node-which : Depends: nodejs but it is not going to be installed
nodejs-dev : Depends: nodejs (= 0.6.19~dfsg1-6) but it is not going to be installed
npm : Depends: nodejs (>= 0.6.19~dfsg1-3) but it is not going to be installed
printer-driver-postscript-hp : Depends: hplip (>= 3.16.11+repack0-1~bpo8+1) but 3.12.6-3.1+deb7u2 is to be installed
xpdf : Depends: libxm4 (>= 2.3.4) but it is not going to be installed
xserver-xorg-core : Depends: libegl1-mesa but it is not going to be installed or
                              libegl1 but it is not installable
                     Depends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
                     Depends: libepoxy0 (>= 1.0) but it is not going to be installed
                     Depends: libgbm1 (>= 10.2~0) but it is not going to be installed
                     Recommends: libpam-systemd but it is not going to be installed
xserver-xorg-input-evdev : Depends: xorg-input-abi-16 but it is not installable
xserver-xorg-input-synaptics : Depends: xorg-input-abi-16 but it is not installable
xserver-xorg-video-fbdev : Depends: xorg-video-abi-12 but it is not installable
xserver-xorg-video-fbturbo : Depends: xorg-video-abi-12 but it is not installable
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
W: You may want to run apt-get update to correct these problems
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


Grinsekatze

Ist libssl-dev istalliert?

Versuche dann mal direkt node 8 zu installieren:
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs

Nathaniel143

Da lässt sich seltsamerweise gar nix mehr installieren :
pi@raspberrypi ~ $ sudo apt-get remove libssl-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
cups-filters : Depends: libcups2 (>= 1.7.0) but 1.5.3-5+deb7u6 is to be installed
cups-filters-core-drivers : Depends: libcups2 (>= 1.7.0) but 1.5.3-5+deb7u6 is to be installed
cups-ppdc : Depends: libcups2 (>= 1.6.2) but 1.5.3-5+deb7u6 is to be installed
epiphany-browser : Depends: libgnome-desktop-3-10 (>= 3.11.90) but it is not going to be installed
                    Recommends: yelp but it is not going to be installed
                    Recommends: evince but it is not going to be installed
hplip : Depends: libhpmud0 (= 3.12.6-3.1+deb7u2) but 3.16.11+repack0-1~bpo8+1 is to be installed
         Depends: libsnmp15 (>= 5.4.3~dfsg) but it is not installable
         Depends: libsane-hpaio (= 3.12.6-3.1+deb7u2) but 3.16.11+repack0-1~bpo8+1 is to be installed
         Depends: hplip-data (= 3.12.6-3.1+deb7u2) but 3.16.11+repack0-1~bpo8+1 is to be installed
libcupscgi1 : Depends: libcups2 (= 1.7.5-11+deb8u1) but 1.5.3-5+deb7u6 is to be installed
libcupsfilters1 : Depends: libcups2 (>= 1.7.0) but 1.5.3-5+deb7u6 is to be installed
libcupsimage2 : Depends: libcups2 (= 1.7.5-11+deb8u1) but 1.5.3-5+deb7u6 is to be installed
libcupsmime1 : Depends: libcups2 (= 1.7.5-11+deb8u1) but 1.5.3-5+deb7u6 is to be installed
libcupsppdc1 : Depends: libcups2 (= 1.7.5-11+deb8u1) but 1.5.3-5+deb7u6 is to be installed
libgl1-mesa-dri : Depends: libllvm3.9 but it is not going to be installed
                   Recommends: libtxc-dxtn-s2tc but it is not installable or
                               libtxc-dxtn-s2tc0 but it is not going to be installed or
                               libtxc-dxtn0
libglib2.0-bin : Depends: libglib2.0-0 (= 2.42.1-1) but 2.40.0-3rpi3rpi1 is to be installed
libglib2.0-dev : Depends: libglib2.0-0 (= 2.42.1-1) but 2.40.0-3rpi3rpi1 is to be installed
libldap2-dev : Depends: libldap-2.4-2 (= 2.4.40+dfsg-1+deb8u2) but 2.4.31-2+rpi1 is to be installed
libperl5.20 : Depends: perl-base (= 5.20.2-3+deb8u9) but 5.14.2-21+rpi2+deb7u2 is to be installed
libpt-dev : Depends: libssl-dev but it is not going to be installed
libsane-hpaio : Depends: libcups2 (>= 1.6.0) but 1.5.3-5+deb7u6 is to be installed
                 Recommends: hplip (= 3.16.11+repack0-1~bpo8+1) but 3.12.6-3.1+deb7u2 is to be installed
libwayland-egl1-mesa : Depends: libegl1-mesa (= 13.0.0-1+rpi1) but it is not going to be installed
nodejs-dev : Depends: libssl-dev (>= 1.0.0g) but it is not going to be installed
printer-driver-postscript-hp : Depends: hplip (>= 3.16.11+repack0-1~bpo8+1) but 3.12.6-3.1+deb7u2 is to be installed
xpdf : Depends: libxm4 (>= 2.3.4) but it is not going to be installed
xserver-xorg-core : Depends: libegl1-mesa but it is not going to be installed or
                              libegl1 but it is not installable
                     Depends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
                     Depends: libepoxy0 (>= 1.0) but it is not going to be installed
                     Depends: libgbm1 (>= 10.2~0) but it is not going to be installed
                     Recommends: libpam-systemd but it is not going to be installed
xserver-xorg-input-evdev : Depends: xorg-input-abi-16 but it is not installable
xserver-xorg-input-synaptics : Depends: xorg-input-abi-16 but it is not installable
xserver-xorg-video-fbdev : Depends: xorg-video-abi-12 but it is not installable
xserver-xorg-video-fbturbo : Depends: xorg-video-abi-12 but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


Oder ich bin einfach nur blöd  :-\

Grinsekatze

Zitat von: Nathaniel143 am 03 Oktober 2017, 10:30:54
Da lässt sich seltsamerweise gar nix mehr installieren :
pi@raspberrypi ~ $ sudo apt-get remove libssl-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
cups-filters : Depends: libcups2 (>= 1.7.0) but 1.5.3-5+deb7u6 is to be installed
cups-filters-core-drivers : Depends: libcups2 (>= 1.7.0) but 1.5.3-5+deb7u6 is to be installed
cups-ppdc : Depends: libcups2 (>= 1.6.2) but 1.5.3-5+deb7u6 is to be installed
epiphany-browser : Depends: libgnome-desktop-3-10 (>= 3.11.90) but it is not going to be installed
                    Recommends: yelp but it is not going to be installed
                    Recommends: evince but it is not going to be installed
hplip : Depends: libhpmud0 (= 3.12.6-3.1+deb7u2) but 3.16.11+repack0-1~bpo8+1 is to be installed
         Depends: libsnmp15 (>= 5.4.3~dfsg) but it is not installable
         Depends: libsane-hpaio (= 3.12.6-3.1+deb7u2) but 3.16.11+repack0-1~bpo8+1 is to be installed
         Depends: hplip-data (= 3.12.6-3.1+deb7u2) but 3.16.11+repack0-1~bpo8+1 is to be installed
libcupscgi1 : Depends: libcups2 (= 1.7.5-11+deb8u1) but 1.5.3-5+deb7u6 is to be installed
libcupsfilters1 : Depends: libcups2 (>= 1.7.0) but 1.5.3-5+deb7u6 is to be installed
libcupsimage2 : Depends: libcups2 (= 1.7.5-11+deb8u1) but 1.5.3-5+deb7u6 is to be installed
libcupsmime1 : Depends: libcups2 (= 1.7.5-11+deb8u1) but 1.5.3-5+deb7u6 is to be installed
libcupsppdc1 : Depends: libcups2 (= 1.7.5-11+deb8u1) but 1.5.3-5+deb7u6 is to be installed
libgl1-mesa-dri : Depends: libllvm3.9 but it is not going to be installed
                   Recommends: libtxc-dxtn-s2tc but it is not installable or
                               libtxc-dxtn-s2tc0 but it is not going to be installed or
                               libtxc-dxtn0
libglib2.0-bin : Depends: libglib2.0-0 (= 2.42.1-1) but 2.40.0-3rpi3rpi1 is to be installed
libglib2.0-dev : Depends: libglib2.0-0 (= 2.42.1-1) but 2.40.0-3rpi3rpi1 is to be installed
libldap2-dev : Depends: libldap-2.4-2 (= 2.4.40+dfsg-1+deb8u2) but 2.4.31-2+rpi1 is to be installed
libperl5.20 : Depends: perl-base (= 5.20.2-3+deb8u9) but 5.14.2-21+rpi2+deb7u2 is to be installed
libpt-dev : Depends: libssl-dev but it is not going to be installed
libsane-hpaio : Depends: libcups2 (>= 1.6.0) but 1.5.3-5+deb7u6 is to be installed
                 Recommends: hplip (= 3.16.11+repack0-1~bpo8+1) but 3.12.6-3.1+deb7u2 is to be installed
libwayland-egl1-mesa : Depends: libegl1-mesa (= 13.0.0-1+rpi1) but it is not going to be installed
nodejs-dev : Depends: libssl-dev (>= 1.0.0g) but it is not going to be installed
printer-driver-postscript-hp : Depends: hplip (>= 3.16.11+repack0-1~bpo8+1) but 3.12.6-3.1+deb7u2 is to be installed
xpdf : Depends: libxm4 (>= 2.3.4) but it is not going to be installed
xserver-xorg-core : Depends: libegl1-mesa but it is not going to be installed or
                              libegl1 but it is not installable
                     Depends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
                     Depends: libepoxy0 (>= 1.0) but it is not going to be installed
                     Depends: libgbm1 (>= 10.2~0) but it is not going to be installed
                     Recommends: libpam-systemd but it is not going to be installed
xserver-xorg-input-evdev : Depends: xorg-input-abi-16 but it is not installable
xserver-xorg-input-synaptics : Depends: xorg-input-abi-16 but it is not installable
xserver-xorg-video-fbdev : Depends: xorg-video-abi-12 but it is not installable
xserver-xorg-video-fbturbo : Depends: xorg-video-abi-12 but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


Oder ich bin einfach nur blöd  :-\
Ich glaub zzt 2.  :) remove ist zum entfernen. Install ist zum installieren.

Nathaniel143

Das stimmt allerdings ,hatte zuerst versucht zu installieren aber da das nicht funktionierte dacht ich ,entfernst es mal und hab dann wohl den falschen Code hier rein kopiert .

Grinsekatze

Klappt das installieren von node >= 5 , z.B. Von Version 8 (s.o.)? Laut Google ist deine node Version zu alt. Pack ne neuere drauf. Vieleicht sind die Probleme dann ja schon gelöst.

Nathaniel143

Funktioniert auch nicht :-(
pi@raspberrypi ~ $ sudo curl -sL https://deb.nodesource.com/setup_5.x | sudo bash -

## Installing the NodeSource Node.js v5.x repo...


## Populating apt-get cache...

+ apt-get update
Hit http://archive.raspberrypi.org jessie Release.gpg
Ign http://raspberrypi.collabora.com jessie Release.gpg
Hit http://mirrordirector.raspbian.org jessie Release.gpg           
Hit http://mirrordirector.raspbian.org jessie Release               
Hit http://archive.raspberrypi.org jessie Release                   
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages   
Ign http://raspberrypi.collabora.com jessie Release                 
Hit https://deb.nodesource.com wheezy Release.gpg                   
Hit https://deb.nodesource.com wheezy Release                       
Hit https://deb.nodesource.com wheezy/main Sources                 
Hit http://archive.raspberrypi.org jessie/main armhf Packages       
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
Hit https://deb.nodesource.com wheezy/main armhf Packages           
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/main Translation-en   
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Err http://raspberrypi.collabora.com jessie/rpi armhf Packages
  404  Not Found
Ign http://raspberrypi.collabora.com jessie/rpi Translation-en_GB
Ign http://raspberrypi.collabora.com jessie/rpi Translation-en     
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB   
Ign http://archive.raspberrypi.org jessie/main Translation-en       
Ign https://deb.nodesource.com wheezy/main Translation-en_GB       
Ign https://deb.nodesource.com wheezy/main Translation-en
W: Failed to fetch http://raspberrypi.collabora.com/dists/jessie/rpi/binary-armhf/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
Error executing command, exiting
pi@raspberrypi ~ $ sudo apt-get install -y nodejs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
cups-filters : Depends: libcups2 (>= 1.7.0) but 1.5.3-5+deb7u6 is to be installed
cups-filters-core-drivers : Depends: libcups2 (>= 1.7.0) but 1.5.3-5+deb7u6 is to be installed
cups-ppdc : Depends: libcups2 (>= 1.6.2) but 1.5.3-5+deb7u6 is to be installed
epiphany-browser : Depends: libgnome-desktop-3-10 (>= 3.11.90) but it is not going to be installed
                    Recommends: yelp but it is not going to be installed
                    Recommends: evince but it is not going to be installed
hplip : Depends: libhpmud0 (= 3.12.6-3.1+deb7u2) but 3.16.11+repack0-1~bpo8+1 is to be installed
         Depends: libsnmp15 (>= 5.4.3~dfsg) but it is not installable
         Depends: libsane-hpaio (= 3.12.6-3.1+deb7u2) but 3.16.11+repack0-1~bpo8+1 is to be installed
         Depends: hplip-data (= 3.12.6-3.1+deb7u2) but 3.16.11+repack0-1~bpo8+1 is to be installed
libcupscgi1 : Depends: libcups2 (= 1.7.5-11+deb8u1) but 1.5.3-5+deb7u6 is to be installed
libcupsfilters1 : Depends: libcups2 (>= 1.7.0) but 1.5.3-5+deb7u6 is to be installed
libcupsimage2 : Depends: libcups2 (= 1.7.5-11+deb8u1) but 1.5.3-5+deb7u6 is to be installed
libcupsmime1 : Depends: libcups2 (= 1.7.5-11+deb8u1) but 1.5.3-5+deb7u6 is to be installed
libcupsppdc1 : Depends: libcups2 (= 1.7.5-11+deb8u1) but 1.5.3-5+deb7u6 is to be installed
libgl1-mesa-dri : Depends: libllvm3.9 but it is not going to be installed
                   Recommends: libtxc-dxtn-s2tc but it is not installable or
                               libtxc-dxtn-s2tc0 but it is not going to be installed or
                               libtxc-dxtn0
libglib2.0-bin : Depends: libglib2.0-0 (= 2.42.1-1) but 2.40.0-3rpi3rpi1 is to be installed
libglib2.0-dev : Depends: libglib2.0-0 (= 2.42.1-1) but 2.40.0-3rpi3rpi1 is to be installed
libldap2-dev : Depends: libldap-2.4-2 (= 2.4.40+dfsg-1+deb8u2) but 2.4.31-2+rpi1 is to be installed
libperl5.20 : Depends: perl-base (= 5.20.2-3+deb8u9) but 5.14.2-21+rpi2+deb7u2 is to be installed
libsane-hpaio : Depends: libcups2 (>= 1.6.0) but 1.5.3-5+deb7u6 is to be installed
                 Recommends: hplip (= 3.16.11+repack0-1~bpo8+1) but 3.12.6-3.1+deb7u2 is to be installed
libwayland-egl1-mesa : Depends: libegl1-mesa (= 13.0.0-1+rpi1) but it is not going to be installed
nodejs : Depends: libstdc++6 (>= 5.2) but 4.9.2-10 is to be installed
          Depends: rlwrap but it is not going to be installed
          Conflicts: nodejs-dev
          Conflicts: npm
nodejs-dev : Depends: nodejs (= 0.6.19~dfsg1-6) but 4.2.1-1nodesource1~wily1 is to be installed
printer-driver-postscript-hp : Depends: hplip (>= 3.16.11+repack0-1~bpo8+1) but 3.12.6-3.1+deb7u2 is to be installed
xpdf : Depends: libxm4 (>= 2.3.4) but it is not going to be installed
xserver-xorg-core : Depends: libegl1-mesa but it is not going to be installed or
                              libegl1 but it is not installable
                     Depends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
                     Depends: libepoxy0 (>= 1.0) but it is not going to be installed
                     Depends: libgbm1 (>= 10.2~0) but it is not going to be installed
                     Recommends: libpam-systemd but it is not going to be installed
xserver-xorg-input-evdev : Depends: xorg-input-abi-16 but it is not installable
xserver-xorg-input-synaptics : Depends: xorg-input-abi-16 but it is not installable
xserver-xorg-video-fbdev : Depends: xorg-video-abi-12 but it is not installable
xserver-xorg-video-fbturbo : Depends: xorg-video-abi-12 but it is not installable
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
W: You may want to run apt-get update to correct these problems
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
pi@raspberrypi ~ $

Grinsekatze

#12
Die Fehlermeldung besagt, dass die Quellen für collabora nicht gefunden werden können.

sudo apt-get update steigt mit gleicher Meldung aus?

Edit: Hast Du von wheezy auf Jessie aktualisiert?

Edit2: Und auch da hilft Google mal wieder: Bekanntes Problem. Hier (http://www.och-group.de/2015/08/04/raspberry-pi-2-raspbian-upgrade-von-wheezy-auf-jessie/) steht auch ein Workarround. Danach sollte update durchlaufen.

Nathaniel143

So ,nach langer Abstinenz will ich nochmal den Versuch wagen ,hatte es bis jetzt immer noch nicht hinbekommen .Anscheinend hab ich mir durch die Umstellung von wheezy auf jessie einiges verbugt :-(  .
Gibt es eine Möglichkeit den Raspberry neu auf zu setzen ohne meine FHEM Konfiguration  zu verlieren .Ich hab ja mehrere Gerät dran Installiert die da wären Milight ,Philips Hue ,2xUSB Antennen .
Funktionieren die dann wieder wenn ich den Raspberry aufsetze oder muss ich da wieder alles installieren .Wie gesagt ,mein System lief ca. 4 Jahre ohne Probleme bis ich angefangen hatte mal wieder etwas rum zu dorktorn :-) .

Wäre schön wenn mir da jemand weiter helfen könnte  8)

Amenophis86

Aktuell dabei unser neues Haus mit KNX am einrichten. Im nächsten Schritt dann KNX mit FHEM verbinden. Allein zwei Dinge sind dabei selten: Zeit und Geld...

Nathaniel143

Dankeschön für die schnelle Antwort :-) .Das mit dem Backup hat funktioniert ,bin mir jetzt aber noch etwas unsicher ob er später auch noch meine Hardware erkennt ?

Amenophis86

Wenn du sie bei id eingebunden hast, dann ja.

Ansonsten siehst du im Log ja die Fehler und kannst entsprechend reagieren. Kommt halt immer bei einem Wechsel dazu, dass es leichte Probleme geben kann.
Aktuell dabei unser neues Haus mit KNX am einrichten. Im nächsten Schritt dann KNX mit FHEM verbinden. Allein zwei Dinge sind dabei selten: Zeit und Geld...

Nathaniel143

So ,ich habe soweit alles wieder hinbekommen aber irgendwie lässt sich die Homebridge nicht installieren .

Nodejs v 6.12.2 ist Installiert aber bei dem Befehl :
sudo npm install -g --unsafe-perm homebridge

schreibt er das :
ERROR: npm is known not to run on Node.js v4.5.0
Node.js 4 is supported but the specific version you're running has
a bug known to break npm. Please update to at least 4.7.0 to use this
version of npm. You can find the latest release of Node.js at https://nodejs.org/

Hat da jemand ne Idee ?

Amenophis86

Aktuell dabei unser neues Haus mit KNX am einrichten. Im nächsten Schritt dann KNX mit FHEM verbinden. Allein zwei Dinge sind dabei selten: Zeit und Geld...

Nathaniel143

Momentaner Zustand :
pi@raspberrypi ~ $ node -v
v4.5.0
pi@raspberrypi ~ $ nodejs -v
-bash: nodejs: command not found
pi@raspberrypi ~ $ npm -v
ERROR: npm is known not to run on Node.js v4.5.0
Node.js 4 is supported but the specific version you're running has
a bug known to break npm. Please update to at least 4.7.0 to use this
version of npm. You can find the latest release of Node.js at https://nodejs.org/


Als nächstes :
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -

dann :
sudo apt-get install -y nodejs build-essential

Danach sieht es so aus :
pi@raspberrypi ~ $ node -v
v4.5.0
pi@raspberrypi ~ $ nodejs -v
v8.9.3
pi@raspberrypi ~ $ npm -v
ERROR: npm is known not to run on Node.js v4.5.0
Node.js 4 is supported but the specific version you're running has
a bug known to break npm. Please update to at least 4.7.0 to use this
version of npm. You can find the latest release of Node.js at https://nodejs.org/


Mach ich da irgendwas falsch ?