Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. wie bei tinkerboard / armbian note.js aktualisieren ?

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    wie bei tinkerboard / armbian note.js aktualisieren ?

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

      @hal Dürfte analog auch für Armbian gelten:

      https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian

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

        @thomas-braun sorry für die späte Antwort, war "beschäftigt". So ganz hat es nach der Anweisung nicht geklappt.

        Nach

        sudo apt update
        sudo apt upgrade
        sudo reboot
        

        konnte ich den neuen note-red Adapter installieren, es war aber noch die alte note.js 10.x installiert.

        Nach

         GNU nano 4.8      /etc/apt/sources.list.d/nodesource.list
        # deb https://deb.nodesource.com/node_10.x focal main
        # deb-src https://deb.nodesource.com/node_10.x focal main
        
        # node 12
        deb https://deb.nodesource.com/node_12.x buster main
        deb-src https://deb.nodesource.com/node_12.x buster main
        

        ein sudo apt update brachte Fehler

        root@tinkerboard:~# sudo apt update
        Hit:1 http://deb.debian.org/debian stable InRelease
        Hit:2 http://ports.ubuntu.com focal InRelease
        Hit:3 http://deb.debian.org/debian stable-updates InRelease
        Hit:4 http://deb.debian.org/debian-security stable/updates InRelease
        Hit:5 https://repos.influxdata.com/debian focal InRelease
        Hit:6 http://ports.ubuntu.com focal-security InRelease
        Hit:7 https://deb.nodesource.com/node_12.x buster InRelease
        Hit:8 http://ports.ubuntu.com focal-updates InRelease
        Hit:9 http://ports.ubuntu.com focal-backports InRelease
        Get:10 https://archive.raspbian.org/raspbian buster InRelease [15.0 kB]
        Err:10 https://archive.raspbian.org/raspbian buster InRelease
          The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9165938D90FDDD2E
        Get:11 https://armbian.systemonachip.net/apt focal InRelease [18.2 kB]
        Reading package lists... Done
        W: GPG error: https://archive.raspbian.org/raspbian buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9165938D90FDDD2E
        E: The repository 'https://archive.raspbian.org/raspbian buster InRelease' is not signed.
        N: Updating from such a repository can't be done securely, and is therefore disabled by default.
        N: See apt-secure(8) manpage for repository creation and user configuration details.
        
        
        root@tinkerboard:~# apt policy nodejs
        nodejs:
          Installed: 10.24.0-deb-1nodesource1
          Candidate: 12.21.0-1nodesource1
          Version table:
             12.21.0-1nodesource1 500
                500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
         *** 10.24.0-deb-1nodesource1 100
                100 /var/lib/dpkg/status
             10.24.0~dfsg-1~deb10u1 300
                300 http://deb.debian.org/debian-security stable/updates/main armhf ages
             10.21.0~dfsg-1~deb10u1 300
                300 http://deb.debian.org/debian stable/main armhf Packages
             10.19.0~dfsg-3ubuntu1 500
                500 http://ports.ubuntu.com focal/universe armhf Packages
        root@tinkerboard:~#
        

        auch ein sudo apt install nodejs=12.21.0-1nodesource1 lief auf Fehler

        root@tinkerboard:~# sudo apt install nodejs=12.21.0-1nodesource1
        Reading package lists... Done
        Building dependency tree
        Reading state information... Done
        Some packages could not be installed. This may mean that you have
        requested an impossible situation or if you are using the unstable
        distribution that some required packages have not yet been created
        or been moved out of Incoming.
        The following information may help to resolve the situation:
        
        The following packages have unmet dependencies:
         nodejs : Depends: python-minimal but it is not going to be installed
        E: Unable to correct problems, you have held broken packages
        

        muss ich überhaupt die note.js akualisieren ? Momentan läuft alles.

        Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @HAL last edited by

          @hal

          Du schmeißt ja auch alles durcheinander. Was hast du denn da nun installiert?
          ubunt focal? RasperryOS 'Buster'? Armbian?

          lsb_release -a
          

          Als root meldet man sich nicht an, und wenn man es dann doch tut, dann macht man da auch nicht noch mit sudo herum...

          Homoran 1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @Thomas Braun last edited by

            @thomas-braun sagte in wie bei tinkerboard / armbian note.js aktualisieren ?:

            Was hast du denn da nun installiert?
            ubunt focal? RasperryOS 'Buster'? Armbian?

            Armbian gibt es jeweils Ubuntu oder Debian basiert.

            Warum @HAL beides drin hat ist mir schleierhaft.
            Auch dass nodejs python-minimal benötigt.
            python (ohne minimal) ist üblicherweise in jeder Distro drauf

            HAL 1 Reply Last reply Reply Quote 0
            • HAL
              HAL @Homoran last edited by

              @homoran
              Es ist Ubuntu focal

              pi@tinkerboard:~$ lsb_release -a
              No LSB modules are available.
              Distributor ID: Ubuntu
              Description:    Ubuntu 20.04.2 LTS
              Release:        20.04
              Codename:       focal
              
              
              
              1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @HAL last edited by Homoran

                @hal sagte in wie bei tinkerboard / armbian note.js aktualisieren ?:

                @homoran
                Es ist Ubuntu focal

                und warum steht hier überall

                @hal sagte in wie bei tinkerboard / armbian note.js aktualisieren ?:

                12.21.0-1nodesource1 500 > 500 https://deb.nodesource.com/node_12.x buster/main armhf Packages > *** 10.24.0-deb-1nodesource1 100 > 100 /var/lib/dpkg/status > 10.24.0~dfsg-1~deb10u1 300 > 300 http://deb.debian.org/debian-security stable/updates/main armhf ages > 10.21.0~dfsg-1~deb10u1 300 > 300 http://deb.debian.org/debian stable/main armhf Packages

                Debian und Buster?
                das kann dann ja nicht passen

                HAL 1 Reply Last reply Reply Quote 0
                • HAL
                  HAL @Homoran last edited by

                  @homoran Ich habe mit dem Script installiert und nur das gemacht, was im Forumseintrag steht.

                  Homoran 1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @HAL last edited by

                    @hal sagte in wie bei tinkerboard / armbian note.js aktualisieren ?:

                    @homoran Ich habe mit dem Script installiert und nur das gemacht, was im Forumseintrag steht.

                    welches und welcher?

                    HAL 1 Reply Last reply Reply Quote 0
                    • HAL
                      HAL @Homoran last edited by HAL

                      @homoran Tinkerboard Image installiert, dann mit dem https://github.com/Homoran/iobroker.install
                      ( ist aber schon etwas länger her ) iobroker installiert.

                      Als alles lief habe ich später noch InfluxDB und Grafana installiert

                      die notes.js habe ich nach dem mit empfohlenen Beitrag https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian versucht zu installieren, habe aber über sehen, das da debian steht.

                      Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @HAL last edited by

                        @hal
                        Die Vorgehensweise bei deb-basierten Distributionen ist prinzipiell gleich.
                        Ubuntu basiert ja auf Debian. Die Unterscheide liegen im Detail, und deswegen sollte man nie Repositories für Debian mit denen für Ubuntu mischen. Ist wie beim Auto. Ein Passat fährt grundsätzlich ganz ähnlich wie ein Golf, dennoch kann man die wenigsten Teile von dem einen Modell auch an das andere schrauben.

                        Also den ganzen Kram zu Debian/Buster da raus, da müssen Ubuntu/Focal-Quellen rein.

                        1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @HAL last edited by

                          @hal sagte in wie bei tinkerboard / armbian note.js aktualisieren ?:

                          habe aber über sehen, das da debian steht.

                          das ist jetzt dein Problem

                          HAL 1 Reply Last reply Reply Quote 0
                          • HAL
                            HAL @Homoran last edited by

                            @homoran ok, meinst Du hier ?

                             GNU nano 4.8      /etc/apt/sources.list.d/nodesource.list
                            # deb https://deb.nodesource.com/node_10.x focal main
                            # deb-src https://deb.nodesource.com/node_10.x focal main
                            
                            # node 12
                            deb https://deb.nodesource.com/node_12.x buster main
                            deb-src https://deb.nodesource.com/node_12.x buster main
                            

                            und wo finde ich die Quellen ?

                            Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators @HAL last edited by

                              @hal sagte in wie bei tinkerboard / armbian note.js aktualisieren ?:

                              und wo finde ich die Quellen ?

                              was stand denn da vorher, bevor du es auf "buster" geändert hast?

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

                                @hal sagte in wie bei tinkerboard / armbian note.js aktualisieren ?:

                                deb https://deb.nodesource.com/node_12.x focal main
                                deb-src https://deb.nodesource.com/node_12.x focal main
                                

                                gehört da rein, die Zeilen zu buster löschen.

                                Da müssen aber noch mehr .list-Dateien sein, die buster/debian-Quellen beinhalten.

                                1 Reply Last reply Reply Quote 0
                                • HAL
                                  HAL @Homoran last edited by HAL

                                  @homoran nur die oberen jetzt auskommentierten beiden Zeilen:

                                  deb https://deb.nodesource.com/node_10.x focal main
                                  deb-src https://deb.nodesource.com/node_10.x focal main
                                  

                                  was ich irritiert, mal steht ubuntu in den Quellen und mal deb:

                                  pi@tinkerboard:~$ apt-cache policy
                                  Package files:
                                   100 /var/lib/dpkg/status
                                       release a=now
                                   500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                                       release o=Node Source,n=buster,l=Node Source,c=main,b=armhf
                                       origin deb.nodesource.com
                                   500 https://deb.nodesource.com/node_10.x focal/main armhf Packages
                                       release o=Node Source,n=focal,l=Node Source,c=main,b=armhf
                                       origin deb.nodesource.com
                                   500 https://repos.influxdata.com/debian focal/stable armhf Packages
                                       release o=InfluxDB,n=focal,l=InfluxDB,c=stable,b=armhf
                                       origin repos.influxdata.com
                                   300 http://deb.debian.org/debian-security stable/updates/main armhf Packages
                                       release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=main,b=armhf
                                       origin deb.debian.org
                                   300 http://deb.debian.org/debian stable-updates/main armhf Packages
                                       release o=Debian,a=stable-updates,n=buster-updates,l=Debian,c=main,b=armhf
                                       origin deb.debian.org
                                   300 http://deb.debian.org/debian stable/main armhf Packages
                                       release v=10.8,o=Debian,a=stable,n=buster,l=Debian,c=main,b=armhf
                                       origin deb.debian.org
                                   500 http://apt.armbian.com focal/focal-desktop armhf Packages
                                       release o=Armbian,a=focal,n=focal,l=Armbian,c=focal-desktop,b=armhf
                                       origin apt.armbian.com
                                   500 http://apt.armbian.com focal/focal-utils armhf Packages
                                       release o=Armbian,a=focal,n=focal,l=Armbian,c=focal-utils,b=armhf
                                       origin apt.armbian.com
                                   500 http://apt.armbian.com focal/main armhf Packages
                                       release o=Armbian,a=focal,n=focal,l=Armbian,c=main,b=armhf
                                       origin apt.armbian.com
                                   100 http://ports.ubuntu.com focal-backports/universe armhf Packages
                                       release v=20.04,o=Ubuntu,a=focal-backports,n=focal,l=Ubuntu,c=universe,b=armhf
                                       origin ports.ubuntu.com
                                   500 http://ports.ubuntu.com focal-updates/multiverse armhf Packages
                                       release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=multiverse,b=armhf
                                       origin ports.ubuntu.com
                                   500 http://ports.ubuntu.com focal-updates/universe armhf Packages
                                       release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=universe,b=armhf
                                       origin ports.ubuntu.com
                                   500 http://ports.ubuntu.com focal-updates/restricted armhf Packages
                                       release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=restricted,b=armhf
                                       origin ports.ubuntu.com
                                   500 http://ports.ubuntu.com focal-updates/main armhf Packages
                                       release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=main,b=armhf
                                       origin ports.ubuntu.com
                                   500 http://ports.ubuntu.com focal-security/multiverse armhf Packages
                                       release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=multiverse,b=armhf
                                       origin ports.ubuntu.com
                                   500 http://ports.ubuntu.com focal-security/universe armhf Packages
                                       release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=universe,b=armhf
                                       origin ports.ubuntu.com
                                   500 http://ports.ubuntu.com focal-security/restricted armhf Packages
                                       release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=restricted,b=armhf
                                       origin ports.ubuntu.com
                                   500 http://ports.ubuntu.com focal-security/main armhf Packages
                                       release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=main,b=armhf
                                       origin ports.ubuntu.com
                                   500 http://ports.ubuntu.com focal/multiverse armhf Packages
                                       release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=multiverse,b=armhf
                                       origin ports.ubuntu.com
                                   500 http://ports.ubuntu.com focal/universe armhf Packages
                                       release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=universe,b=armhf
                                       origin ports.ubuntu.com
                                   500 http://ports.ubuntu.com focal/restricted armhf Packages
                                       release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=restricted,b=armhf
                                       origin ports.ubuntu.com
                                   500 http://ports.ubuntu.com focal/main armhf Packages
                                       release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=main,b=armhf
                                       origin ports.ubuntu.com
                                  Pinned packages:
                                       chromium-bsu -> 0.9.16.1-2 with priority 700
                                       chromium-driver -> 88.0.4324.182-1~deb10u1 with priority 700
                                       chromium-driver -> 87.0.4280.141-0.1~deb10u1 with priority 700
                                       chromium-l10n -> 88.0.4324.182-1~deb10u1 with priority 700
                                       chromium-l10n -> 87.0.4280.141-0.1~deb10u1 with priority 700
                                       chromium-shell -> 88.0.4324.182-1~deb10u1 with priority 700
                                       chromium-shell -> 87.0.4280.141-0.1~deb10u1 with priority 700
                                       chromium -> 88.0.4324.182-1~deb10u1 with priority 700
                                       chromium -> 87.0.4280.141-0.1~deb10u1 with priority 700
                                       chromium-bsu-data -> 0.9.16.1-2 with priority 700
                                       chromium-sandbox -> 88.0.4324.182-1~deb10u1 with priority 700
                                       chromium-sandbox -> 87.0.4280.141-0.1~deb10u1 with priority 700
                                       chromium-common -> 88.0.4324.182-1~deb10u1 with priority 700
                                       chromium-common -> 87.0.4280.141-0.1~deb10u1 with priority 700
                                       chromium-tt-rss-notifier -> 0.5.2-2 with priority 700
                                       chromium-lwn4chrome -> 1.0-3 with priority 700
                                  pi@tinkerboard:~$
                                  
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @HAL last edited by

                                    @hal
                                    Zuvor

                                    sudo apt update
                                    

                                    Erst dann mit policy nachschauen. Und warum ist da chromium gepinnt?
                                    Und warum ist der überhaupt auf einem Server installiert? Hat da nix verloren.

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

                                      @thomas-braun damit sind meine rudimentären Linux Kenntnisse überfordert. Aber bisher läuft alles einwandfrei.

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

                                        @hal sagte in wie bei tinkerboard / armbian note.js aktualisieren ?:

                                        Aber bisher läuft alles einwandfrei.

                                        Das sehe ich...
                                        ...nicht so.

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

                                          @thomas-braun woran sehe ich das ? Im iobroker log taucht kaum Fehler auf. Alle Adapter, Views, Scripte usw. tun es . Grafana und influxDB gehen auch. Die Load ist m.E. nicht zu hoch.
                                          Einzig Note.js lässt sich nicht aktualisieren.
                                          Müsste ich das System komplett neu aufsetzen um das zu fixen ?

                                          HAL Thomas Braun 2 Replies Last reply Reply Quote 0
                                          • HAL
                                            HAL @HAL last edited by

                                            ich hätte noch einen Raspi 4 rumliegen. Allerdings habe ich das schon mal versucht meine Installation umzuziehen. Alles hat funktioniert, bis auf Alexa und das brauche ich unbedingt für den WAF. Den Fehler konnte ich nicht finden.

                                            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

                                            853
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            32
                                            1204
                                            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