Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Pivccu E: Sub-process /usr/bin/dpkg

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Pivccu E: Sub-process /usr/bin/dpkg

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @HerrFrodo last edited by

      @herrfrodo

      Bis auf das nodesource-Repo schaut das eigentlich okay aus.

      iob nodejs-update
      

      ausführen.

      1 Reply Last reply Reply Quote 1
      • H
        HerrFrodo last edited by

        @thomas-braun

        ioBroker nodejs updater 2023-10-13
        
        Recommended nodejs-version is: 18.19.1
        Checking your installation now. Please be patient!
        
        Your current setup is:
        /usr/bin/node           v18.17.1
        /usr/bin/npm            9.6.7
        /usr/bin/npx            9.6.7
        /usr/bin/corepack       0.18.0
        
        We found these nodejs versions available for installation:
        
        nodejs:
          Installed: 18.17.1-deb-1nodesource1
          Candidate: 18.17.1-deb-1nodesource1
          Version table:
         *** 18.17.1-deb-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x bullseye/main arm64 Packages
                100 /var/lib/dpkg/status
             12.22.12~dfsg-1~deb11u4 500
                500 http://deb.debian.org/debian bullseye/main arm64 Packages
                500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
        
        
        
        Nothing to do - Your installation is using the correct paths.
        
        You are running nodejs v18.17.1. Do you want to install recommended version 18.19.1?
        
        Press <y> to continue or any other key to quit
        Trying to update your installation now. Please be patient.
        find: '/var/lib/lxcfs/cgroup': Input/output error
        rm: cannot remove '/backup/raspberrypi/raspberrypi-rsync-backup-20230921-180330/sda2/usr/share/keyrings/nodesource.gpg'$'\n''/backup/raspberrypi/raspberrypi-rsync-backup-20231001-020001/sda2/usr/share/keyrings/nodesource.gpg'$'\n''/backup/raspberrypi/raspberrypi-rsync-backup-20231101-020001/sda2/usr/share/keyrings/nodesource.gpg'$'\n''/backup/raspberrypi/raspberrypi-rsync-backup-20240207-020001/sda2/usr/share/keyrings/nodesource.gpg'$'\n''/backup/raspberrypi/raspberrypi-rsync-backup-20240212-020001/sda2/usr/share/keyrings/nodesource.gpg'$'\n''/backup/raspberrypi/raspberrypi-rsync-backup-20240216-020001/sda2/usr/share/keyrings/nodesource.gpg'$'\n''/backup/raspberrypi/raspberrypi-rsync-backup-20240217-020001/sda2/usr/share/keyrings/nodesource.gpg'$'\n''/backup/raspberrypi/raspberrypi-rsync-backup-20240218-020001/sda2/usr/share/keyrings/nodesource.gpg'$'\n''/backup/raspberrypi/raspberrypi-rsync-backup-20240219-020001/sda2/usr/share/keyrings/nodesource.gpg'$'\n''/backup/raspberrypi/raspberrypi-rsync-backup-20240220-020001/sda2/usr/share/keyrings/nodesource.gpg'$'\n''/backup/raspberrypi/raspberrypi-rsync-backup-20240221-020002/sda2/usr/share/keyrings/nodesource.gpg'$'\n''/backup/raspberrypi/raspberrypi-rsync-backup-20240222-020002/sda2/usr/share/keyrings/nodesource.gpg'$'\n''/usr/share/keyrings/nodesource.gpg': No such file or directory
        Waiting for ioBroker to shut down - Give me a minute...
        ############################################################
        
        *** These repos are active on your system:
        Hit:1 http://deb.debian.org/debian bullseye InRelease
        Get:2 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
        Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
        Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
        Hit:5 https://repos.influxdata.com/debian stable InRelease
        Hit:6 https://repos.influxdata.com/debian bullseye InRelease
        Hit:7 https://apt.pivccu.de/piVCCU stable InRelease
        Fetched 44.1 kB in 2s (27.9 kB/s)
        Reading package lists... Done
        
        *** Installing ca-certificates, curl and gnupg, just in case they are missing.
        Setting up pivccu-modules-raspberrypi (2.0-19) ...
        sed: can't read /var/lib/piVCCU/dtb/config.txt: No such file or directory
        dpkg: error processing package pivccu-modules-raspberrypi (--configure):
         installed pivccu-modules-raspberrypi package post-installation script subprocess returned error exit status 2
        Errors were encountered while processing:
         pivccu-modules-raspberrypi
        E: Sub-process /usr/bin/dpkg returned an error code (1)
        
        *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
        
        deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
        Package: nodejs
        Pin: origin deb.nodesource.com
        Pin-Priority: 1001
        
        *** These repos are active after the adjustments:
        Hit:1 http://deb.debian.org/debian bullseye InRelease
        Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
        Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease
        Hit:4 https://repos.influxdata.com/debian stable InRelease
        Hit:5 http://security.debian.org/debian-security bullseye-security InRelease
        Hit:6 https://repos.influxdata.com/debian bullseye InRelease
        Hit:7 https://apt.pivccu.de/piVCCU stable InRelease
        Get:8 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]
        Get:9 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages [7416 B]
        Get:10 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages [7392 B]
        Fetched 26.9 kB in 2s (15.3 kB/s)
        Reading package lists... Done
        
        Installing the recommended nodejs version now!
        
        /home/iobroker/.nodejs-update.sh: line 329: [: : integer expression expected
        /home/iobroker/.nodejs-update.sh: line 346: [: : integer expression expected
        Installing the recommended nodejs version!
        (Reading database ... 91705 files and directories currently installed.)
        Preparing to unpack .../nodejs_18.19.1-1nodesource1_arm64.deb ...
        Detected old npm client, removing...
        Unpacking nodejs (18.19.1-1nodesource1) over (18.17.1-deb-1nodesource1) ...
        Setting up nodejs (18.19.1-1nodesource1) ...
        Setting up pivccu-modules-raspberrypi (2.0-19) ...
        sed: can't read /var/lib/piVCCU/dtb/config.txt: No such file or directory
        dpkg: error processing package pivccu-modules-raspberrypi (--configure):
         installed pivccu-modules-raspberrypi package post-installation script subprocess returned error exit status 2
        Processing triggers for man-db (2.9.4-2) ...
        Errors were encountered while processing:
         pivccu-modules-raspberrypi
        E: Sub-process /usr/bin/dpkg returned an error code (1)
        
        We tried our best to update or fix your nodejs. Please run iob diag again to verify.
        
        *** RESTARTING ioBroker NOW! ***
         Please refresh or restart your browser in a few moments.
        
        pi@raspberrypi:~ $
        
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @HerrFrodo last edited by

          @herrfrodo sagte in Pivccu E: Sub-process /usr/bin/dpkg:

          pivccu-modules-raspberrypi

          Wegen des pivccu-modules-raspberrypi wendest du dich am besten an pivccu.
          Vielleicht haben die da einen Fehler im Paket?

          H 1 Reply Last reply Reply Quote 1
          • H
            HerrFrodo @Thomas Braun last edited by

            @thomas-braun said in Pivccu E: Sub-process /usr/bin/dpkg:

            Wegen des pivccu-modules-raspberrypi wendest du dich am besten an pivccu.
            Vielleicht haben die da einen Fehler im Paket?

            Ist über Github der richtige Weg?

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

              @herrfrodo

              Ich weiß nicht wie das da am besten läuft.

              H 1 Reply Last reply Reply Quote 1
              • H
                HerrFrodo @Thomas Braun last edited by

                @deimos Hast Du eventuell eine Idee zu meinem Error?

                1 Reply Last reply Reply Quote 0
                • H
                  HerrFrodo last edited by

                  @thomas-braun Jetzt hab ich richtig Mist 😞

                  Ich hatte versucht InfluxDB zu installieren, doch das funktionierte nicht.
                  Nun kommt folgendes:

                  
                  pi@raspberrypi:~ $ sudo apt update
                  E: Conflicting values set for option Signed-By regarding source https://repos.influxdata.com/debian/ stable: /usr/share/keyrings/influxdata-archive_compat.gpg != /usr/share/keyrings/influxdb-archive-keyring.gpg
                  E: The list of sources could not be read.
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @HerrFrodo last edited by

                    @herrfrodo

                    sudo rm /etc/apt/sources.list.d/infl*
                    wget -q https://repos.influxdata.com/influxdata-archive_compat.key
                    echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /usr/share/keyrings/influxdata-archive_compat.gpg > /dev/null
                    echo 'deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
                    rm influxdata-archive_compat.key
                    sudo apt update
                    
                    1 Reply Last reply Reply Quote 1
                    • H
                      HerrFrodo last edited by

                      @thomas-braun

                      pi@raspberrypi:~ $ sudo rm /etc/apt/sources.list.d/infl*
                      pi@raspberrypi:~ $ wget -q https://repos.influxdata.com/influxdata-archive_compat.key
                      pi@raspberrypi:~ $ echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /usr/share/keyrings/influxdata-archive_compat.gpg > /dev/null
                      influxdata-archive_compat.key: OK
                      pi@raspberrypi:~ $ echo 'deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
                      deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main
                      pi@raspberrypi:~ $ rm influxdata-archive_compat.key
                      pi@raspberrypi:~ $ sudo apt update
                      Hit:1 http://deb.debian.org/debian bullseye InRelease
                      Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
                      Get:3 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]
                      Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
                      Hit:5 https://repos.influxdata.com/debian stable InRelease
                      Hit:6 https://apt.pivccu.de/piVCCU stable InRelease
                      Hit:7 https://deb.nodesource.com/node_18.x nodistro InRelease
                      Fetched 48.4 kB in 2s (21.9 kB/s)
                      Reading package lists... Done
                      Building dependency tree... Done
                      Reading state information... Done
                      All packages are up to date.
                      pi@raspberrypi:~ $ Sudo apt upgrade
                      -bash: Sudo: command not found
                      pi@raspberrypi:~ $ sudo apt upgrade
                      Reading package lists... Done
                      Building dependency tree... Done
                      Reading state information... Done
                      Calculating upgrade... Done
                      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                      1 not fully installed or removed.
                      After this operation, 0 B of additional disk space will be used.
                      Do you want to continue? [Y/n] y
                      Setting up pivccu-modules-raspberrypi (2.0-19) ...
                      sed: can't read /var/lib/piVCCU/dtb/config.txt: No such file or directory
                      dpkg: error processing package pivccu-modules-raspberrypi (--configure):
                       installed pivccu-modules-raspberrypi package post-installation script subprocess returned error exit status 2
                      Errors were encountered while processing:
                       pivccu-modules-raspberrypi
                      E: Sub-process /usr/bin/dpkg returned an error code (1)
                      pi@raspberrypi:~ $
                      

                      Super! Vielen Dank!
                      Wie kann ich am sichersten influxdb und grafana installieren?

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

                        @herrfrodo sagte in Pivccu E: Sub-process /usr/bin/dpkg:

                        Wie kann ich am sichersten influxdb und grafana installieren?

                        sudo apt update
                        sudo apt install grafana influxdb2
                        
                        H 1 Reply Last reply Reply Quote 0
                        • H
                          HerrFrodo @Thomas Braun last edited by

                          @thomas-braun

                          pi@raspberrypi:~ $ sudo apt install influxdb2
                          Reading package lists... Done
                          Building dependency tree... Done
                          Reading state information... Done
                          The following additional packages will be installed:
                            influxdb2-cli
                          The following NEW packages will be installed:
                            influxdb2 influxdb2-cli
                          0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
                          1 not fully installed or removed.
                          Need to get 56.1 MB of archives.
                          After this operation, 128 MB of additional disk space will be used.
                          Do you want to continue? [Y/n] y
                          Get:1 https://repos.influxdata.com/debian stable/main arm64 influxdb2 arm64 2.7.5-1 [45.4 MB]
                          Get:2 https://repos.influxdata.com/debian stable/main arm64 influxdb2-cli arm64 2.7.3-1 [10.7 MB]
                          Fetched 56.1 MB in 10s (5551 kB/s)
                          Selecting previously unselected package influxdb2.
                          (Reading database ... 91522 files and directories currently installed.)
                          Preparing to unpack .../influxdb2_2.7.5-1_arm64.deb ...
                          Unpacking influxdb2 (2.7.5-1) ...
                          Selecting previously unselected package influxdb2-cli.
                          Preparing to unpack .../influxdb2-cli_2.7.3-1_arm64.deb ...
                          Unpacking influxdb2-cli (2.7.3-1) ...
                          Setting up influxdb2 (2.7.5-1) ...
                          
                          !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                          ! Important 1.x to 2.x Upgrade Notice !
                          !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                          
                          Thank you for installing InfluxDB v2.  Due to significant changes between
                          the v1 and v2 versions, upgrading to v2 requires additional steps.  If
                          upgrading to v2 was not intended, simply re-install the v1 package now.
                          
                          An upgrade helper script is available that should be reviewed and executed
                          prior to starting the influxdb systemd service.  In order to start the v2
                          upgrade, execute the following:
                          
                          sudo /usr/share/influxdb/influxdb2-upgrade.sh
                          
                          Visit our website for complete details on the v1 to v2 upgrade process:
                          https://docs.influxdata.com/influxdb/latest/upgrade/v1-to-v2/
                          
                          For new or upgrade installations, please review the getting started guide:
                          https://docs.influxdata.com/influxdb/latest/get-started/
                          
                          Setting up pivccu-modules-raspberrypi (2.0-19) ...
                          sed: can't read /var/lib/piVCCU/dtb/config.txt: No such file or directory
                          dpkg: error processing package pivccu-modules-raspberrypi (--configure):
                           installed pivccu-modules-raspberrypi package post-installation script subprocess returned error exit status 2
                          Setting up influxdb2-cli (2.7.3-1) ...
                          Errors were encountered while processing:
                           pivccu-modules-raspberrypi
                          E: Sub-process /usr/bin/dpkg returned an error code (1)
                          pi@raspberrypi:~ $ sudo apt install grafana
                          Reading package lists... Done
                          Building dependency tree... Done
                          Reading state information... Done
                          E: Unable to locate package grafana
                          pi@raspberrypi:~ $
                          
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @HerrFrodo last edited by Thomas Braun

                            @herrfrodo

                            Das Grafana-Repo muss zuvor angelegt werden:

                            wget -qO- http://phoscon.de/apt/deconz.pub.key | sudo gpg --dearmor -o /usr/share/keyrings/deconz.gpg > /dev/null
                            sudo sh -c "echo 'deb [signed-by=/usr/share/keyrings/deconz.gpg] http://phoscon.de/apt/deconz $(lsb_release -cs) main' > /etc/apt/sources.list.d/deconz.list"
                            sudo apt update
                            sudo apt install grafana
                            
                            H 1 Reply Last reply Reply Quote 1
                            • H
                              HerrFrodo @Thomas Braun last edited by

                              @thomas-braun

                              pi@raspberrypi:~ $ wget -qO- http://phoscon.de/apt/deconz.pub.key | sudo gpg --dearmor -o /usr/share/keyrings/deconz.gpg > /dev/null
                              pi@raspberrypi:~ $ sudo sh -c "echo 'deb [signed-by=/usr/share/keyrings/deconz.gpg] http://phoscon.de/apt/deconz $(lsb_release -cs) main' > /etc/apt/sources.list.d/deconz.list"
                              pi@raspberrypi:~ $ sudo apt update
                              Hit:1 http://deb.debian.org/debian bullseye InRelease
                              Get:2 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
                              Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease
                              Hit:4 https://apt.pivccu.de/piVCCU stable InRelease
                              Hit:5 http://security.debian.org/debian-security bullseye-security InRelease
                              Get:6 http://phoscon.de/apt/deconz bullseye InRelease [4327 B]
                              Hit:7 https://repos.influxdata.com/debian stable InRelease
                              Hit:8 https://deb.nodesource.com/node_18.x nodistro InRelease
                              Get:9 http://phoscon.de/apt/deconz bullseye/main arm64 Packages [549 B]
                              Get:10 http://phoscon.de/apt/deconz bullseye/main armhf Packages [545 B]
                              Fetched 49.5 kB in 2s (22.2 kB/s)
                              Reading package lists... Done
                              Building dependency tree... Done
                              Reading state information... Done
                              All packages are up to date.
                              pi@raspberrypi:~ $ sudo apt install grafana
                              Reading package lists... Done
                              Building dependency tree... Done
                              Reading state information... Done
                              E: Unable to locate package grafana
                              pi@raspberrypi:~ $
                              
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @HerrFrodo last edited by

                                @herrfrodo

                                OOOOOH, SORRY!
                                Hab in die falsche Schublade gegriffen!

                                sudo rm /etc/apt/sources.list.d/deconz.list
                                sudo rm /usr/share/keyrings/deconz.gpg
                                
                                sudo apt-get install -y apt-transport-https
                                
                                sudo apt-get install -y software-properties-common wget
                                
                                sudo wget -q -O /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key
                                
                                echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main" | sudo tee /etc/apt/sources.list.d/grafana.list
                                
                                sudo apt update
                                sudo apt install grafana
                                
                                H 1 Reply Last reply Reply Quote 1
                                • H
                                  HerrFrodo @Thomas Braun last edited by

                                  @thomas-braun

                                  pi@raspberrypi:~ $ sudo rm /etc/apt/sources.list.d/deconz.list
                                  pi@raspberrypi:~ $ sudo rm /usr/share/keyrings/deconz.gpg
                                  pi@raspberrypi:~ $ sudo apt-get install -y apt-transport-https
                                  Reading package lists... Done
                                  Building dependency tree... Done
                                  Reading state information... Done
                                  The following NEW packages will be installed:
                                    apt-transport-https
                                  0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
                                  1 not fully installed or removed.
                                  Need to get 160 kB of archives.
                                  After this operation, 166 kB of additional disk space will be used.
                                  Get:1 http://deb.debian.org/debian bullseye/main arm64 apt-transport-https all 2.2.4 [160 kB]
                                  Fetched 160 kB in 0s (1646 kB/s)
                                  Selecting previously unselected package apt-transport-https.
                                  (Reading database ... 91537 files and directories currently installed.)
                                  Preparing to unpack .../apt-transport-https_2.2.4_all.deb ...
                                  Unpacking apt-transport-https (2.2.4) ...
                                  Setting up apt-transport-https (2.2.4) ...
                                  Setting up pivccu-modules-raspberrypi (2.0-19) ...
                                  sed: can't read /var/lib/piVCCU/dtb/config.txt: No such file or directory
                                  dpkg: error processing package pivccu-modules-raspberrypi (--configure):
                                   installed pivccu-modules-raspberrypi package post-installation script subprocess returned error exit status 2
                                  Errors were encountered while processing:
                                   pivccu-modules-raspberrypi
                                  E: Sub-process /usr/bin/dpkg returned an error code (1)
                                  pi@raspberrypi:~ $ sudo apt-get install -y software-properties-common wget
                                  Reading package lists... Done
                                  Building dependency tree... Done
                                  Reading state information... Done
                                  wget is already the newest version (1.21-1+deb11u1).
                                  wget set to manually installed.
                                  The following additional packages will be installed:
                                    gir1.2-packagekitglib-1.0 libappstream4 libpackagekit-glib2-18 libstemmer0d
                                    packagekit packagekit-tools python3-dbus python3-distro-info python3-gi
                                    python3-pycurl python3-software-properties unattended-upgrades
                                  Suggested packages:
                                    appstream python-dbus-doc python3-dbus-dbg libcurl4-gnutls-dev
                                    python-pycurl-doc python3-pycurl-dbg bsd-mailx default-mta
                                    | mail-transport-agent needrestart powermgmt-base
                                  The following NEW packages will be installed:
                                    gir1.2-packagekitglib-1.0 libappstream4 libpackagekit-glib2-18 libstemmer0d
                                    packagekit packagekit-tools python3-dbus python3-distro-info python3-gi
                                    python3-pycurl python3-software-properties software-properties-common
                                    unattended-upgrades
                                  0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded.
                                  1 not fully installed or removed.
                                  Need to get 1667 kB of archives.
                                  After this operation, 7404 kB of additional disk space will be used.
                                  Get:1 http://deb.debian.org/debian bullseye/main arm64 libpackagekit-glib2-18 arm64 1.2.2-2 [113 kB]
                                  Get:2 http://deb.debian.org/debian bullseye/main arm64 gir1.2-packagekitglib-1.0 arm64 1.2.2-2 [36.8 kB]
                                  Get:3 http://deb.debian.org/debian bullseye/main arm64 libstemmer0d arm64 2.1.0-1 [113 kB]
                                  Get:4 http://deb.debian.org/debian bullseye/main arm64 libappstream4 arm64 0.14.4-1 [160 kB]
                                  Get:5 http://deb.debian.org/debian bullseye/main arm64 packagekit arm64 1.2.2-2 [575 kB]
                                  Get:6 http://deb.debian.org/debian bullseye/main arm64 packagekit-tools arm64 1.2.2-2 [39.9 kB]
                                  Get:7 http://deb.debian.org/debian bullseye/main arm64 python3-dbus arm64 1.2.16-5 [105 kB]
                                  Get:8 http://deb.debian.org/debian bullseye/main arm64 python3-distro-info all 1.0+deb11u1 [8860 B]
                                  Get:9 http://deb.debian.org/debian bullseye/main arm64 python3-gi arm64 3.38.0-2 [226 kB]
                                  Get:10 http://deb.debian.org/debian bullseye/main arm64 python3-pycurl arm64 7.43.0.6-5 [67.9 kB]
                                  Get:11 http://deb.debian.org/debian bullseye/main arm64 python3-software-properties all 0.96.20.2-2.1 [49.7 kB]
                                  Get:12 http://deb.debian.org/debian bullseye/main arm64 software-properties-common all 0.96.20.2-2.1 [83.4 kB]
                                  Get:13 http://deb.debian.org/debian bullseye/main arm64 unattended-upgrades all 2.8 [88.6 kB]
                                  Fetched 1667 kB in 0s (5420 kB/s)
                                  Preconfiguring packages ...
                                  Selecting previously unselected package libpackagekit-glib2-18:arm64.
                                  (Reading database ... 91541 files and directories currently installed.)
                                  Preparing to unpack .../00-libpackagekit-glib2-18_1.2.2-2_arm64.deb ...
                                  Unpacking libpackagekit-glib2-18:arm64 (1.2.2-2) ...
                                  Selecting previously unselected package gir1.2-packagekitglib-1.0.
                                  Preparing to unpack .../01-gir1.2-packagekitglib-1.0_1.2.2-2_arm64.deb ...
                                  Unpacking gir1.2-packagekitglib-1.0 (1.2.2-2) ...
                                  Selecting previously unselected package libstemmer0d:arm64.
                                  Preparing to unpack .../02-libstemmer0d_2.1.0-1_arm64.deb ...
                                  Unpacking libstemmer0d:arm64 (2.1.0-1) ...
                                  Selecting previously unselected package libappstream4:arm64.
                                  Preparing to unpack .../03-libappstream4_0.14.4-1_arm64.deb ...
                                  Unpacking libappstream4:arm64 (0.14.4-1) ...
                                  Selecting previously unselected package packagekit.
                                  Preparing to unpack .../04-packagekit_1.2.2-2_arm64.deb ...
                                  Unpacking packagekit (1.2.2-2) ...
                                  Selecting previously unselected package packagekit-tools.
                                  Preparing to unpack .../05-packagekit-tools_1.2.2-2_arm64.deb ...
                                  Unpacking packagekit-tools (1.2.2-2) ...
                                  Selecting previously unselected package python3-dbus.
                                  Preparing to unpack .../06-python3-dbus_1.2.16-5_arm64.deb ...
                                  Unpacking python3-dbus (1.2.16-5) ...
                                  Selecting previously unselected package python3-distro-info.
                                  Preparing to unpack .../07-python3-distro-info_1.0+deb11u1_all.deb ...
                                  Unpacking python3-distro-info (1.0+deb11u1) ...
                                  Selecting previously unselected package python3-gi.
                                  Preparing to unpack .../08-python3-gi_3.38.0-2_arm64.deb ...
                                  Unpacking python3-gi (3.38.0-2) ...
                                  Selecting previously unselected package python3-pycurl.
                                  Preparing to unpack .../09-python3-pycurl_7.43.0.6-5_arm64.deb ...
                                  Unpacking python3-pycurl (7.43.0.6-5) ...
                                  Selecting previously unselected package python3-software-properties.
                                  Preparing to unpack .../10-python3-software-properties_0.96.20.2-2.1_all.deb ...
                                  Unpacking python3-software-properties (0.96.20.2-2.1) ...
                                  Selecting previously unselected package software-properties-common.
                                  Preparing to unpack .../11-software-properties-common_0.96.20.2-2.1_all.deb ...
                                  Unpacking software-properties-common (0.96.20.2-2.1) ...
                                  Selecting previously unselected package unattended-upgrades.
                                  Preparing to unpack .../12-unattended-upgrades_2.8_all.deb ...
                                  Unpacking unattended-upgrades (2.8) ...
                                  Setting up python3-dbus (1.2.16-5) ...
                                  Setting up libpackagekit-glib2-18:arm64 (1.2.2-2) ...
                                  Setting up gir1.2-packagekitglib-1.0 (1.2.2-2) ...
                                  Setting up python3-pycurl (7.43.0.6-5) ...
                                  Setting up pivccu-modules-raspberrypi (2.0-19) ...
                                  sed: can't read /var/lib/piVCCU/dtb/config.txt: No such file or directory
                                  dpkg: error processing package pivccu-modules-raspberrypi (--configure):
                                   installed pivccu-modules-raspberrypi package post-installation script subprocess returned error exit status 2
                                  Setting up python3-software-properties (0.96.20.2-2.1) ...
                                  Setting up python3-gi (3.38.0-2) ...
                                  Setting up libstemmer0d:arm64 (2.1.0-1) ...
                                  Setting up python3-distro-info (1.0+deb11u1) ...
                                  Setting up libappstream4:arm64 (0.14.4-1) ...
                                  Setting up software-properties-common (0.96.20.2-2.1) ...
                                  Setting up unattended-upgrades (2.8) ...
                                  
                                  Creating config file /etc/apt/apt.conf.d/20auto-upgrades with new version
                                  
                                  Creating config file /etc/apt/apt.conf.d/50unattended-upgrades with new version
                                  Created symlink /etc/systemd/system/multi-user.target.wants/unattended-upgrades.service → /lib/systemd/system/unattended-upgrades.service.
                                  Synchronizing state of unattended-upgrades.service with SysV service script with /lib/systemd/systemd-sysv-install.
                                  Executing: /lib/systemd/systemd-sysv-install enable unattended-upgrades
                                  Setting up packagekit (1.2.2-2) ...
                                  Created symlink /etc/systemd/user/sockets.target.wants/pk-debconf-helper.socket → /usr/lib/systemd/user/pk-debconf-helper.socket.
                                  Setting up packagekit-tools (1.2.2-2) ...
                                  Processing triggers for man-db (2.9.4-2) ...
                                  Processing triggers for dbus (1.12.28-0+deb11u1) ...
                                  Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u7) ...
                                  Errors were encountered while processing:
                                   pivccu-modules-raspberrypi
                                  E: Sub-process /usr/bin/dpkg returned an error code (1)
                                  pi@raspberrypi:~ $ sudo wget -q -O /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key
                                  pi@raspberrypi:~ $ echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main" | sudo tee /etc/apt/sources.list.d/grafana.list
                                  deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main
                                  pi@raspberrypi:~ $ sudo apt update
                                  Hit:1 http://deb.debian.org/debian bullseye InRelease
                                  Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
                                  Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
                                  Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
                                  Get:5 https://apt.grafana.com stable InRelease [5984 B]
                                  Hit:6 https://repos.influxdata.com/debian stable InRelease
                                  Hit:7 https://apt.pivccu.de/piVCCU stable InRelease
                                  Hit:8 https://deb.nodesource.com/node_18.x nodistro InRelease
                                  Get:9 https://apt.grafana.com stable/main arm64 Packages [163 kB]
                                  Get:10 https://apt.grafana.com stable/main armhf Packages [129 kB]
                                  Fetched 298 kB in 3s (118 kB/s)
                                  Reading package lists... Done
                                  Building dependency tree... Done
                                  Reading state information... Done
                                  All packages are up to date.
                                  pi@raspberrypi:~ $ sudo apt install grafana
                                  Reading package lists... Done
                                  Building dependency tree... Done
                                  Reading state information... Done
                                  The following additional packages will be installed:
                                    musl
                                  The following NEW packages will be installed:
                                    grafana musl
                                  0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
                                  1 not fully installed or removed.
                                  Need to get 103 MB of archives.
                                  After this operation, 391 MB of additional disk space will be used.
                                  Do you want to continue? [Y/n] y
                                  Get:1 http://deb.debian.org/debian bullseye/main arm64 musl arm64 1.2.2-1 [399 kB]
                                  Get:2 https://apt.grafana.com stable/main arm64 grafana arm64 10.3.3 [103 MB]
                                  Fetched 103 MB in 15s (7053 kB/s)
                                  Selecting previously unselected package musl:arm64.
                                  (Reading database ... 91931 files and directories currently installed.)
                                  Preparing to unpack .../musl_1.2.2-1_arm64.deb ...
                                  Unpacking musl:arm64 (1.2.2-1) ...
                                  Selecting previously unselected package grafana.
                                  Preparing to unpack .../grafana_10.3.3_arm64.deb ...
                                  Unpacking grafana (10.3.3) ...
                                  Setting up pivccu-modules-raspberrypi (2.0-19) ...
                                  sed: can't read /var/lib/piVCCU/dtb/config.txt: No such file or directory
                                  dpkg: error processing package pivccu-modules-raspberrypi (--configure):
                                   installed pivccu-modules-raspberrypi package post-installation script subprocess returned error exit status 2
                                  Setting up musl:arm64 (1.2.2-1) ...
                                  Setting up grafana (10.3.3) ...
                                  Adding system user `grafana' (UID 111) ...
                                  Adding new user `grafana' (UID 111) with group `grafana' ...
                                  Not creating home directory `/usr/share/grafana'.
                                  ### NOT starting on installation, please execute the following statements to configure grafana to start automatically using systemd
                                   sudo /bin/systemctl daemon-reload
                                   sudo /bin/systemctl enable grafana-server
                                  ### You can start grafana-server by executing
                                   sudo /bin/systemctl start grafana-server
                                  Processing triggers for man-db (2.9.4-2) ...
                                  Errors were encountered while processing:
                                   pivccu-modules-raspberrypi
                                  E: Sub-process /usr/bin/dpkg returned an error code (1)
                                  pi@raspberrypi:~ $
                                  
                                  

                                  Kein Problem! Trotzdem vielen Dank! 🙂
                                  Bis auf Pivccu scheint ja alles zu funktionieren.
                                  WIe muss ich influxdb und grafana jetzt einrichten?

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

                                    @herrfrodo sagte in Pivccu E: Sub-process /usr/bin/dpkg:

                                    WIe muss ich influxdb und grafana jetzt einrichten?

                                    Anleitungen lesen?

                                    H 1 Reply Last reply Reply Quote 1
                                    • H
                                      HerrFrodo @Thomas Braun last edited by

                                      @thomas-braun
                                      YouTube Videos schauen?
                                      Nach der Influxdb2 Installation, gelangt man im Browser über Port 8086 auf die landing page.
                                      Im ioBroker muss man den Influx-Adapter installieren und die zuvor festgelegten influxdb2-Konfigurationsdaten dort eingeben.
                                      Wenn dann alles funzt, dann kann man in den Objekten am rechten Rand die Datenbank aktivieren.

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

                                        @herrfrodo sagte in Pivccu E: Sub-process /usr/bin/dpkg:

                                        YouTube Videos schauen?

                                        Dann aber die richtigen. Die wenigsten sind gut.

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

                                        Support us

                                        ioBroker
                                        Community Adapters
                                        Donate

                                        704
                                        Online

                                        31.7k
                                        Users

                                        79.9k
                                        Topics

                                        1.3m
                                        Posts

                                        2
                                        21
                                        773
                                        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