NEWS
Upgrade von Debian 10 'Buster' auf 11 'Bullseye'
-
Hey meinst Du ich kann das Upgrade versuchen ? Image Backup ist gemacht für alle Fälle.
node ist irgendwie schon auf bullseye der rest busterpi@pio4gb:~ $ sudo apt update Hit:1 http://deb.debian.org/debian buster InRelease Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Get:3 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB] Hit:4 https://packages.grafana.com/enterprise/deb stable InRelease Hit:5 https://deb.nodesource.com/node_14.x bullseye InRelease Get:6 http://archive.raspberrypi.org/debian buster/main armhf Packages [392 kB] Fetched 439 kB in 2s (273 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date.pi@pio4gb:~ $ apt policy collectd* collectd: Installed: (none) Candidate: 5.8.1-1.3 Version table: 5.8.1-1.3 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages collectd-core: Installed: (none) Candidate: 5.8.1-1.3 Version table: 5.8.1-1.3 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages collectd-utils: Installed: (none) Candidate: 5.8.1-1.3 Version table: 5.8.1-1.3 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages collectd-dbg: Installed: (none) Candidate: 5.8.1-1.3 Version table: 5.8.1-1.3 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages collectd-dev: Installed: (none) Candidate: 5.8.1-1.3 Version table: 5.8.1-1.3 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packagespi@pio4gb:~ $ cat /etc/debian_version 10.13 pi@pio4gb:~ $Joh, ran da.
-
Hab mich am Update versucht.
Nun komme ich nur noch per Tastatur auf den PI.
DHCP und Zeit zicken rum....
Failed to start Journal Service
Dependency failed for Flush Hournal to Persistent Storage
Failed to start network time synchronization
Failed to start Login Service
Failed to start Hostname ServiceManchmal besser ein System was läuft zufrieden zu lassen.
-
Hab mich am Update versucht.
Nun komme ich nur noch per Tastatur auf den PI.
DHCP und Zeit zicken rum....
Failed to start Journal Service
Dependency failed for Flush Hournal to Persistent Storage
Failed to start network time synchronization
Failed to start Login Service
Failed to start Hostname ServiceManchmal besser ein System was läuft zufrieden zu lassen.
@tobi83 Hi, schau mal hier in Beitrag 206, vielleicht hilft dir das weiter.
https://forum.iobroker.net/topic/47213/upgrade-von-debian-10-buster-auf-11-bullseye/206?_=1666794068852 -
Hab mich am Update versucht.
Nun komme ich nur noch per Tastatur auf den PI.
DHCP und Zeit zicken rum....
Failed to start Journal Service
Dependency failed for Flush Hournal to Persistent Storage
Failed to start network time synchronization
Failed to start Login Service
Failed to start Hostname ServiceManchmal besser ein System was läuft zufrieden zu lassen.
@tobi83 sagte in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':
Manchmal besser ein System was läuft zufrieden zu lassen.
Nicht bei abgekündigten Releases. Die müssen angepackt werden.
-
@tobi83 sagte in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':
Manchmal besser ein System was läuft zufrieden zu lassen.
Nicht bei abgekündigten Releases. Die müssen angepackt werden.
Ist nur blöd wenn danach nix mehr funktioniert und der Restore per Adapter auch nicht funktioniert und der Ladekreis ins unendliche dreht.
Und man danach wieder das Image neu auf die SD Karte schreiben muss für den nächsten Versuch...
-
Ist nur blöd wenn danach nix mehr funktioniert und der Restore per Adapter auch nicht funktioniert und der Ladekreis ins unendliche dreht.
Und man danach wieder das Image neu auf die SD Karte schreiben muss für den nächsten Versuch...
@tobi83
Dann hast du es irgendwo falsch gemacht oder das Altsystem war schon krumm.
-
@tobi83
Dann hast du es irgendwo falsch gemacht oder das Altsystem war schon krumm.
@thomas-braun
Zumindest lief es bis gestern -
@thomas-braun
Zumindest lief es bis gestern@tobi83
Das sagtest du bereits.
-
Ich wollte hier mal für Raspberry OS festhalten, wie ich von 'Buster' auf das 'Bullseye'-Release springe.
Gegeben ist ein Pi3 mit 1 GB, der schon etwas länger in einer Schublade lag.
Zunächst den 'Buster' auf den letzten Stand bringen:
pi@raspberrypi:~ $ sudo apt update Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB] E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable' N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details. Do you want to accept these changes and continue updating from this repository? [y/N]Hier wurden die Repos schon auf den neuen Status 'oldstable' angepasst. Akzeptieren wir natürlich.
Bei mir wurden 180 Pakete zum Upgrade gemeldet.
sudo apt full-upgradeHat mir das System auf den letzten Stand gehoben, da aber auch ein Kernel- und Firmware-Update dabei war starte ich per
sudo reboot noweinmal durch.
Nach dem der Server wieder auf die Beine gekommen ist sollte es ungefähr so aussehen:
pi@raspberrypi:~ $ sudo apt update Hit:1 http://archive.raspberrypi.org/debian buster InRelease Hit:2 https://repos.influxdata.com/debian buster InRelease Hit:3 https://packages.grafana.com/oss/deb stable InRelease Hit:4 https://deb.nodesource.com/node_14.x buster InRelease Hit:5 http://raspbian.raspberrypi.org/raspbian buster InRelease Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date.Also alle Pakete sind auf dem letzten Stand von 'Buster' und auch die einzelnen Repositories/Paketquellen verweisen auf stable oder buster.
Jetzt stellen wir die Quellen auf das aktuelle Release 'bullseye' um. Das macht man entweder von Hand in allen .list-Dateien im Pfad /etc/apt oder mit diesen drei Befehlszeilen:
sudo sed -i 's/buster\/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/*Wie man sieht wurden jetzt alle Datein auf bullseye umgestellt:
pi@raspberrypi:~ $ sudo apt update Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:3 https://repos.influxdata.com/debian bullseye InRelease Hit:4 https://packages.grafana.com/oss/deb stable InRelease Hit:5 https://deb.nodesource.com/node_14.x bullseye InRelease Reading package lists... Done Building dependency tree Reading state information... Done 1067 packages can be upgraded. Run 'apt list --upgradable' to see them.1067 Pakete müssen nun aktualisiert werden:
sudo apt full-upgradeDas führt unter Umständen zu einer Fehlermeldung, das eine unmögliche Upgrade-Konstellation herbeigeführt würde. Da dann einfach
sudo apt install gcc-8-baseausführen, dann nochmal
sudo apt updateund dann sollte auch ein
sudo apt full-upgradefunktionieren. Nicht davon irritieren lassen, dass ggf. einige Pakete deinstalliert werden, das ist okay.
Die Frage, ob Services automatisch neugestartet werden sollen beantworten wir mit Ja:
│ │ │ Restart services during package upgrades without asking? │ │ │ │ <Yes> <No> │ │ │ └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘Wenn der erste Schwung durch ist schauen wir per
sudo apt update sudo apt full-upgradenach ob noch etwas ansteht. Das machen wir solange bis keine Pakete mehr zum Upgrade vorgesehen sind:
All packages are up to date.Bei Rückfragen, welche Version der Konfigurationsdateien muss mal reinschauen, ob man da ggf. eigene Anpassungen getätigt hat, ansonsten würde ich die neue Version des Maintainers übernehmen.
Vorsichtshalber schauen wir noch in den dhcpd.service rein.
sudo nano /etc/systemd/system/dhcpcd.service.d/wait.confWenn da alt sowas drin steht:
[Service] ExecStart= ExecStart=/usr/lib/dhcpcd5/dhcpcd -q -wändern wir es auf neu:
[Service] ExecStart= ExecStart=/usr/sbin/dhcpcd -q -wab
Nach einem erneuten
sudo reboot nowbefinden wir uns bei Bullseye:
pi@raspberrypi:~ $ neofetch `.::///+:/-. --///+//-:`` pi@raspberrypi `+oooooooooooo: `+oooooooooooo: -------------- /oooo++//ooooo: ooooo+//+ooooo. OS: Raspbian GNU/Linux 11 (bullseye) armv7l `+ooooooo:-:oo- +o+::/ooooooo: Host: Raspberry Pi 3 Model B Plus Rev 1.3 `:oooooooo+`` `.oooooooo+- Kernel: 5.10.52-v7+ `:++ooo/. :+ooo+/.` Uptime: 4 mins ...` `.----.` ``.. Packages: 1487 (dpkg) .::::-``:::::::::.`-:::-` Shell: bash 5.1.4 -:::-` .:::::::-` `-:::- Terminal: /dev/pts/0 `::. `.--.` `` `.---.``.::` CPU: BCM2835 (4) @ 1.400GHz .::::::::` -::::::::` ` Memory: 65MiB / 923MiB .::` .:::::::::- `::::::::::``::. -:::` ::::::::::. ::::::::::.`:::- :::: -::::::::. `-:::::::: :::: -::- .-:::-.``....``.-::-. -::- .. `` .::::::::. `..`.. -:::-` -::::::::::` .:::::` :::::::` -::::::::::` :::::::. .::::::: -::::::::. :::::::: `-:::::` ..--.` ::::::. `...` `...--..` `...` .:::::::::: `.-::::-`Kleine Nachpflege noch:
sudo apt install build-essential@thomas-braun sagte in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':
pi@raspberrypi:~ $ neofetch
mit welchem Befehl bekommst du dies angezeigt?
ok...muss zuerst installiert werden mit
sudo apt install neofetch -
@thomas-braun sagte in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':
pi@raspberrypi:~ $ neofetch
mit welchem Befehl bekommst du dies angezeigt?
ok...muss zuerst installiert werden mit
sudo apt install neofetch@speedyblade sagte in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':
mit welchem Befehl bekommst du dies angezeigt?
? Mit
neofetchist aber nur Spielerei und deswegen nicht vorinstalliert.
-
Hallo,
bei meinem zweiten Versuch hat das Upgrade auf Bullseye 11.7 geklappt.Es gibt aber noch ein Problem
pi@raspberrypi4-iobroker:~ $ ls -l /dev/serial/by-id ls: cannot access '/dev/serial/by-id': No such file or directoryGibt es eine Alternative? Ich verwende das für den Zigbee Stick.
-
Hallo,
bei meinem zweiten Versuch hat das Upgrade auf Bullseye 11.7 geklappt.Es gibt aber noch ein Problem
pi@raspberrypi4-iobroker:~ $ ls -l /dev/serial/by-id ls: cannot access '/dev/serial/by-id': No such file or directoryGibt es eine Alternative? Ich verwende das für den Zigbee Stick.
-
pi@raspberrypi4-iobroker:~ $ sudo apt update Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:3 https://deb.nodesource.com/node_18.x bullseye InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. pi@raspberrypi4-iobroker:~ $ apt policy udev udev: Installed: 247.3-7+rpi1+deb11u2 Candidate: 247.3-7+rpi1+deb11u2 Version table: *** 247.3-7+rpi1+deb11u2 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages 100 /var/lib/dpkg/status -
pi@raspberrypi4-iobroker:~ $ sudo apt update Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:3 https://deb.nodesource.com/node_18.x bullseye InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. pi@raspberrypi4-iobroker:~ $ apt policy udev udev: Installed: 247.3-7+rpi1+deb11u2 Candidate: 247.3-7+rpi1+deb11u2 Version table: *** 247.3-7+rpi1+deb11u2 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages 100 /var/lib/dpkg/statusVollständig lesen, inkl. der Ergänzungen im letzten Absatz.
Der ist besonders wichtig für dein 32bit-RaspberryOS. -
pi@raspberrypi4-iobroker:/etc/apt/sources.list.d $ sudo apt update Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease Hit:2 https://deb.nodesource.com/node_18.x bullseye InRelease Get:3 http://deb.debian.org/debian bullseye-proposed-updates InRelease [58.5 kB] Hit:4 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Err:3 http://deb.debian.org/debian bullseye-proposed-updates InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131 Reading package lists... Done W: GPG error: http://deb.debian.org/debian bullseye-proposed-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131 E: The repository 'http://deb.debian.org/debian bullseye-proposed-updates InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. -
pi@raspberrypi4-iobroker:/etc/apt/sources.list.d $ sudo apt update Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease Hit:2 https://deb.nodesource.com/node_18.x bullseye InRelease Get:3 http://deb.debian.org/debian bullseye-proposed-updates InRelease [58.5 kB] Hit:4 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Err:3 http://deb.debian.org/debian bullseye-proposed-updates InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131 Reading package lists... Done W: GPG error: http://deb.debian.org/debian bullseye-proposed-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131 E: The repository 'http://deb.debian.org/debian bullseye-proposed-updates InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.@supernils sagte in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':
0E98404D386FA1D9
Zieh den key rein. Steht glaube ich auch in dem HowTo drin, wie man das macht.
-
@supernils sagte in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':
0E98404D386FA1D9
Zieh den key rein. Steht glaube ich auch in dem HowTo drin, wie man das macht.
@thomas-braun Ah verstanden. Hier stimmt doch etwas nicht oder? :)
pi@raspberrypi4-iobroker:/etc/apt/sources.list.d $ sudo apt update Hit:1 http://deb.debian.org/debian bullseye-proposed-updates InRelease Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease Hit:3 https://deb.nodesource.com/node_18.x bullseye InRelease Hit:4 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done 39 packages can be upgraded. Run 'apt list --upgradable' to see them. pi@raspberrypi4-iobroker:/etc/apt/sources.list.d $ sudo apt -t bullseye-proposed-updates install udev Reading package lists... Done Building dependency tree... Done Reading state information... Done udev is already the newest version (247.3-7+rpi1+deb11u2). 0 upgraded, 0 newly installed, 0 to remove and 55 not upgraded. -
@thomas-braun Ah verstanden. Hier stimmt doch etwas nicht oder? :)
pi@raspberrypi4-iobroker:/etc/apt/sources.list.d $ sudo apt update Hit:1 http://deb.debian.org/debian bullseye-proposed-updates InRelease Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease Hit:3 https://deb.nodesource.com/node_18.x bullseye InRelease Hit:4 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done 39 packages can be upgraded. Run 'apt list --upgradable' to see them. pi@raspberrypi4-iobroker:/etc/apt/sources.list.d $ sudo apt -t bullseye-proposed-updates install udev Reading package lists... Done Building dependency tree... Done Reading state information... Done udev is already the newest version (247.3-7+rpi1+deb11u2). 0 upgraded, 0 newly installed, 0 to remove and 55 not upgraded.apt policy udevsagt? Der 'Trick' ist, die "niedrigere" Versionsnummer zu installieren:
sudo apt install udev=247.3-7+deb11u4 libudev1=247.3-7+deb11u4Danach die frisch angelegte Quelle wieder löschen.
-
apt policy udevsagt? Der 'Trick' ist, die "niedrigere" Versionsnummer zu installieren:
sudo apt install udev=247.3-7+deb11u4 libudev1=247.3-7+deb11u4Danach die frisch angelegte Quelle wieder löschen.
@thomas-braun said in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':
pi@raspberrypi4-iobroker:/etc/apt/sources.list.d $ apt policy udev udev: Installed: 247.3-7+rpi1+deb11u2 Candidate: 247.3-7+rpi1+deb11u2 Version table: *** 247.3-7+rpi1+deb11u2 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages 100 /var/lib/dpkg/status 247.3-7+deb11u4 500 500 http://deb.debian.org/debian bullseye-proposed-updates/main armhf Packages -
@thomas-braun said in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':
pi@raspberrypi4-iobroker:/etc/apt/sources.list.d $ apt policy udev udev: Installed: 247.3-7+rpi1+deb11u2 Candidate: 247.3-7+rpi1+deb11u2 Version table: *** 247.3-7+rpi1+deb11u2 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages 100 /var/lib/dpkg/status 247.3-7+deb11u4 500 500 http://deb.debian.org/debian bullseye-proposed-updates/main armhf PackagesSiehe vorstehende Antwort.