NEWS
Upgrade von Debian 10 'Buster' auf 11 'Bullseye'
-
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 -
@thomas-braun said in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':
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 updateHit: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. -
cat /etc/debian_version -
@thomas-braun said in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':
cat /etc/debian_version10.13
-
Das kann doch gar nicht sein.
Bitte vollständige Ein- wie Ausgabezeilen posten. Inkl. login prompt. -
@thomas-braun said in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':
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 -
@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. -
@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 Eintragdeb http://raspbian.raspberrypi.org/raspbian/ bullseye mainin 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:~ $ -
cat /etc/apt/sources.list cat /etc/apt/sources.list.d/* apt policy base-files -
@thomas-braun said in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':
cat /etc/apt/sources.list cat /etc/apt/sources.list.d/* apt policy base-filespi@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:~ $ -
@supernils sagte in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':
Da hast du aber mal mit dem Pinning/der Priority herumgespielt. Mit
-1gegen100kommt 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.
-
@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
-1gegen100kommt 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: 100Nach dem Löschen der Datei funktioniert das Update. Da wäre ich nie drauf gekommen. Vielen Dank.
-
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?
-
@thomas-braun said in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':
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
-
Die Quelle würde ich komplett stilllegen.
wireguard kommt auch über die regulären debian-Repos rein. -
@thomas-braun said in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':
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?
-
@supernils sagte in Upgrade von Debian 10 'Buster' auf 11 'Bullseye':
Was würde auf buster passieren?
Nichts.
-
@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?
-
@supernils Du hast doch jetzt alle Quellen auf bullseye gesetzt? Dann greift der Paketmanager auch auf diese Quellen zurück.
-