Read the Release Notes section on upgrading - https://www.debian.org/releases/buster/ ... ng.en.html
To upgrade to Debian 12 you need to upgrade each release individually 9 > 10 > 11 > 12. There are similar release notes for each version.
Personally I would just backup everything including a list of installed software and do a new install of 12.
To restore the installed packages in a newly installed Debian, first make a list of currently installed ones:Then to reinstall in your new system, as root do:Some Buster packages will not be available in newer versions so you may have to resolve that manually.
To upgrade to Debian 12 you need to upgrade each release individually 9 > 10 > 11 > 12. There are similar release notes for each version.
Personally I would just backup everything including a list of installed software and do a new install of 12.
To restore the installed packages in a newly installed Debian, first make a list of currently installed ones:
Code:
dpkg --get-selections > package-list.txt
Code:
dpkg --set-selections < package-list.txtapt-get dselect-upgrade
Statistics: Posted by sunrat — 2024-04-19 00:05