Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. keine Updates bei IOB mehr möglich

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    keine Updates bei IOB mehr möglich

    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      ralle last edited by

      Hallo,

      Ich hab mir irgend etwas wohl zerschossen. Ich kann keine Updates mehr durchfühern und benötige eure Hilfe.......

      pi@raspberrypi:~ $ sudo apt update
      Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
      Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
      Get:3 https://deb.nodesource.com/node_16.x bullseye InRelease [4586 B]
      Fetched 4586 B in 1s (6198 B/s)
      Reading package lists... Error!
      E: Unable to parse package file /var/lib/apt/lists/raspbian.raspberrypi.org_raspbian_dists_bullseye_main_binary-armhf_Packages (1)
      W: You may want to run apt-get update to correct these problems
      E: The package cache file is corrupted
      

      Wenn ich dann ein Update starte bleibt dieses mitten drin hähngen.

      Was kann / muss ich tun??

      vielen Dank für euere Hilfe

      arteck 1 Reply Last reply Reply Quote 0
      • arteck
        arteck Developer Most Active @ralle last edited by arteck

        @ralle

        apt  clean
        

        auserdem

        @ralle sagte in keine Updates bei IOB mehr möglich:

        https://deb.nodesource.com/node_16.x bullseye InRelease [4586 B]

        node 16 ist alt..

        R 1 Reply Last reply Reply Quote 0
        • R
          ralle @arteck last edited by

          @arteck
          vielen Dank.....
          Ich hab leider so gut wie keine Ahnung.... was mache ich mit apt clean, wenn ich das in putty eingebe erscheint:

          pi@raspberrypi:~ $ apt clean
          E: Could not open lock file /var/cache/apt/archives/lock - open (13: Permission denied)
          E: Unable to lock directory /var/cache/apt/archives/
          E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
          E: Unable to lock directory /var/lib/apt/lists/
          W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
          W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
          

          und wenn ich Node aktualisieren will und den ersten Befehl eingebe erscheint:

          pi@raspberrypi:~ $ sudo apt-get update && sudo apt-get install -y ca-certificates curl gnupg
          Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
          Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
          Get:3 https://deb.nodesource.com/node_16.x bullseye InRelease [4586 B]
          Fetched 4586 B in 1s (6317 B/s)
          Reading package lists... Error!
          E: Unable to parse package file /var/lib/apt/lists/raspbian.raspberrypi.org_raspbian_dists_bullseye_main_binary-armhf_Packages (1)
          W: You may want to run apt-get update to correct these problems
          E: The package cache file is corrupted
          

          und wenn ich wie beschrieben "sudo apt-get update"eingebe , passiert dies:

          pi@raspberrypi:~ $ sudo apt update
          Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
          Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
          Get:3 https://deb.nodesource.com/node_16.x bullseye InRelease [4586 B]
          Fetched 4586 B in 1s (6322 B/s)
          Reading package lists... Error!
          E: Unable to parse package file /var/lib/apt/lists/raspbian.raspberrypi.org_raspbian_dists_bullseye_main_binary-armhf_Packages (1)
          W: You may want to run apt-get update to correct these problems
          E: The package cache file is corrupted
          

          hilfeeeeee, was kann ich tun

          Meister Mopper 1 Reply Last reply Reply Quote 0
          • Meister Mopper
            Meister Mopper @ralle last edited by Meister Mopper

            @ralle sagte in keine Updates bei IOB mehr möglich:

            Ich hab leider so gut wie keine Ahnung.... was mache ich mit apt clean, wenn ich das in putty eingebe erscheint:

            Gib mal sudo apt clean ein und kopier das Ergebnis mit der </> Option hier rein.

            b237a200-c419-4332-b6dc-e24a2002dd91-grafik.png

            R 1 Reply Last reply Reply Quote 0
            • R
              ralle @Meister Mopper last edited by

              @meister-mopper
              hi, merkwürdig.... hab den Pi neu gestartet (Strom aus / an)
              nun gebe ich "sudo apt clean" ein , dauert ein paar sekunden und es erscheint nur die Eingabeaufforderung!

              ist das so korrekt jetzt ?

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

                @ralle sagte in keine Updates bei IOB mehr möglich:

                hab den Pi neu gestartet (Strom aus / an)

                das ist kein Neustart, das ist Mord!

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

                  @homoran

                  oh, shit. IOB war aber gestoppt (wenigstens etwas)

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

                    @ralle

                    Oh man... Computer-Exekutionskommando unterwegs...

                    sudo apt update
                    sudo apt full-upgrade
                    

                    sagt nach der Aktion nun?

                    R 1 Reply Last reply Reply Quote 0
                    • DJMarc75
                      DJMarc75 @ralle last edited by

                      @ralle sagte in keine Updates bei IOB mehr möglich:

                      IOB war aber gestoppt (wenigstens etwas)

                      nuja, das ist ungefähr so wie wenn Du das Lenkrad in Deinem Auto bei Tempo 100 in einer engen Kurve loslässt 😉

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

                        @djmarc75 sagte in keine Updates bei IOB mehr möglich:

                        @ralle sagte in keine Updates bei IOB mehr möglich:

                        IOB war aber gestoppt (wenigstens etwas)

                        nuja, das ist ungefähr so wie wenn Du das Lenkrad in Deinem Auto bei Tempo 100 in einer engen Kurve loslässt 😉

                        ...und gottseidank die Kupplung durchgetreten hast

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

                          @thomas-braun

                          nach sudo apt update kommt dies:

                          pi@raspberrypi:~ $ sudo apt update
                          Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                          Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
                          Get:3 https://deb.nodesource.com/node_16.x bullseye InRelease [4586 B]
                          Fetched 4586 B in 1s (4154 B/s)
                          Reading package lists... Error!
                          E: Unable to parse package file /var/lib/apt/lists/raspbian.raspberrypi.org_raspbian_dists_bullseye_main_binary-armhf_Packages (1)
                          W: You may want to run apt-get update to correct these problems
                          E: The package cache file is corrupted
                          
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @ralle last edited by

                            @ralle
                            Was steht denn in der Datei drin?

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

                              @thomas-braun
                              in welcher Datei?, hatte nur den Befehl eingeben!?!?

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

                                @ralle
                                Na in
                                /var/lib/apt/lists/raspbian.raspberrypi.org_raspbian_dists_bullseye_main_binary-armhf_Packages

                                1 Reply Last reply Reply Quote 0
                                • R
                                  ralle last edited by

                                  Ich werde mir wohl im Vorfeld schon irgend was zerschossen haben, vermutlich in dem Ordner

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

                                    @ralle

                                    Mit Elektro-Exekutionen geht das ganz prima...

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

                                      @thomas-braun said in keine Updates bei IOB mehr möglich:

                                      @ralle

                                      Mit Elektro-Exekutionen geht das ganz prima...

                                      ja, mit Sicherheit. muss mich erst mal damit beschäftigen wie ich in den Ordner komme, wie gesagt kenn mich gar nicht mit Linux aus. wenn ich es nicht hinbekomme muss ich versuchen alles neu aufsetzten.

                                      nicht jeder kann alles, man kann sich aber in so manches reinfuchsen. Dafür mache ich so manch einem in Elektro was vor........

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

                                        @ralle

                                        ls -lah /var/lib/apt/lists/
                                        

                                        €dit: Falsches Kommando.

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

                                          @thomas-braun
                                          Danke....

                                          hilft dir das

                                          pi@raspberrypi:~ $ ls -lah cat /var/lib/apt/lists/
                                          ls: cannot access 'cat': No such file or directory
                                          /var/lib/apt/lists/:
                                          total 68M
                                          drwxr-xr-x 4 root root 4.0K Nov  6 18:05 .
                                          drwxr-xr-x 5 root root 4.0K Oct 28 17:47 ..
                                          -rw-r--r-- 1 root root  24K Nov  6 13:30 archive.raspberrypi.org_debian_dists_bullseye_InRelease
                                          -rw-r--r-- 1 root root 1.2M Nov  6 13:30 archive.raspberrypi.org_debian_dists_bullseye_main_binary-armhf_Packages
                                          drwxr-xr-x 2 _apt root 4.0K Sep 22  2022 auxfiles
                                          -rw-r--r-- 1 root root 4.5K Aug  9 21:24 deb.nodesource.com_node%5f16.x_dists_bullseye_InRelease
                                          -rw-r--r-- 1 root root 1.3K Aug  9 21:24 deb.nodesource.com_node%5f16.x_dists_bullseye_main_binary-armhf_Packages
                                          -rw-r----- 1 root root    0 Sep 22  2022 lock
                                          drwx------ 2 _apt root 4.0K Nov  6 18:26 partial
                                          -rw-r--r-- 1 root root  15K Nov  6 17:27 raspbian.raspberrypi.org_raspbian_dists_bullseye_InRelease
                                          -rw-r--r-- 1 root root 237K Apr 29  2023 raspbian.raspberrypi.org_raspbian_dists_bullseye_contrib_binary-armhf_Packages
                                          -rw-r--r-- 1 root root  66M Nov  5 23:27 raspbian.raspberrypi.org_raspbian_dists_bullseye_main_binary-armhf_Packages
                                          -rw-r--r-- 1 root root 519K Oct  9 01:40 raspbian.raspberrypi.org_raspbian_dists_bullseye_non-free_binary-armhf_Packages
                                          -rw-r--r-- 1 root root 2.7K Jul  8  2019 raspbian.raspberrypi.org_raspbian_dists_bullseye_rpi_binary-armhf_Packages
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @ralle last edited by

                                            @ralle

                                            sudo rm  /var/lib/apt/lists/raspbian.raspberrypi.org_raspbian_dists_bullseye_main_binary-armhf_*
                                            sudo apt update
                                            sudo apt full-upgrade
                                            
                                            R 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            835
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            50
                                            1981
                                            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