Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Nur 1x Update Adapter möglich

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    Nur 1x Update Adapter möglich

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Thaibodo last edited by Homoran

      Ich hänge mich hier mal rein.
      Ich habe das selbe Problem wie flitzpiepe, kann aber leider nicht seine Erfolgsmeldung teilen. Auch der Tip von Thomas Braun hat nicht weitergeholfen. Im Terminal bekomme ich Fehlermeldungen, mit denen ich aber leider nichts anfangen kann.
      Hier ein Auszug:

      NPM version: 6.14.4
      npm install iobroker.socketio@3.0.9 --loglevel error --prefix "/opt/iobroker" (System call)
      Package pixman-1 was not found in the pkg-config search path.
      Perhaps you should add the directory containing `pixman-1.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'pixman-1' found
      gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
      gyp ERR! configure error 
      gyp ERR! stack Error: `gyp` failed with exit code: 1
      gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
      gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
      gyp ERR! System Linux 4.19.118-v7l+
      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"
      gyp ERR! cwd /opt/iobroker/node_modules/canvas
      gyp ERR! node -v v10.21.0
      gyp ERR! node-gyp -v v5.1.0
      gyp ERR! not ok 
      node-pre-gyp ERR! build error 
      node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
      node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
      node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
      node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
      node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
      node-pre-gyp ERR! System Linux 4.19.118-v7l+
      node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
      node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
      node-pre-gyp ERR! node -v v10.21.0
      node-pre-gyp ERR! node-pre-gyp -v v0.11.0
      node-pre-gyp ERR! not ok 
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the canvas@2.6.1 install script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      

      MOD-Edit:Code in code-tags gesetzt!

      Vielleicht kann mir jemand sagen, was ich da machen kann.
      Danke im Voraus.

      Gruß aus Thailand
      Bodo

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Thaibodo last edited by Thomas Braun

        @Thaibodo
        Bitte gib mal die von mir genannten Befehle ein und dann postest du bitte die komplette Eingabe von dir und die Rückmeldungen des Systems hier in Gänze. In CodeTags

        1 Reply Last reply Reply Quote 0
        • T
          Thaibodo last edited by Homoran

          Hallo Thomas, Danke für die schnelle Reaktion.
          Ich weiß nicht, was du mit CodeTags meinst. Ich kopiere einfach mal alles hier rein.

          pi@raspbi-iobroker:~ $ sudo apt install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev libpixman-1-dev
          Reading package lists... Done
          Building dependency tree       
          Reading state information... Done
          build-essential is already the newest version (12.6).
          You might want to run 'apt --fix-broken install' to correct these.
          The following packages have unmet dependencies:
           grafana : Depends: libfontconfig1 but it is not going to be installed
           libcairo2-dev : Depends: libcairo2 (= 1.16.0-4+rpt1) but it is not going to be installed
                           Depends: libcairo-gobject2 (= 1.16.0-4+rpt1) but it is not going to be installed
                           Depends: libcairo-script-interpreter2 (= 1.16.0-4+rpt1) but it is not going to be installed
                           Depends: libfontconfig1-dev (>= 2.2.95) but it is not going to be installed
                           Depends: libx11-dev but it is not going to be installed
                           Depends: libxrender-dev (>= 0.6) but it is not going to be installed
                           Depends: libxext-dev but it is not going to be installed
                           Depends: libsm-dev but it is not going to be installed
                           Depends: libxcb1-dev (>= 1.6) but it is not going to be installed
                           Depends: libxcb-render0-dev (>= 1.6) but it is not going to be installed
                           Depends: libxcb-shm0-dev but it is not going to be installed
                           Depends: libglib2.0-dev but it is not going to be installed
           libgif-dev : Depends: libgif7 (= 5.1.4-3) but it is not going to be installed
           libjpeg-dev : Depends: libjpeg62-turbo-dev (>= 1:1.5.2-2) but it is not going to be installed
           libpango1.0-dev : Depends: gir1.2-pango-1.0 (= 1.42.4-8~deb10u1) but it is not going to be installed
                             Depends: libfontconfig1-dev (>= 2.11.91) but it is not going to be installed
                             Depends: libfribidi-dev (>= 0.19.7) but it is not going to be installed
                             Depends: libglib2.0-dev (>= 2.34.0) but it is not going to be installed
                             Depends: libharfbuzz-dev (>= 0.9.9) but it is not going to be installed
                             Depends: libpango-1.0-0 (= 1.42.4-8~deb10u1) but it is not going to be installed
                             Depends: libpangocairo-1.0-0 (= 1.42.4-8~deb10u1) but it is not going to be installed
                             Depends: libpangoft2-1.0-0 (= 1.42.4-8~deb10u1) but it is not going to be installed
                             Depends: libpangoxft-1.0-0 (= 1.42.4-8~deb10u1) but it is not going to be installed
                             Depends: libx11-dev but it is not going to be installed
                             Depends: libxft-dev but it is not going to be installed
                             Depends: libxrender-dev but it is not going to be installed
                             Depends: pango1.0-tools (= 1.42.4-8~deb10u1) but it is not going to be installed
           libpixman-1-dev : Depends: libpixman-1-0 (= 0.36.0-1+rpt1) but it is not going to be installed
           librsvg2-dev : Depends: gir1.2-rsvg-2.0 (= 2.44.10-2.1+rpi1) but it is not going to be installed
                          Depends: libgdk-pixbuf2.0-dev (>= 2.23.5-2) but it is not going to be installed
                          Depends: libglib2.0-dev (>= 2.24.0) but it is not going to be installed
                          Depends: librsvg2-2 (= 2.44.10-2.1+rpi1) but it is not going to be installed
                          Depends: librsvg2-common (= 2.44.10-2.1+rpi1) but it is not going to be installed
          E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
          pi@raspbi-iobroker:~ $ cd /opt/iobroker
          pi@raspbi-iobroker:/opt/iobroker $ npm install canvas --unsafe-perm=true
          
          > canvas@2.6.1 install /opt/iobroker/node_modules/canvas
          > node-pre-gyp install --fallback-to-build
          
          node-pre-gyp WARN Using request for node-pre-gyp https download 
          node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz 
          node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.1 and node@10.21.0 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) 
          Package pixman-1 was not found in the pkg-config search path.
          Perhaps you should add the directory containing `pixman-1.pc'
          to the PKG_CONFIG_PATH environment variable
          No package 'pixman-1' found
          gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
          gyp ERR! configure error 
          gyp ERR! stack Error: `gyp` failed with exit code: 1
          gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
          gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
          gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
          gyp ERR! System Linux 4.19.118-v7l+
          gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"
          gyp ERR! cwd /opt/iobroker/node_modules/canvas
          gyp ERR! node -v v10.21.0
          gyp ERR! node-gyp -v v5.1.0
          gyp ERR! not ok 
          node-pre-gyp ERR! build error 
          node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
          node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
          node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
          node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
          node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
          node-pre-gyp ERR! System Linux 4.19.118-v7l+
          node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
          node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
          node-pre-gyp ERR! node -v v10.21.0
          node-pre-gyp ERR! node-pre-gyp -v v0.11.0
          node-pre-gyp ERR! not ok 
          Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor):
          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
          
          npm ERR! code ELIFECYCLE
          npm ERR! errno 1
          npm ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`
          npm ERR! Exit status 1
          npm ERR! 
          npm ERR! Failed at the canvas@2.6.1 install script.
          npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /home/iobroker/.npm/_logs/2020-07-23T14_59_07_178Z-debug.log
          pi@raspbi-iobroker:/opt/iobroker $
          

          MOD-Edit: jetzt ist es in code-tags

          Viele Grüße
          Bodo

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Thaibodo last edited by Thomas Braun

            @Thaibodo

            Setze den Text in die CodeTags.
            Text markieren und </>-Symbol anklicken im Editorfeld

            Du hast dir die Paketdatenbank zerschossen. Kann ich aber von hier aus nicht auseinander fummeln, was da klemmt.

            apt policy grafana
            

            könnte vielleicht schon mal helfen .

            1 Reply Last reply Reply Quote 0
            • T
              Thaibodo last edited by Thaibodo

              Danke für den Hinweis. Ich bin lernfähig. 😉

              pi@raspbi-iobroker:/opt/iobroker $ apt policy grafana
              grafana:
                Installed: 6.6.2
                Candidate: 6.6.2
                Version table:
               *** 6.6.2 100
                      100 /var/lib/dpkg/status
                   2.6.0+dfsg-3+b1 500
                      500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
              
              

              Grafana läuft gar nicht mehr auf dem Rasbi. Hat nicht funktioniert. Wie bekomme ich das weg?
              Und gibt es eine Möglichkeit, die Paketdatenbank zu erneuern?
              Sorry für sie vielen Fragen.

              1 Reply Last reply Reply Quote 0
              • T
                Thaibodo last edited by

                Ich glaube, da hat sich nichts geändert.

                pi@raspbi-iobroker:/ $ sudo apt install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev libpixman-1-dev
                Reading package lists... Done
                Building dependency tree       
                Reading state information... Done
                build-essential is already the newest version (12.6).
                You might want to run 'apt --fix-broken install' to correct these.
                The following packages have unmet dependencies:
                 grafana : Depends: libfontconfig1 but it is not going to be installed
                 libcairo2-dev : Depends: libcairo2 (= 1.16.0-4+rpt1) but it is not going to be installed
                                 Depends: libcairo-gobject2 (= 1.16.0-4+rpt1) but it is not going to be installed
                                 Depends: libcairo-script-interpreter2 (= 1.16.0-4+rpt1) but it is not going to be installed
                                 Depends: libfontconfig1-dev (>= 2.2.95) but it is not going to be installed
                                 Depends: libx11-dev but it is not going to be installed
                                 Depends: libxrender-dev (>= 0.6) but it is not going to be installed
                                 Depends: libxext-dev but it is not going to be installed
                                 Depends: libsm-dev but it is not going to be installed
                                 Depends: libxcb1-dev (>= 1.6) but it is not going to be installed
                                 Depends: libxcb-render0-dev (>= 1.6) but it is not going to be installed
                                 Depends: libxcb-shm0-dev but it is not going to be installed
                                 Depends: libglib2.0-dev but it is not going to be installed
                 libgif-dev : Depends: libgif7 (= 5.1.4-3) but it is not going to be installed
                 libjpeg-dev : Depends: libjpeg62-turbo-dev (>= 1:1.5.2-2) but it is not going to be installed
                 libpango1.0-dev : Depends: gir1.2-pango-1.0 (= 1.42.4-8~deb10u1) but it is not going to be installed
                                   Depends: libfontconfig1-dev (>= 2.11.91) but it is not going to be installed
                                   Depends: libfribidi-dev (>= 0.19.7) but it is not going to be installed
                                   Depends: libglib2.0-dev (>= 2.34.0) but it is not going to be installed
                                   Depends: libharfbuzz-dev (>= 0.9.9) but it is not going to be installed
                                   Depends: libpango-1.0-0 (= 1.42.4-8~deb10u1) but it is not going to be installed
                                   Depends: libpangocairo-1.0-0 (= 1.42.4-8~deb10u1) but it is not going to be installed
                                   Depends: libpangoft2-1.0-0 (= 1.42.4-8~deb10u1) but it is not going to be installed
                                   Depends: libpangoxft-1.0-0 (= 1.42.4-8~deb10u1) but it is not going to be installed
                                   Depends: libx11-dev but it is not going to be installed
                                   Depends: libxft-dev but it is not going to be installed
                                   Depends: libxrender-dev but it is not going to be installed
                                   Depends: pango1.0-tools (= 1.42.4-8~deb10u1) but it is not going to be installed
                 libpixman-1-dev : Depends: libpixman-1-0 (= 0.36.0-1+rpt1) but it is not going to be installed
                 librsvg2-dev : Depends: gir1.2-rsvg-2.0 (= 2.44.10-2.1+rpi1) but it is not going to be installed
                                Depends: libgdk-pixbuf2.0-dev (>= 2.23.5-2) but it is not going to be installed
                                Depends: libglib2.0-dev (>= 2.24.0) but it is not going to be installed
                                Depends: librsvg2-2 (= 2.44.10-2.1+rpi1) but it is not going to be installed
                                Depends: librsvg2-common (= 2.44.10-2.1+rpi1) but it is not going to be installed
                E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
                pi@raspbi-iobroker:/ $ cd /opt/iobroker
                pi@raspbi-iobroker:/opt/iobroker $ npm install canvas --unsafe-perm=true
                
                > canvas@2.6.1 install /opt/iobroker/node_modules/canvas
                > node-pre-gyp install --fallback-to-build
                
                node-pre-gyp WARN Using request for node-pre-gyp https download 
                node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz 
                node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.1 and node@10.21.0 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) 
                Package pixman-1 was not found in the pkg-config search path.
                Perhaps you should add the directory containing `pixman-1.pc'
                to the PKG_CONFIG_PATH environment variable
                No package 'pixman-1' found
                gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
                gyp ERR! configure error 
                gyp ERR! stack Error: `gyp` failed with exit code: 1
                gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
                gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                gyp ERR! System Linux 4.19.118-v7l+
                gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"
                gyp ERR! cwd /opt/iobroker/node_modules/canvas
                gyp ERR! node -v v10.21.0
                gyp ERR! node-gyp -v v5.1.0
                gyp ERR! not ok 
                node-pre-gyp ERR! build error 
                node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
                node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
                node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
                node-pre-gyp ERR! System Linux 4.19.118-v7l+
                node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
                node-pre-gyp ERR! node -v v10.21.0
                node-pre-gyp ERR! node-pre-gyp -v v0.11.0
                node-pre-gyp ERR! not ok 
                Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
                npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor):
                npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                
                npm ERR! code ELIFECYCLE
                npm ERR! errno 1
                npm ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`
                npm ERR! Exit status 1
                npm ERR! 
                npm ERR! Failed at the canvas@2.6.1 install script.
                npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /home/iobroker/.npm/_logs/2020-07-23T15_17_51_827Z-debug.log
                pi@raspbi-iobroker:/opt/iobroker $ 
                
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Thaibodo last edited by Thomas Braun

                  @Thaibodo
                  Versuch mal mit

                  sudo apt remove grafana
                  

                  Dann ein

                  sudo apt update
                  apt policy libcairo2
                  

                  Ausgabe zeigen...

                  1 Reply Last reply Reply Quote 0
                  • T
                    Thaibodo last edited by

                    @Thomas-Braun sagte in Nur 1x Update Adapter möglich:

                    apt policy libcairo2

                    Sorry für die Verzögerung, aber ich lebe in Thailand und bin euch zurzeit 5 Stunden voraus.

                    pi@raspbi-iobroker:~ $ sudo apt remove grafana
                    Reading package lists... Done
                    Building dependency tree       
                    Reading state information... Done
                    The following packages will be REMOVED:
                      grafana
                    0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
                    1 not fully installed or removed.
                    After this operation, 103 MB disk space will be freed.
                    Do you want to continue? [Y/n] 
                    perl: warning: Setting locale failed.
                    perl: warning: Please check that your locale settings:
                    	LANGUAGE = (unset),
                    	LC_ALL = (unset),
                    	LC_CTYPE = "UTF-8",
                    	LANG = "de_DE.UTF-8"
                        are supported and installed on your system.
                    perl: warning: Falling back to a fallback locale ("de_DE.UTF-8").
                    locale: Cannot set LC_CTYPE to default locale: No such file or directory
                    locale: Kann LC_ALL nicht auf die Standard-Lokale einstellen: Datei oder Verzeichnis nicht gefunden
                    (Reading database ... 47165 files and directories currently installed.)
                    Removing grafana (6.6.2) ...
                    pi@raspbi-iobroker:~ $ sudo apt update
                    Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]      
                    Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]         
                    Get:3 https://deb.nodesource.com/node_10.x buster InRelease [4584 B]           
                    Get:4 https://repos.influxdata.com/debian buster InRelease [4731 B]            
                    Get:5 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
                    Get:6 http://archive.raspberrypi.org/debian buster/main armhf Packages [330 kB]
                    Get:7 https://repos.influxdata.com/debian buster/stable armhf Packages [929 B] 
                    Get:8 https://deb.nodesource.com/node_10.x buster/main armhf Packages [765 B]  
                    Fetched 13.4 MB in 14s (989 kB/s)                                              
                    Reading package lists... Done
                    Building dependency tree       
                    Reading state information... Done
                    16 packages can be upgraded. Run 'apt list --upgradable' to see them.
                    pi@raspbi-iobroker:~ $ apt policy libcairo2
                    libcairo2:
                      Installed: (none)
                      Candidate: 1.16.0-4+rpt1
                      Version table:
                         1.16.0-4+rpt1 500
                            500 http://archive.raspberrypi.org/debian buster/main armhf Packages
                         1.16.0-4 500
                            500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Thaibodo last edited by

                      @Thaibodo

                      sudo apt update 
                      sudo apt dist-upgrade
                      sudo reboot
                      

                      Und dann nochmal die ganzen Pakete:

                      sudo apt install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev libpixman-1-dev
                      cd /opt/iobroker
                      npm install canvas --unsafe-perm=true
                      
                      T 1 Reply Last reply Reply Quote 0
                      • T
                        Thaibodo @Thomas Braun last edited by

                        @Thomas-Braun
                        Hallo Thomas,
                        ich verneige mich vor dir. Dank Deiner Geduld und Erklärung funktioniert es jetzt wieder. Vielen Dank.
                        Ich wünsche dir ein sonniges Wochenende.

                        Gruß
                        Bodo

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Thaibodo last edited by Thomas Braun

                          @Thaibodo Ich würde den influx-Kram noch aus den Paketquellen löschen.
                          Irgendwo in /etc/apt/sourceslist.d/ müsste es eine Datei geben, die einen Eintrag dazu hat. Die Zeilen dann mit # als erstem Zeichen in der Zeile auskommentieren.

                          Und deine LOCALES würde ich auch vervollständigen.

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            Thaibodo @Thomas Braun last edited by

                            @Thomas-Braun
                            Hallo Thomas,
                            Influx benutze ich.
                            Bei den LOCALES bekomme ich auch Fehlermeldungen.

                            perl: warning: Falling back to the standard locale ("C").
                            Reloading keymap. This may take a short while
                            perl: warning: Setting locale failed.
                            perl: warning: Please check that your locale settings:
                            	LANGUAGE = (unset),
                            	LC_ALL = (unset),
                            	LC_CTYPE = "UTF-8",
                            	LANG = "de_DE.UTF-8"
                                are supported and installed on your system.
                            perl: warning: Falling back to a fallback locale ("de_DE.UTF-8").
                            locale: Cannot set LC_CTYPE to default locale: No such file or directory
                            locale: Kann LC_ALL nicht auf die Standard-Lokale einstellen: Datei oder Verzeichnis nicht gefunden
                            locale: Cannot set LC_CTYPE to default locale: No such file or directory
                            locale: Kann LC_ALL nicht auf die Standard-Lokale einstellen: Datei oder Verzeichnis nicht gefunden
                            locale: Cannot set LC_CTYPE to default locale: No such file or directory
                            locale: Kann LC_ALL nicht auf die Standard-Lokale einstellen: Datei oder Verzeichnis nicht gefunden
                            
                            

                            Keine Ahnung, was er da von mir haben will.

                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Thaibodo last edited by

                              @Thaibodo sagte in Nur 1x Update Adapter möglich:

                              are 
                              

                              Sorry, ich dachte der Influx-Kram sei für die zerbröselte grafana verantwortlich.

                              Wegen LOCALE:
                              https://www.thomas-krenn.com/de/wiki/Locales_unter_Ubuntu_konfigurieren

                              Funktioiert unter Raspberry OS / Debian genauso.

                              1 Reply Last reply Reply Quote 0
                              • T
                                Thaibodo last edited by

                                Habe ich soweit alles gemacht, hat aber anscheinend nichts geändert.

                                pi@raspbi-iobroker:/etc/default $ ls
                                avahi-daemon   dbus                     locale              rpi-eeprom-update
                                bluetooth      fake-hwclock             networking          rsync
                                bsdmainutils   grafana-server.dpkg-new  nfs-common          rsyslog
                                console-setup  hwclock                  nss                 ssh
                                crda           influxdb                 raspberrypi-kernel  triggerhappy
                                cron           keyboard                 rng-tools           useradd
                                pi@raspbi-iobroker:/etc/default $ locale
                                locale: Cannot set LC_CTYPE to default locale: No such file or directory
                                locale: Kann LC_ALL nicht auf die Standard-Lokale einstellen: Datei oder Verzeichnis nicht gefunden
                                LANG=de_DE.UTF-8
                                LANGUAGE=
                                LC_CTYPE=UTF-8
                                LC_NUMERIC="de_DE.UTF-8"
                                LC_TIME="de_DE.UTF-8"
                                LC_COLLATE="de_DE.UTF-8"
                                LC_MONETARY="de_DE.UTF-8"
                                LC_MESSAGES="de_DE.UTF-8"
                                LC_PAPER="de_DE.UTF-8"
                                LC_NAME="de_DE.UTF-8"
                                LC_ADDRESS="de_DE.UTF-8"
                                LC_TELEPHONE="de_DE.UTF-8"
                                LC_MEASUREMENT="de_DE.UTF-8"
                                LC_IDENTIFICATION="de_DE.UTF-8"
                                LC_ALL=
                                
                                

                                In der Datei LOCALE steht nur

                                LANG=de_DE.UTF-8

                                drin.

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post

                                Support us

                                ioBroker
                                Community Adapters
                                Donate
                                FAQ Cloud / IOT
                                HowTo: Node.js-Update
                                HowTo: Backup/Restore
                                Downloads
                                BLOG

                                1.0k
                                Online

                                32.1k
                                Users

                                80.7k
                                Topics

                                1.3m
                                Posts

                                update adapter
                                4
                                22
                                1693
                                Loading More Posts
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes
                                Reply
                                • Reply as topic
                                Log in to reply
                                Community
                                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                The ioBroker Community 2014-2023
                                logo