Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly Schreibrechte Debian

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Blockly Schreibrechte Debian

    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      aleks-83 last edited by

      Wie bereits erwähnt, funktioniert das Copy & Paste noch nicht in meiner Debian VM obwohl ich die Guest Additions installiert habe. Daran arbeite ich als nächstes.

      Die Konsole ist die direkte Eingabe in der Debian VM. Das ist headless und hat keine GUI.

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @aleks-83 last edited by

        @aleks-83

        Ich würde ja mit einem Terminal via ssh auf die Kiste gehen.

        1 Reply Last reply Reply Quote 0
        • A
          aleks-83 last edited by

          Würde ich auch gerne aber das funktioniert ebenfalls nicht.
          Beim login über putty kommt "Access denied"

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @aleks-83 last edited by

            @aleks-83 sagte in Blockly Schreibrechte Debian:

            Beim login über putty kommt "Access denied"

            Wie versuchst du das? Als root evtl.?

            1 Reply Last reply Reply Quote 0
            • A
              aleks-83 last edited by aleks-83

              Nein mit meinem neuen User.
              Aber jetzt geht ssh …

              Allerdings geht der fix für die npm nicht.

              Last login: Mon Jan  8 21:50:54 2024 from 10.0.0.60
              $ echo -e "Package: nodejs\nPin: origin deb.nodesource.com\nPin-Priority: 1001" | sudo tee /etc/apt/preferences.d/nodejs.pref
              [sudo] Passwort für alex: 
              -e Package: nodejs
              Pin: origin deb.nodesource.com
              Pin-Priority: 1001
              $ sudo apt update
              OK:1 http://security.debian.org/debian-security bookworm-security InRelease
              OK:2 http://deb.debian.org/debian bookworm InRelease
              Holen:3 http://deb.debian.org/debian bookworm-updates InRelease [52,1 kB]
              OK:4 https://deb.nodesource.com/node_18.x nodistro InRelease
              Es wurden 52,1 kB in 1 s geholt (42,1 kB/s).
              Paketlisten werden gelesen… Fertig
              E: Ungültiger Eintrag in Einstellungsdatei /etc/apt/preferences.d/nodejs.pref, keine »Package«-Kopfzeile(n)
              $
              
              Thomas Braun 2 Replies Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @aleks-83 last edited by

                @aleks-83 sagte in Blockly Schreibrechte Debian:

                sudo  rm /etc/apt/preferences.d/nodejs.pref
                echo -e "Package: nodejs\nPin: origin deb.nodesource.com\nPin-Priority: 1001" | sudo tee /etc/apt/preferences.d/nodejs.pref
                sudo apt update
                sudo apt install nodejs=18.19.0-1nodesource1
                
                1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @aleks-83 last edited by

                  @aleks-83

                  Falls deine shell mit echo -e nix anfangen kann...
                  Trag mit einem Editor das in die nodejs.pref rein:

                  Package: nodejs
                  Pin: origin deb.nodesource.com
                  Pin-Priority: 1001
                  
                  1 Reply Last reply Reply Quote 0
                  • A
                    aleks-83 last edited by

                    Moin. Das Echo funktioniert, aber beim apt Update kommt die gleiche Fehlermeldung

                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @aleks-83 last edited by

                      @aleks-83

                      Zeig mal den Inhalt der Datei 1:1.

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        aleks-83 @Thomas Braun last edited by

                        @thomas-braun

                        -e Package: nodejs
                        Pin: origin deb.nodesource.com
                        Pin-Priority: 1001
                        

                        d93bccce-ea51-4f8b-92d4-92499692c498-image.png

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @aleks-83 last edited by

                          @aleks-83

                          Das -e ist bei dir zu viel.

                          1 Reply Last reply Reply Quote 1
                          • A
                            aleks-83 last edited by

                            @thomas-braun Läuft! Danke

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

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            817
                            Online

                            31.7k
                            Users

                            79.8k
                            Topics

                            1.3m
                            Posts

                            4
                            33
                            959
                            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