meta data for this page
  •  

This is an old revision of the document!


Upgrade

sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list
 
# from bullseye only:
sed -i '/non-free/ s/$/ non-free-firmware/' /etc/apt/sources.list
 
find /etc/apt/sources.list.d -type f -exec sed -i 's/bullseye/bookworm/g' {} \;
 
# One liner
apt-get update && sudo apt-get dist-upgrade --autoremove -y
 
# OR step by step
apt update
apt upgrade --without-new-pkgs
apt full-upgrade
apt --purge autoremov

bullseye -> bookworm

sudo sed -i '/non-free/ s/$/ non-free-firmware/' /etc/apt/sources.list

<file ini /etc/apt/sources.list> deb https://deb.debian.org/debian bookworm main contrib non-free non-free-firmware deb https://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware deb https://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware </code>

Issue: Libcrypt.so.1 error after dist-update on Debian

cd /tmp
apt -y download libcrypt1
dpkg-deb -x libcrypt1_1%3a*.deb  .
cp -av lib/x86_64-linux-gnu/* /lib/x86_64-linux-gnu/
apt -y --fix-broken install