close
close

Raspberry Pi OS: In-Place Upgrade Based on Current Bookworm

Raspberry Pi OS: In-Place Upgrade Based on Current Bookworm

Raspbian or Raspberry-Pi-OS Edition can be seamlessly finalized with a new installation from Betriebssystems, thanks to the Debian Bullseye (Debian 11) basis and longer support with the newer Bookworm-Basis (Debian 12). . We always logged in to the Script and Software or encountered a new problem when we encountered a new problem. Bastellösungen or Schlicht Vergesslichkeit is a very simple and unclear document.

Anzeige


With the best In-Place Upgrade, you can get a better setup and last longer using Raspberry-Pi-Nutzerinnen and Nutzers. Deaths mean nothing, packs provided by Bookworm and more A system related Upgrade version is available. A version upgrade for a function is available on the Internet. Der Artikel Dokumentiert die Befehle und Reihenfolge, die uns erfolgreich zum Ziel führten. Explanatory Remarks: Upgrade Variant is not something that can be used and designed officially!

Daher is a backup backup of a different software platform. Raspi gloves from Dazu fährt man sudo shutdown -h now Planmäßig herunter, Wodurch keine Inconsistenzen etwa in Datenbanken o Dateisystemen auftauchen sollten. Under Windows use the SD card and use the Win32Imager Tool on an IMG file. Using Befehl on Linux sudo dd if=/dev/sd of=~/raspi-backup.imgSD Device with SD Card enabled. My Fehlerfall stayed longer with a new system change and another change.

Special Migration came with Geduld and Wenigen Befehlen and Kommandozeile. Raspberry Pi OS needs to come with the current operating system. The best thing to do is Befehle sudo apt-get update && sudo apt-get dist-upgrade.

There is nothing related to “Bullseye” – “Bookworm” on the package. Edit files manually or edit for more convenient use

sudo sed -i -e 's/bullseye/bookworm/g' /etc/apt/sources.list
sudo sed -i -e 's/bullseye/bookworm/g' /etc/apt/sources.list.d/raspi.list

Das Upgrade, erfolgt with Befehlen

sudo apt update
sudo apt -y full-upgrade
sudo apt -y clean
sudo apt -y autoremove

Entrümpelung erfolgt with sodas and Installation of Upgrades with “&&”. Zwischendurch erfolgen Rückfragen, die von dem Schlater “-y” has not been modified in any way and enables the reconstruction of the configuration data. I did a test regarding a system issue – data about SSH or users was updated with many accounts during the SSH login process. Internet connection was not provided with a new Update.

I tested that I actually had a packet or package containing soda. Alerdings were once considered a bad thing, at least once in a good time. Unserem In the autumn halves, nochmals bei sudo apt update anzufangen. Keine Angst is devoid of the damage and pain that Vorgang inflicted on the German Schneller in any of the current packages.

This is an upgrade that is a fresh start and a new beginning. That’s it sudo reboot a der Kommandozeile.

Nach der Anmeldung nach dem Neustart putzt sudo apt purge ?config-files Change Changes in the System. Die with Befeh

sudo dpkg --purge --force-depends raspberrypi-kernel raspberrypi-bootloader
sudo umount /boot
sudo fsck -y /boot
sudo mkdir /boot/firmware
sudo sed -i.bak -e "s#boot#boot/firmware#" /etc/fstab
sudo systemctl daemon-reload
sudo mount /boot/firmware
sudo apt install raspi-firmware

Use other Firmware on the system, format the new Boot Partition and install the current Firmware. It is gilded only valid for kernel installation. Der ist abhängig, welchen Raspberry Pi man einsetzt. V6-Core comes with v7l-Variant in Raspberry 3b and 64-bit v8-Version in Raspberry Pi 4.

Die sichere Version also:

sudo apt install linux-image-rpi-v6 linux-headers-rpi-v6

Added a new Raspi, added new v7l-Kernel data:

sudo apt install linux-image-rpi-v7l linux-headers-rpi-v7l

64-bit Raspis and optimal kernel usage:

sudo apt install linux-image-rpi-v8 linux-headers-rpi-v8

Don’t create any initial data by initializing and automatically activating the configuration data once again – A new version from the base version of Bookworm Release in 2023:

sudo sed -i.bak '$ a\auto_initramfs=1' /boot/firmware/config.txt

More information Reboot new Kernel:

sudo reboot

That’s why the Raspberry Pi is powered by the Raspberry Pi OS operating system with a new bookworm. Skripte has more functions and Cron-Jobs is easier to use. Unseren Skripten war der Aufruf des Python-Interpreters noch anzupassen. Der Verweis, in the Benennung der Version annotated with the old Skript-Zeile, etc.

#!/usr/bin/env python3

Schlüssel for warehouses, together with the “appropriate” software, also includes other organizations. Ehemals lagen sie alle iner Datei, /etc/apt/trusted.gpg. There is a Repository for: /etc/apt/trusted.gpg.d/. apt wirft daher womöglich Warnmeldungen aus. Diese became part of Testsystem with Griff’s contributions.

Zunächst ensures that Schlüssel for Standard Warehouses is stored and sent to the Schlüsselverwaltung for import:

wget -O - | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/raspbian.gpg --import

wget -O - | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/archive-raspbian.gpg --import

Stay informed about other changes to the program. Der Aufruf von

sudo apt-key list

Enthaltenen Schlüssel zu den Warehouses auf. Alten Schlüssel, die beiden geladenen ve importierten Keys nun ersetzen, löscht der Befehl

sudo apt-key del ""

There are many gems among the raspbian.gpg and archive-raspbian.gpg files. Es verleibt der Key für Bookworm/InRelease in alt Schlüsseldatei. Die verschiebt der Aufruf von

sudo mv /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d/bookworm_InRelease.gpg

An die richtige Stelle ve gibt ihr den korrekten Namen. Schließlich müssen die Rechte und Besitzer für die Schlüsseldateien passend werden. Für die einzelnen Dateien in dem Verzeichnis ve das das

sudo chown _apt:root /etc/apt/trusted.gpg.d/raspbian.gpg
sudo chmod 644 /etc/apt/trusted.gpg.d/raspbian.gpg

Vorgang comes from another Dateien on a gilded night – and there are many Warehouses so there is something very good – zu wiederholen. Anschließend klappen apt-Anweisungen ohne Warnmeldungen auf unserem System.

Many remaining problems, once again to find a loss in Netz, submerge the Backup once again, no matter what, then wait longer.


(DMK)