Debian
Resources
Section titled “Resources”Package versions
Section titled “Package versions”Debian 11
Section titled “Debian 11”rclone 1.53.3 python 3.9.2 kernel 5.10.0
“Repository […] changed its Version value from […] to […]”
Section titled ““Repository […] changed its Version value from […] to […]””This means that the major and minor version you are running is no longer current and a newer version is available from the repo. From that point, you should no longer receive further updates from the repository (when running apt-get upgrade) unless you allow the updater to switch to the newer version.
To resolve this issue, just run the following command:
apt-get update --allow-releaseinfo-change
Source: https://www.itechlounge.net/2022/01/linux-inrelease-changed-its-version-value-from-10-1-to-10-2/
Update packages
Section titled “Update packages”sudo apt updatesudo apt upgrade -yUpgrade Debian 10 (buster) to Debian 11 (bullseye)
Section titled “Upgrade Debian 10 (buster) to Debian 11 (bullseye)”- Backup all valuable data!
- Update the Debian 10 (Buster) system
Terminal window apt updateapt upgradeapt full-upgradeapt --purge autoremovereboot - Check the currently installed version:
Terminal window cat /etc/debian_version - Replace Debian 10 with Debian 11 Repositories
In Debian 11 Bullseye the security suite is now named bullseye-security instead of bullseye/updates. So you need to locate the following debian-security lines in the /etc/apt/sources.list file:
Terminal window # Backupmkdir ~/aptcp /etc/apt/sources.list ~/aptcp -r /etc/apt/sources.list.d/ ~/apt# Replacesed -i 's/buster/bullseye/g' /etc/apt/sources.listsed -i 's/buster/bullseye/g' /etc/apt/sources.list.d/*And replace them with these ones:deb http://security.debian.org/debian-security bullseye/updates maindeb-src http://security.debian.org/debian-security bullseye/updates maindeb https://deb.debian.org/debian-security/ bullseye-security maindeb-src https://deb.debian.org/debian-security/ bullseye-security main - Perform a Minimal System Upgrade first
Terminal window apt updateapt upgrade --without-new-pkgs
If apt-listchanges is installed, press Q to close its pager with release notes.
You will be asked to confirm to stop running services.
- Perform full upgrade:
Terminal window apt full-upgradereboot - Check the currently installed version:
Terminal window cat /etc/debian_version - Clean up obsolete packages
Terminal window apt --purge autoremoveapt autoclean
See also
Section titled “See also”- Debian 11 (bullseye) release notes, chapter 4: Upgrades from Debian 10 (Buster)
- Upgrade Debian 10 Buster to Debian 11 Bullseye: A Step-by-Step Guide
Upgrade Debian 11 (bullseye) to Debian 12 (bookworm)
Section titled “Upgrade Debian 11 (bullseye) to Debian 12 (bookworm)”- Backup all valuable data!
- Update the Debian 11 (Bullseye) system
Terminal window sudo apt updatesudo apt upgrade -ysudo apt full-upgradesudo apt --purge autoremovesudo reboot - Replace Debian 11 with Debian 12 Repositories
Terminal window # Backupmkdir ~/aptcp /etc/apt/sources.list ~/aptcp -r /etc/apt/sources.list.d/ ~/apt# Replacesudo sed -i 's/bullseye/bookworm/g' /etc/apt/sources.listsed -i 's/bullseye/bookworm/g' /etc/apt/sources.list.d/* - Perform full upgrade:
Terminal window sudo apt full-upgradesudo reboot - Check the currently installed version:
Terminal window lsb_release -acat /etc/os-releaseuname -rms - Clean up obsolete packages
Terminal window sudo apt --purge autoremove
See also
Section titled “See also”- Debian 12 (bookworm) release notes, chapter 4: Upgrades from Debian 11 (bullseye)
- How to Upgrade Debian 11 to Debian 12 (Bookworm) via CLI
kernel: rc rc0: receive overflow
Section titled “kernel: rc rc0: receive overflow”- When my
sudo journalctlgot spammed with these messages on a NUC with an IR sensor, I followed these instructions to resolve that issue.
dpkg-deb: error: decompress subprocess was killed by signal (Segmentation fault), core dumped
Section titled “dpkg-deb: error: decompress subprocess was killed by signal (Segmentation fault), core dumped”- This problem was caused by a faulty download and could be solved by a simple
sudo apt-get clean.