How to Upgrade Debian Stable to Testing

March 24, 2021 | By the+gnu+linux+evangelist.

Upgrading

  1. 2. Setting up Apt Repo

    Now to Set up Debian Testing Apt Repo
    Edit the Configuration File with the nano Editor like:

    su -c "nano /etc/apt/sources.list"

    And Change “stable” in “testing“.
    Then again Comment out with “#” each line contaning “security“, “backports“, or “updates“.
    Finally, Ctrl+x to Save & Exit from nano Editor.

  2. 3. Verifing Debian Release

    Next to Verify Debian Release Configuration
    To show the File Content in output run:

    cat /etc/apt/apt.conf.d/00default-release

    And possibly if is Set to buster/10/stable then use the nano to ammend it too.

  3. 4. Upgrading to Debian Testing

    Finally, to Upgrade Debian Stable to Testing
    Simply play:

    su -c "apt update && apt upgrade"

    And possibly again:

    su -c "apt full-upgrade"

    But beware that this last Command will also Install or Remove Packages, so do Check Carefully all proposed actions before proceeding.
    Last, reboot to load your barely new Debian Testing System:

    sudo reboot

Contents


QuickChic Theme • Powered by WordPress