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 11/Bullseye auf 12/Bookworm

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Upgrade von Debian 11/Bullseye auf 12/Bookworm

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

      Hi,

      habe vor einiger Zeit nach der Anleitung meine PI's 3B von Bullseye auf Bookworm gebracht.

      Heute dann mal ein update & upgrade machen wollen und bekomme das:

      sudo apt update
      Hit:1 http://archive.raspberrypi.org/debian bookworm InRelease
      Hit:2 http://deb.debian.org/debian bookworm InRelease
      Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
      Hit:4 http://security.debian.org/debian-security bookworm-security InRelease
      Hit:5 https://deb.nodesource.com/node_16.x bookworm InRelease
      Hit:6 https://deb.nodesource.com/node_18.x bookworm 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.
      pi@pi-iobroker:~ $ sudo apt upgrade
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      Calculating upgrade... Done
      The following packages have been kept back:
        libcamera-apps-lite
      0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
      2 not fully installed or removed.
      After this operation, 0 B of additional disk space will be used.
      Do you want to continue? [Y/n] y
      Setting up raspi-firmware (1:1.20231024+ds-1+rpt2) ...
      stat: cannot read file system information for '/boot/firmware': No such file or directory
      Error: missing /boot/firmware, did you forget to mount it?
      dpkg: error processing package raspi-firmware (--configure):
       installed raspi-firmware package post-installation script subprocess returned error exit status 1
      dpkg: dependency problems prevent configuration of rpi-eeprom:
       rpi-eeprom depends on raspi-firmware; however:
        Package raspi-firmware is not configured yet.
      
      dpkg: error processing package rpi-eeprom (--configure):
       dependency problems - leaving unconfigured
      Processing triggers for initramfs-tools (0.142) ...
      Errors were encountered while processing:
       raspi-firmware
       rpi-eeprom
      E: Sub-process /usr/bin/dpkg returned an error code (1)
      
      

      Hatte das sonst noch jemand?

      Habe mit Google diverse Lösungsansätze gefunden aber will jetzt nicht alle probieren.

      Wenn also jemand eine Lösung hat die dauerhaft ohne neu installation funktioniert wäre ich dankbar.

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

        @wendy2702 sagte in Upgrade von Debian 11/Bullseye auf 12/Bookworm:

        Hatte das sonst noch jemand?

        Ja, @mickym hatte das kürzlich. Das liegt daran, das Raspberry OS hier bei deren Geschmacksrichtung vom 'Bookworm' einiges umgestellt haben.
        Und weil das nicht so ganz trivial ist geht die Empfehlung diesmal noch mehr als sonst schon dahin, den ganzen Sums frisch von Grund auf neuaufzusetzen.

        Hier der Fred dazu:

        https://forum.iobroker.net/topic/70165/raspi-firmware-update-nach-bookworm-update-gelöst

        1 Reply Last reply Reply Quote 0
        • un99known99
          un99known99 @wendy2702 last edited by un99known99

          @wendy2702
          habe mit einem bei rasperrypi kommuniziert und mein Googleergebnis gegenprüfen lassen, ist wohl ok und bei mir hats geklappt:

          Unmount your /boot directory with:
          umount /boot

          Make sure your /boot mount point is unmounted with the above command, "umount /boot" by doing:
          lsblk

          mkdir /boot/firmware

          /etc/fstab
          /boot => /boot/firmware

          systemctl daemon-reload

          mount -a

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

            @un99known99

            Da kommt allerdings auch noch das neue Kernel-Paket dazu. Siehe obigen Thread.

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

              @thomas-braun

              ich kann nur sagen das danach bei mir alles geklappt hat:

              raspi-firmware
              rpi-eeprom

              ließen sich problemlos installieren und seitdem keine weiteren Probleme

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

                @un99known99

                Ja, aber das ist nicht die einzige Stelle, an der Raspberry OS 12 'Bookworm' Änderungen erfahren hat.

                1 Reply Last reply Reply Quote 0
                • wendy2702
                  wendy2702 last edited by

                  Hi,

                  habe jetzt auch erstmal die hier und verlinkte Anleitung abgearbeitet.

                  Aktuell läuft alles.

                  Danke!

                  1 Reply Last reply Reply Quote 0
                  • D
                    Diamand2k22 last edited by

                    @wendy2702 said in Upgrade von Debian 11/Bullseye auf 12/Bookworm:

                    Hi,

                    habe vor einiger Zeit nach der Anleitung meine PI's 3B von Bullseye auf Bookworm gebracht.

                    Heute dann mal ein update & upgrade machen wollen und bekomme das:

                    sudo apt update
                    Hit:1 http://archive.raspberrypi.org/debian bookworm InRelease
                    Hit:2 http://deb.debian.org/debian bookworm InRelease
                    Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
                    Hit:4 http://security.debian.org/debian-security bookworm-security InRelease
                    Hit:5 https://deb.nodesource.com/node_16.x bookworm InRelease
                    Hit:6 https://deb.nodesource.com/node_18.x bookworm 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.
                    pi@pi-iobroker:~ $ sudo apt upgrade
                    Reading package lists... Done
                    Building dependency tree... Done
                    Reading state information... Done
                    Calculating upgrade... Done
                    The following packages have been kept back:
                      libcamera-apps-lite
                    0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
                    2 not fully installed or removed.
                    After this operation, 0 B of additional disk space will be used.
                    Do you want to continue? [Y/n] y
                    Setting up raspi-firmware (1:1.20231024+ds-1+rpt2) ...
                    stat: cannot read file system information for '/boot/firmware': No such file or directory
                    Error: missing /boot/firmware, did you forget to mount it?
                    dpkg: error processing package raspi-firmware (--configure):
                     installed raspi-firmware package post-installation script subprocess returned error exit status 1
                    dpkg: dependency problems prevent configuration of rpi-eeprom:
                     rpi-eeprom depends on raspi-firmware; however:
                      Package raspi-firmware is not configured yet.
                    
                    dpkg: error processing package rpi-eeprom (--configure):
                     dependency problems - leaving unconfigured
                    Processing triggers for initramfs-tools (0.142) ...
                    Errors were encountered while processing:
                     raspi-firmware
                     rpi-eeprom
                    E: Sub-process /usr/bin/dpkg returned an error code (1)
                    
                    

                    Hatte das sonst noch jemand?

                    Habe mit Google diverse Lösungsansätze gefunden aber will jetzt nicht alle probieren.

                    Wenn also jemand eine Lösung hat die dauerhaft ohne neu installation funktioniert wäre ich dankbar.

                    kommt der Fehler nur bei Raspberry Model < 4?
                    Bei meinem Raspberry 4B kam der Fehler mit der Firmware nicht!

                    a4cef613-df36-4b0b-ab27-d47b027cb7e6-image.png

                    W 1 Reply Last reply Reply Quote 0
                    • W
                      Wildbill @Diamand2k22 last edited by

                      @diamand2k22 Bei meinem 3B mit Deconz und PiVVCU auch nicht. Ich vermute, das betrifft eher die 5er Generation?!

                      Gruss, Jürgen

                      un99known99 1 Reply Last reply Reply Quote 0
                      • S
                        Siggi0904 last edited by Siggi0904

                        Nein, das Thema ist die verwendete Distribution.
                        Wie ihr in den Screens seht, wird einmal Debian und einmal Raspberry.org also Raspberry OS verwendet.

                        Bei Raspbian OS hat man wohl sehr viel geändert, sodass ein Upgrade auf das aktuelle Raspbian OS nicht empfohlen wird, sondern eine komplette Neuinstallation.

                        Hebel zum möglich beheben wurden z.B. nier besprochen:
                        https://forum.iobroker.net/topic/70165/raspi-firmware-update-nach-bookworm-update-gelöst/4?_=1700678987748

                        https://forum.iobroker.net/topic/70165/raspi-firmware-update-nach-bookworm-update-gelöst/12?_=1700678987750

                        1 Reply Last reply Reply Quote 0
                        • un99known99
                          un99known99 @Wildbill last edited by

                          @Wildbill

                          Unmount your /boot directory with:
                          umount /boot

                          Make sure your /boot mount point is unmounted with the above command, "umount /boot" by doing:
                          lsblk

                          mkdir /boot/firmware

                          /etc/fstab
                          /boot => /boot/firmware

                          systemctl daemon-reload

                          mount -a

                          W Thomas Braun 2 Replies Last reply Reply Quote 0
                          • W
                            Wildbill @un99known99 last edited by

                            @un99known99 Was willst Du mir damit sagen? Bei mir läuft alles und ich bekomme bei apt update bzw apt upgrade keinerlei Fehler oder Warnungen angezeigt.

                            Gruss, Jürgen

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

                              @un99known99

                              Und die neuen Kernel-Pakete nicht vergessen.

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

                                @thomas-braun

                                was meinst Du damit? Kernel Upgrade kommt via apt update doch mit, oder?

                                raspi-firmware package und rpi-eeprom liessen sich problemlos installieren nach der Umstellung auf /boot/firmware - was / warum muss mit KERNEL gemacht werden?

                                Verzeichnis sieht so aus:

                                drwxr-xr-x 4 root root 4096 Jan 1 1970 firmware
                                drwxr-xr-x 18 root root 4096 Oct 24 13:25 ..
                                lrwxrwxrwx 1 root root 17 Nov 14 13:29 overlays -> firmware/overlays
                                drwxr-xr-x 3 root root 4096 Nov 14 13:29 .

                                62494af0-1c23-4062-9ecb-056811c88080-grafik.png

                                sieht so aus als ob beim apt update/upgrade automatische Anlagen gemacht wurden

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

                                  @un99known99

                                  Das Paket mit dem Kernel heißt aber nun anders, nicht mehr 'raspberrypi-kernel'. Das muss also auch passend zur verwendeten Hardware installiert werden.

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

                                    @thomas-braun

                                    d.h.

                                    sudo apt install linux-image-rpi-v7 linux-headers-rpi-v7 # für 32bit?

                                    Kommen dann KERNEL upgrades via apt-update?

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

                                      @un99known99 sagte in Upgrade von Debian 11/Bullseye auf 12/Bookworm:

                                      Kommen dann KERNEL upgrades via apt-update?

                                      Dann kommen natürlich auch Aktualisierungen wieder über apt. Aber das passende Paket muss zuvor installiert sein.

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

                                        @thomas-braun

                                        pi@jitsi:[/boot] $ sudo apt list | grep -i linux-image-rpi-v8

                                        WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

                                        linux-image-rpi-v8-dbg/stable 1:6.1.58-1+rpt2 arm64
                                        linux-image-rpi-v8/stable 1:6.1.58-1+rpt2 arm64
                                        pi@jitsi:[/boot] $ sudo apt list | grep -i linux-headers-rpi-v8

                                        WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

                                        linux-headers-rpi-v8/stable 1:6.1.58-1+rpt2 arm64

                                        ist schon da?

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

                                          @un99known99 sagte in Upgrade von Debian 11/Bullseye auf 12/Bookworm:

                                          ist schon da?

                                          Dann ist ja gut. Wird der auch geladen?

                                          uname -a
                                          
                                          un99known99 1 Reply Last reply Reply Quote 0
                                          • un99known99
                                            un99known99 @Thomas Braun last edited by

                                            @thomas-braun said in Upgrade von Debian 11/Bullseye auf 12/Bookworm:

                                            uname -a

                                            Linux jitsi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux

                                            Passt das?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            941
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            upgrade bullseye bookworm
                                            51
                                            351
                                            62768
                                            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