Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. iobroker zeschossen

    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

    iobroker zeschossen

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

      @thomas-braun
      Nr 4

      krisiun@Marek2:~$ sudo apt install -y ca-certificates curl gnupg
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      ca-certificates is already the newest version (20230311ubuntu0.22.04.1).
      curl is already the newest version (7.81.0-1ubuntu1.13).
      gnupg is already the newest version (2.2.27-3ubuntu2.1).
      The following packages were automatically installed and are no longer required:
        javascript-common libffi7 libjs-highlight.js libllvm13 libpython2-dev libpython2-stdlib libpython2.7
        libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib python2 python2-dev python2-minimal python2.7
        python2.7-dev python2.7-minimal
      Use 'sudo apt autoremove' to remove them.
      0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
      
      1 Reply Last reply Reply Quote 0
      • Krisiun
        Krisiun @Thomas Braun last edited by

        @thomas-braun

        Nr 5 Passiert nicht

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

          @krisiun

          Ja, das kommt von dem wsl-Dingen da.

          sudo rm `sudo find / -path /proc -o -path /mnt -o -path /dev -o -path /sys -o -path /lost+found -prune -o -name nodesource.[gk]* -print`
          

          sollte weniger zu moppern haben.

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

            @thomas-braun

            Nr 6

            krisiun@Marek2:~$ sudo apt update
            Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
            Hit:2 https://deb.nodesource.com/node_18.x nodistro InRelease
            Hit:3 http://archive.ubuntu.com/ubuntu jammy InRelease
            Hit:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
            Hit:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
            Reading package lists... Done
            Building dependency tree... Done
            Reading state information... Done
            1 package can be upgraded. Run 'apt list --upgradable' to see it.
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Krisiun last edited by

              @krisiun

              apt list --upgradable
              
              Krisiun 1 Reply Last reply Reply Quote 0
              • Krisiun
                Krisiun @Thomas Braun last edited by

                @thomas-braun sagte in iobroker zeschossen:

                apt list --upgradable

                krisiun@Marek2:~$ apt list --upgradable
                Listing... Done
                nodejs/nodistro 18.18.0-1nodesource1 amd64 [upgradable from: 12.22.9~dfsg-1ubuntu3]
                N: There are 24 additional versions. Please use the '-a' switch to see them
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Krisiun last edited by

                  @krisiun
                  Dann jetzt endlich

                  sudo apt full-upgrade
                  sudo apt autoremove
                  
                  Krisiun 1 Reply Last reply Reply Quote 0
                  • Krisiun
                    Krisiun @Thomas Braun last edited by

                    @thomas-braun sagte in iobroker zeschossen:

                    sudo apt full-upgrade

                    Nr 1

                    krisiun@Marek2:~$ sudo apt full-upgrade
                    Reading package lists... Done
                    Building dependency tree... Done
                    Reading state information... Done
                    Calculating upgrade... Done
                    The following packages were automatically installed and are no longer required:
                      javascript-common libc-ares2 libffi7 libjs-highlight.js libllvm13 libnode72 libpython2-dev libpython2-stdlib
                      libpython2.7 libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib python2 python2-dev python2-minimal python2.7
                      python2.7-dev python2.7-minimal
                    Use 'sudo apt autoremove' to remove them.
                    The following packages will be upgraded:
                      nodejs
                    1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                    Need to get 0 B/29.5 MB of archives.
                    After this operation, 188 MB of additional disk space will be used.
                    Do you want to continue? [Y/n] y
                    (Reading database ... 48341 files and directories currently installed.)
                    Preparing to unpack .../nodejs_18.18.0-1nodesource1_amd64.deb ...
                    Unpacking nodejs (18.18.0-1nodesource1) over (12.22.9~dfsg-1ubuntu3) ...
                    dpkg: error processing archive /var/cache/apt/archives/nodejs_18.18.0-1nodesource1_amd64.deb (--unpack):
                     trying to overwrite '/usr/share/systemtap/tapset/node.stp', which is also in package libnode72:amd64 12.22.9~dfsg-1ubuntu3
                    Errors were encountered while processing:
                     /var/cache/apt/archives/nodejs_18.18.0-1nodesource1_amd64.deb
                    needrestart is being skipped since dpkg has failed
                    E: Sub-process /usr/bin/dpkg returned an error code (1)
                    
                    Krisiun Thomas Braun OliverIO 3 Replies Last reply Reply Quote 0
                    • Krisiun
                      Krisiun @Krisiun last edited by

                      @krisiun

                      Nr 2

                      krisiun@Marek2:~$ sudo apt autoremove
                      Reading package lists... Done
                      Building dependency tree... Done
                      Reading state information... Done
                      The following packages will be REMOVED:
                        javascript-common libffi7 libjs-highlight.js libllvm13 libpython2-dev libpython2-stdlib libpython2.7
                        libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib python2 python2-dev python2-minimal python2.7
                        python2.7-dev python2.7-minimal
                      0 upgraded, 0 newly installed, 16 to remove and 1 not upgraded.
                      After this operation, 135 MB disk space will be freed.
                      Do you want to continue? [Y/n] y
                      (Reading database ... 48341 files and directories currently installed.)
                      Removing javascript-common (11+nmu1) ...
                      Removing libffi7:amd64 (3.3-5ubuntu1) ...
                      Removing libjs-highlight.js (9.18.5+dfsg1-1) ...
                      Removing libllvm13:amd64 (1:13.0.1-2ubuntu2.2) ...
                      Removing python2-dev (2.7.18-3) ...
                      Removing libpython2-dev:amd64 (2.7.18-3) ...
                      Removing python2 (2.7.18-3) ...
                      Removing libpython2-stdlib:amd64 (2.7.18-3) ...
                      Removing python2.7-dev (2.7.18-13ubuntu1.1) ...
                      Removing libpython2.7-dev:amd64 (2.7.18-13ubuntu1.1) ...
                      Removing libpython2.7:amd64 (2.7.18-13ubuntu1.1) ...
                      Removing python2.7 (2.7.18-13ubuntu1.1) ...
                      Removing libpython2.7-stdlib:amd64 (2.7.18-13ubuntu1.1) ...
                      Removing python2-minimal (2.7.18-3) ...
                      Removing python2.7-minimal (2.7.18-13ubuntu1.1) ...
                      Unlinking and removing bytecode for runtime python2.7
                      Removing libpython2.7-minimal:amd64 (2.7.18-13ubuntu1.1) ...
                      Processing triggers for libc-bin (2.35-0ubuntu3.4) ...
                      Processing triggers for man-db (2.10.2-1) ...
                      Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
                      Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
                      Scanning processes...
                      Scanning candidates...
                      Scanning processor microcode...
                      Scanning linux images...
                      
                      Failed to retrieve available kernel versions.
                      
                      Failed to check for processor microcode upgrades.
                      
                      No services need to be restarted.
                      
                      No containers need to be restarted.
                      
                      User sessions running outdated binaries:
                       krisiun @ /dev/tty1: bash[5843]
                       root @ /dev/pts/0: apt[6559,6667], sh[6672]
                       root @ /dev/tty1: bash[5801], init[5800], su[5842]
                      
                      No VM guests are running outdated hypervisor (qemu) binaries on this host.
                      
                      1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Krisiun last edited by

                        @krisiun sagte in iobroker zeschossen:

                        libnode72

                        sudo apt purge libnode72 node-*
                        
                        Krisiun 1 Reply Last reply Reply Quote 0
                        • Krisiun
                          Krisiun @Thomas Braun last edited by

                          @thomas-braun
                          Die ausgabe ist zu groß kann ich nicht schicken aber ich schicke Die die letzte Zeile da ist denke ich ein fehler

                          Errors were encountered while processing:
                           /var/cache/apt/archives/nodejs_18.18.0-1nodesource1_amd64.deb
                          needrestart is being skipped since dpkg has failed
                          E: Sub-process /usr/bin/dpkg returned an error code (1)
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Krisiun last edited by

                            @krisiun

                            Nee, kann ich nicht.

                            sudo apt purge libnode72
                            
                            Krisiun 1 Reply Last reply Reply Quote 0
                            • Krisiun
                              Krisiun @Thomas Braun last edited by

                              @thomas-braun sagte in iobroker zeschossen:

                              sudo apt purge libnode72

                              Leider

                              Errors were encountered while processing:
                               /var/cache/apt/archives/nodejs_18.18.0-1nodesource1_amd64.deb
                              needrestart is being skipped since dpkg has failed
                              E: Sub-process /usr/bin/dpkg returned an error code (1)
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • OliverIO
                                OliverIO @Krisiun last edited by

                                @krisiun

                                zu wsl unter windows würde gern auf die faq von microsoft hinweisen.
                                du kannst da gern experimentieren, allerdings ist wsl eigentlich nur zu linux-entwicklung unter windows gedacht und nicht um da einen server dauerhaft laufen zu lassen.

                                https://learn.microsoft.com/en-us/windows/wsl/faq#can-i-use-wsl-for-production-scenarios--

                                Krisiun 1 Reply Last reply Reply Quote 0
                                • Krisiun
                                  Krisiun @OliverIO last edited by

                                  @oliverio
                                  OK also es wird nix?

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

                                    @krisiun sagte in iobroker zeschossen:

                                    Leider

                                    ...nicht vollständig.

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

                                      @thomas-braun

                                      krisiun@Marek2:~$ sudo apt purge libnode72
                                      Reading package lists... Done
                                      Building dependency tree... Done
                                      Reading state information... Done
                                      The following package was automatically installed and is no longer required:
                                        libc-ares2
                                      Use 'sudo apt autoremove' to remove it.
                                      The following additional packages will be installed:
                                        nodejs
                                      The following packages will be REMOVED:
                                        libnode72*
                                      The following packages will be upgraded:
                                        nodejs
                                      1 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
                                      Need to get 0 B/29.5 MB of archives.
                                      After this operation, 147 MB of additional disk space will be used.
                                      Do you want to continue? [Y/n] y
                                      (Reading database ... 47321 files and directories currently installed.)
                                      Preparing to unpack .../nodejs_18.18.0-1nodesource1_amd64.deb ...
                                      Unpacking nodejs (18.18.0-1nodesource1) over (12.22.9~dfsg-1ubuntu3) ...
                                      dpkg: error processing archive /var/cache/apt/archives/nodejs_18.18.0-1nodesource1_amd64.deb (--unpack):
                                       trying to overwrite '/usr/share/systemtap/tapset/node.stp', which is also in package libnode72:amd64 12.22.9~dfsg-1ubuntu3
                                      Errors were encountered while processing:
                                       /var/cache/apt/archives/nodejs_18.18.0-1nodesource1_amd64.deb
                                      needrestart is being skipped since dpkg has failed
                                      E: Sub-process /usr/bin/dpkg returned an error code (1)
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Krisiun last edited by

                                        @krisiun sagte in iobroker zeschossen:

                                        libnode72

                                        sudo apt remove libnode72
                                        
                                        Krisiun 1 Reply Last reply Reply Quote 0
                                        • OliverIO
                                          OliverIO @Krisiun last edited by

                                          @krisiun
                                          zum probieren schon,
                                          aber wenn ich sehe, das der thread hier schon 124 beiträge lang ist, dann hapert es ein wenig an den skills und dann ist es nochmal schwerer das in so einem szenario zum laufen zu bringen.

                                          daher, kauf dir lieber eine raspi.
                                          die sind nicht so teuer.
                                          denk dran, die anzahl der adapter gehen direkt auf den hauptspeicher.
                                          wenn du dir einen mit 1MB ram holst, dann ist das nur für ein paar Adapter sinnvoll. wenn du vor hast, mehrere Sorten von Geräte anzubinden, dann hol dir einen mit 4MB, da bist du erst einmal save
                                          und kannst dich langsam in das thema linux einlesen.
                                          ein rapsi schluckt auch nicht soviel strom (<10W) wie ein ganzer PC der dauerhalft läuft (womöglich noch mit einer eigenen Grafikkarte)
                                          da kommen dann eher 100W und höher auf.
                                          10w24h=240W, bei 30 cent/1Kw, dann ca 7cent pro Tag
                                          100w
                                          24=2400W, bei 30 cent/1Kw, dann ca 70cent pro Tag und höher.
                                          Fürs Jahr kannst dir das ja selber ausrechnen.

                                          Krisiun Great SUN 2 Replies Last reply Reply Quote 0
                                          • Krisiun
                                            Krisiun @Thomas Braun last edited by

                                            @thomas-braun

                                            krisiun@Marek2:~$ sudo apt remove libnode72
                                            Reading package lists... Done
                                            Building dependency tree... Done
                                            Reading state information... Done
                                            The following package was automatically installed and is no longer required:
                                              libc-ares2
                                            Use 'sudo apt autoremove' to remove it.
                                            The following additional packages will be installed:
                                              nodejs
                                            The following packages will be REMOVED:
                                              libnode72
                                            The following packages will be upgraded:
                                              nodejs
                                            1 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
                                            Need to get 0 B/29.5 MB of archives.
                                            After this operation, 147 MB of additional disk space will be used.
                                            Do you want to continue? [Y/n] y
                                            (Reading database ... 47321 files and directories currently installed.)
                                            Preparing to unpack .../nodejs_18.18.0-1nodesource1_amd64.deb ...
                                            Unpacking nodejs (18.18.0-1nodesource1) over (12.22.9~dfsg-1ubuntu3) ...
                                            dpkg: error processing archive /var/cache/apt/archives/nodejs_18.18.0-1nodesource1_amd64.deb (--unpack):
                                             trying to overwrite '/usr/share/systemtap/tapset/node.stp', which is also in package libnode72:amd64 12.22.9~dfsg-1ubuntu3
                                            Errors were encountered while processing:
                                             /var/cache/apt/archives/nodejs_18.18.0-1nodesource1_amd64.deb
                                            needrestart is being skipped since dpkg has failed
                                            E: Sub-process /usr/bin/dpkg returned an error code (1)
                                            
                                            Thomas Braun 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

                                            933
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            9
                                            175
                                            16595
                                            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