Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Upgrade von Debian 10 'Buster' auf 11 'Bullseye'

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Upgrade von Debian 10 'Buster' auf 11 'Bullseye'

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

      Hallo,
      ich habe ein Problem mit dem Upgrade auf bullseye.
      Nachdem ich die source-Listen angepasst habe, wird mir angezeigt, dass alle Pakete aktuell wären. Das Update auf bullseye wird nicht durchgeführt.

      Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
      Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
      Hit:3 https://deb.nodesource.com/node_16.x bullseye InRelease
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      All packages are up to date.
      

      Aufällig ist meine ursprüngliche source-Liste:

      Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
      Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
      Hit:3 http://archive.raspberrypi.org/debian buster InRelease
      Hit:4 https://deb.nodesource.com/node_16.x buster InRelease
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      All packages are up to date.
      

      Ein Eintrag zeigt bereits auf die bullseye Pakete. Den Grund kenne ich nicht. Was kann ich tun?

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

        @supernils

        Stell die Quellen um:

        sudo sed -i 's/bullseye\/updates/bullseye-security/g' /etc/apt/sources.list
        sudo sed -i 's/buster/bullseye/g' /etc/apt/sources.list
        sudo sed -i 's/buster/bullseye/g' /etc/apt/sources.list.d/*
        

        Dann

        sudo apt update
        
        S 1 Reply Last reply Reply Quote 0
        • S
          Supernils @Thomas Braun last edited by

          @thomas-braun said in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':

          @supernils

          Stell die Quellen um:

          sudo sed -i 's/bullseye\/updates/bullseye-security/g' /etc/apt/sources.list
          sudo sed -i 's/buster/bullseye/g' /etc/apt/sources.list
          sudo sed -i 's/buster/bullseye/g' /etc/apt/sources.list.d/*
          

          Dann

          sudo apt update
          
          Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
          Get:2 https://deb.nodesource.com/node_16.x bullseye InRelease [4,586 B]
          Get:3 http://archive.raspberrypi.org/debian bullseye InRelease [23.6 kB]
          Get:4 http://raspbian.raspberrypi.org/raspbian bullseye/contrib armhf Packages [60.2 kB]
          Get:5 http://raspbian.raspberrypi.org/raspbian bullseye/non-free armhf Packages [106 kB]
          Get:6 http://raspbian.raspberrypi.org/raspbian bullseye/rpi armhf Packages [1,360 B]
          Get:7 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [307 kB]
          Get:8 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages [783 B]
          Fetched 504 kB in 6s (80.2 kB/s)
          Reading package lists... Done
          Building dependency tree
          Reading state information... Done
          All packages are up to date.
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Supernils last edited by

            @supernils

            cat /etc/debian_version
            
            S 1 Reply Last reply Reply Quote 0
            • S
              Supernils @Thomas Braun last edited by

              @thomas-braun said in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':

              @supernils

              cat /etc/debian_version
              

              10.13

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

                @supernils

                Das kann doch gar nicht sein.
                Bitte vollständige Ein- wie Ausgabezeilen posten. Inkl. login prompt.

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

                  @thomas-braun said in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':

                  @supernils

                  Das kann doch gar nicht sein.
                  Bitte vollständige Ein- wie Ausgabezeilen posten. Inkl. login prompt.

                  Linux raspberrypi4-iobroker 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
                  
                  The programs included with the Debian GNU/Linux system are free software;
                  the exact distribution terms for each program are described in the
                  individual files in /usr/share/doc/*/copyright.
                  
                  Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                  permitted by applicable law.
                  Last login: Wed Oct 26 12:17:39 2022 from 192.168.192.2
                  pi@raspberrypi4-iobroker:~ $ sudo apt update
                  Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
                  Hit:2 https://deb.nodesource.com/node_16.x bullseye InRelease
                  Hit:3 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                  Reading package lists... Done
                  Building dependency tree
                  Reading state information... Done
                  All packages are up to date.
                  W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/pivpn-bullseye.list:1
                  W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/pivpn-bullseye.list:1
                  W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/pivpn-bullseye.list:1
                  W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/pivpn-bullseye.list:1
                  W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/pivpn-bullseye.list:1
                  W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/pivpn-bullseye.list:1
                  W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/pivpn-bullseye.list:1
                  W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/pivpn-bullseye.list:1
                  pi@raspberrypi4-iobroker:~ $ cat /etc/debian_version
                  10.13
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Supernils last edited by

                    @supernils sagte in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':

                    W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/pivpn-bullseye.list:1

                    Die Doubletten müssen aus den Dateien raus.
                    Es darf pro Repo nur einen Eintrag im gesamten /etc/apt/* geben.

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

                      @thomas-braun said in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':

                      @supernils sagte in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':

                      W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/pivpn-bullseye.list:1

                      Die Doubletten müssen aus den Dateien raus.
                      Es darf pro Repo nur einen Eintrag im gesamten /etc/apt/* geben.

                      Das hatte ich bereits gefixt. Hat aber nicht gebracht...
                      Ich versuche es nochmal. Ich kommentiere den Eintrag

                      deb http://raspbian.raspberrypi.org/raspbian/ bullseye main
                      

                      in pivpn-bullseye.list

                      Ergebnis:

                      Linux raspberrypi4-iobroker 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
                      
                      The programs included with the Debian GNU/Linux system are free software;
                      the exact distribution terms for each program are described in the
                      individual files in /usr/share/doc/*/copyright.
                      
                      Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                      permitted by applicable law.
                      Last login: Wed Oct 26 12:49:28 2022 from 192.168.192.2
                      pi@raspberrypi4-iobroker:~ $ sudo apt update
                      Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                      Hit:2 https://deb.nodesource.com/node_16.x bullseye InRelease
                      Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease
                      Reading package lists... Done
                      Building dependency tree
                      Reading state information... Done
                      All packages are up to date.
                      pi@raspberrypi4-iobroker:~ $
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 1
                      • Thomas Braun
                        Thomas Braun Most Active @Supernils last edited by Thomas Braun

                        @supernils

                        cat /etc/apt/sources.list
                        cat /etc/apt/sources.list.d/*
                        apt policy base-files
                        
                        S 1 Reply Last reply Reply Quote 0
                        • S
                          Supernils @Thomas Braun last edited by

                          @thomas-braun said in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':

                          @supernils

                          cat /etc/apt/sources.list
                          cat /etc/apt/sources.list.d/*
                          apt policy base-files
                          
                          pi@raspberrypi4-iobroker:~ $ cat /etc/apt/sources.list
                          deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
                          # Uncomment line below then 'apt-get update' to enable 'apt-get source'
                          #deb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-fre                                                                                                                                                             e rpi
                          pi@raspberrypi4-iobroker:~ $ cat /etc/apt/sources.list.d/*
                          deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/no                                                                                                                                                             de_16.x bullseye main
                          deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.co                                                                                                                                                             m/node_16.x bullseye main
                          #deb http://raspbian.raspberrypi.org/raspbian/ bullseye main
                          deb http://archive.raspberrypi.org/debian/ bullseye main
                          # Uncomment line below then 'apt-get update' to enable 'apt-get source'
                          #deb-src http://archive.raspberrypi.org/debian/ bullseye main
                          ### Disabled by raspberrypi-sys-mods ###
                          pi@raspberrypi4-iobroker:~ $ apt policy base-files
                          base-files:
                            Installed: 10.3+rpi1+deb10u13
                            Candidate: 10.3+rpi1+deb10u13
                            Version table:
                               11.1+rpi1+deb11u5 -1
                                   -1 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Package                                                                                                                                                             s
                           *** 10.3+rpi1+deb10u13 100
                                  100 /var/lib/dpkg/status
                          pi@raspberrypi4-iobroker:~ $
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Supernils last edited by Thomas Braun

                            @supernils sagte in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':

                            Da hast du aber mal mit dem Pinning/der Priority herumgespielt. Mit -1 gegen 100 kommt da natürlich nie was an bzw. wird nie aus dem bullseye Repo was installiert werden.

                            Ich müsste aber jetzt auch buddeln, wo am das so einstellt. Es sollte in

                            ls -lA /etc/apt/preferences.d/
                            

                            eine Definitionsdatei geben, wenn es richtig gemacht wurde.

                            S 1 Reply Last reply Reply Quote 1
                            • S
                              Supernils @Thomas Braun last edited by Supernils

                              @thomas-braun said in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':

                              @supernils sagte in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':

                              Da hast du aber mal mit dem Pinning/der Priority herumgespielt. Mit -1 gegen 100 kommt da natürlich nie was an bzw. wird nie aus dem bullseye Repo was installiert werden.

                              Ich müsste aber jetzt auch buddeln, wo am das so einstellt. Es sollte in

                              ls -lA /etc/apt/preferences.d/
                              

                              eine Definitionsdatei geben, wenn es richtig gemacht wurde.

                              Ja dort liegt eine pivpn-limit-bullseye

                              Package: *
                              Pin: release n=bullseye
                              Pin-Priority: -1
                              
                              Package: wireguard wireguard-dkms wireguard-tools
                              Pin: release n=bullseye
                              Pin-Priority: 100
                              
                              

                              Nach dem Löschen der Datei funktioniert das Update. Da wäre ich nie drauf gekommen. Vielen Dank.

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

                                @supernils

                                Das ist die Gefahr, wenn man da ThirdParty-Repos anlegt. Die können dir den Paketmanager komplett aus dem Ruder laufen lassen.

                                Was ist denn pivpn-bullseye.list für Zeuch?

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

                                  @thomas-braun said in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':

                                  @supernils

                                  Das ist die Gefahr, wenn man da ThirdParty-Repos anlegt. Die können dir den Paketmanager komplett aus dem Ruder laufen lassen.

                                  Was ist denn pivpn-bullseye.list für Zeuch?

                                  Das ist wireguard

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

                                    @supernils

                                    Die Quelle würde ich komplett stilllegen.
                                    wireguard kommt auch über die regulären debian-Repos rein.

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

                                      @thomas-braun said in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':

                                      @supernils

                                      Die Quelle würde ich komplett stilllegen.
                                      wireguard kommt auch über die regulären debian-Repos rein.

                                      Aber erst nach dem Upgrade auf bullseye stilllegen, richtig? Was würde auf buster passieren?

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

                                        @supernils sagte in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':

                                        Was würde auf buster passieren?

                                        Nichts.

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

                                          @thomas-braun said in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':

                                          @supernils sagte in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':

                                          Was würde auf buster passieren?

                                          Nichts.

                                          Sicher? Dann würde doch buster als Quelle verwendet werden. Unterscheiden sich die Pakete nicht?

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

                                            @supernils Du hast doch jetzt alle Quellen auf bullseye gesetzt? Dann greift der Paketmanager auch auf diese Quellen zurück.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.0k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            43
                                            309
                                            57413
                                            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