Hi all, I need to upgrade Debian 10 to 11 using snap in with a bash script.
The task does not start and remains in queue.
I have already tested the bash script using snap in and it never works.
Here is my script, if there are any corrections to do, I’m interested
#!/bin/bash
echo Mise à jour du système
apt update && apt upgrade -y
echo Vérification de la présence du paquet gcc-8-base
apt install gcc-8-base
echo Remplacement des dépôts Debian 10 vers 11
sed -i 's/buster/bullseye/g' /etc/apt/sources.list
echo Vérification de la configuration de sources.list
apt update -y
echo Lancement la mise à niveau vers Debian 11
apt full-upgrade -y