• ozymandias117@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 day ago

    They’re talking about a Debian 12 -> Debian 13 upgrade

    On Debian, you get release notes on what commands to run.

    Ubuntu has their own software update utility, separate from Software Center or Discover, that runs the commands for you

    • fmstrat@lemmy.nowsci.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      14 hours ago

      Ahhh OK. I’ve always gone fresh for a full upgrade. But does apt dist-upgrade not work? That’s what the docs say to do.

      • ozymandias117@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        13 hours ago

        You have to at least modify your sources.list.d manually first. For most people, updating sources.list.d and running full-upgrade will probably work fine…

        The full instructions are

        1. run dist-upgrade
        2. remove back ports
        3. remove obsolete packages
        4. remove non-debian packages
        5. clean up old configuration files
        6. add non-free-firmware (this is a 12 -> 13 specific)
        7. remove proposed updates
        8. disable pinning
        9. update sources.list.d to point to the next release
        10. apt upgrade --without-new-packages
        11. apt full-upgrade

        It takes like an hour? but it’s still not “just press okay.”

        Ubuntu’s has broken on some upgrades for friends and they had to do the whole Debian process manually, but it does try to automate the removals, disablements, and updating sources

        Edit: instructions taken from Trixie release. I skipped some that aren’t really unique, like make a backup

        https://www.debian.org/releases/trixie/release-notes/upgrading.en.html