NEWS
Upgrade von Debian 10 'Buster' auf 11 'Bullseye'
-
@m0uhmusst du es vielleicht noch neu configurieren ?? du hast es installiert musst du doch wissen
@arteck ich hab es unter Buster installiert und konfiguriert. Da lieft auch alles... meine config von collectd liegt immer noch am selben Ort mit den selben Einstellungen, deshalb wüsste ich nicht was ich da neu konfigurieren soll. Ich bin kein Linux Crack deshalb habe ich auf Hilfe hier gehofft. Wenn ich wüsste was falsch ist und wie ich es beheben kann würde ich hier nicht fragen.
EDIT:
apt-get remove --auto-remove collectd-core apt-get purge --auto-remove collectd-core apt-get update apt-get --yes install collectdjetzt läuft es wieder...
-
Nach dem Update von Buster auf Bullseye habe ich folgenden Fehler:
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://phoscon.de/apt/deconz bullseye InRelease Hit:4 https://packages.grafana.com/enterprise/deb stable InRelease Hit:5 https://repos.influxdata.com/debian bullseye InRelease Hit:6 https://apt.hyperion-project.org bullseye InRelease Hit:7 https://www.pivccu.de/piVCCU testing InRelease Hit:8 https://deb.nodesource.com/node_16.x bullseye InRelease Hit:9 https://archive.raspbian.org/raspbian bullseye InRelease Hit:10 https://packagecloud.io/ookla/speedtest-cli/debian bullseye InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. pi@raspberrypi:~ $ sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 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 collectd-core (5.12.0-7+rpi1) ... Job for collectd.service failed because the control process exited with error code. See "systemctl status collectd.service" and "journalctl -xe" for details. invoke-rc.d: initscript collectd, action "restart" failed. ● collectd.service - Statistics collection and monitoring daemon Loaded: loaded (/lib/systemd/system/collectd.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Wed 2022-11-30 08:32:16 CET; 21ms ago Docs: man:collectd(1) man:collectd.conf(5) https://collectd.org Process: 18851 ExecStartPre=/usr/sbin/collectd -t (code=exited, status=0/SUCCESS) Process: 18852 ExecStart=/usr/sbin/collectd (code=exited, status=1/FAILURE) Main PID: 18852 (code=exited, status=1/FAILURE) CPU: 120ms dpkg: error processing package collectd-core (--configure): installed collectd-core package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of collectd: collectd depends on collectd-core (>= 5.12.0-7+rpi1); however: Package collectd-core is not configured yet. collectd depends on collectd-core (<< 5.12.0-7+rpi1.1~); however: Package collectd-core is not configured yet. dpkg: error processing package collectd (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: collectd-core collectd E: Sub-process /usr/bin/dpkg returned an error code (1) pi@raspberrypi:~ $@m0uh sagte in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':
See "systemctl status collectd.service" and "journalctl -xe" for details.
Mal hier rein geschaut?
Du solltest aber ein eigenes Thema öffnen da das dein Spezielles Problem ist und ja nicht mit dem eigentlichen Upgrade zu tun hat.
Edit: Hat sich mit deinem Edit überschitten
-
@arteck ich hab es unter Buster installiert und konfiguriert. Da lieft auch alles... meine config von collectd liegt immer noch am selben Ort mit den selben Einstellungen, deshalb wüsste ich nicht was ich da neu konfigurieren soll. Ich bin kein Linux Crack deshalb habe ich auf Hilfe hier gehofft. Wenn ich wüsste was falsch ist und wie ich es beheben kann würde ich hier nicht fragen.
EDIT:
apt-get remove --auto-remove collectd-core apt-get purge --auto-remove collectd-core apt-get update apt-get --yes install collectdjetzt läuft es wieder...
@m0uh sagte in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':
jetzt läuft es wieder...
apt policy collectd*sagt?
-
@m0uh sagte in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':
jetzt läuft es wieder...
apt policy collectd*sagt?
pi@raspberrypi:~ $ apt policy collectd* collectd: Installed: 5.12.0-7+rpi1 Candidate: 5.12.0-7+rpi1 Version table: *** 5.12.0-7+rpi1 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Package s 500 https://archive.raspbian.org/raspbian bullseye/main armhf Packages 100 /var/lib/dpkg/status collectd-core: Installed: 5.12.0-7+rpi1 Candidate: 5.12.0-7+rpi1 Version table: *** 5.12.0-7+rpi1 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Package s 500 https://archive.raspbian.org/raspbian bullseye/main armhf Packages 100 /var/lib/dpkg/status collectd-utils: Installed: (none) Candidate: 5.12.0-7+rpi1 Version table: 5.12.0-7+rpi1 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Package s 500 https://archive.raspbian.org/raspbian bullseye/main armhf Packages collectd-dev: Installed: (none) Candidate: 5.12.0-7+rpi1 Version table: 5.12.0-7+rpi1 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Package s 500 https://archive.raspbian.org/raspbian bullseye/main armhf Packages -
pi@raspberrypi:~ $ apt policy collectd* collectd: Installed: 5.12.0-7+rpi1 Candidate: 5.12.0-7+rpi1 Version table: *** 5.12.0-7+rpi1 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Package s 500 https://archive.raspbian.org/raspbian bullseye/main armhf Packages 100 /var/lib/dpkg/status collectd-core: Installed: 5.12.0-7+rpi1 Candidate: 5.12.0-7+rpi1 Version table: *** 5.12.0-7+rpi1 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Package s 500 https://archive.raspbian.org/raspbian bullseye/main armhf Packages 100 /var/lib/dpkg/status collectd-utils: Installed: (none) Candidate: 5.12.0-7+rpi1 Version table: 5.12.0-7+rpi1 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Package s 500 https://archive.raspbian.org/raspbian bullseye/main armhf Packages collectd-dev: Installed: (none) Candidate: 5.12.0-7+rpi1 Version table: 5.12.0-7+rpi1 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Package s 500 https://archive.raspbian.org/raspbian bullseye/main armhf PackagesOkay, mich hatte gewundert, dass auf meiner 64bit-Version das Paket ohne rpi1-Patch gebaut wurde.
-
Okay, mich hatte gewundert, dass auf meiner 64bit-Version das Paket ohne rpi1-Patch gebaut wurde.
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:~ $ -
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.