{ claus.conrad }

Debian

Package versions

Debian 11

rclone 1.53.3 python 3.9.2 kernel 5.10.0

FAQ

“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/

Upgrade Debian 10 (buster) to Debian 11 (bullseye)

  1. Backup all valuable data!
  2. Update the Debian 10 (Buster) system
apt update
apt upgrade
apt full-upgrade
apt --purge autoremove
reboot
  1. Check the currently installed version:
cat /etc/debian_version
  1. Replace Debian 10 with Debian 11 Repositories
# Backup
mkdir ~/apt
cp /etc/apt/sources.list ~/apt
cp -r /etc/apt/sources.list.d/ ~/apt

# Replace
sed -i 's/buster/bullseye/g' /etc/apt/sources.list
sed -i 's/buster/bullseye/g' /etc/apt/sources.list.d/*

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:

deb http://security.debian.org/debian-security bullseye/updates main
deb-src http://security.debian.org/debian-security bullseye/updates main

And replace them with these ones:

deb https://deb.debian.org/debian-security/ bullseye-security main
deb-src https://deb.debian.org/debian-security/ bullseye-security main
  1. Perform a Minimal System Upgrade first
apt update
apt 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.

  1. Perform full upgrade:
apt full-upgrade
reboot
  1. Check the currently installed version:
cat /etc/debian_version
  1. Clean up obsolete packages
apt --purge autoremove
apt autoclean

See also