• 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
    
    
  • Moderator

    @bylkem said in Snapin queued bash:

    The task does not start and remains in queue.

    Have you checked fog-client service is actually running on the machine and communication to the server is alright? Please post the fog.log here if you are in doubt.

266
Online

9.6k
Users

16.0k
Topics

147.9k
Posts