So just like that, we use the update command as it is in Debian and it won't break anything in DirectAdmin?so use regular apt upgrade
I'm rather new to Debian, but isn'tso use regular apt upgrade
apt dist-upgrade
better? Because this takes care of dependencies also and can remove old stuff?dist-upgrade is preferred when you change the /etc/apt/sources.list to upgrade to 12 from 11 for example......I'm rather new to Debian, but isn'tapt dist-upgrade
better? Because this takes care of dependencies also and can remove old stuff?
Aren't you confusing dist-upgrade with full-upgrade (I hope that is correct English).So it'll upgrade everything
The “dist-upgrade” switch asks Ubuntu to handle any dependencies intelligently. That is, if a particular software package is dependent on another software package to run, this command will make sure that the second package is upgraded before upgrading the first one.
sudo apt dist-upgrade
sudo apt --purge autoremove
and sudo apt autoclean
to clean any residual packages and configuration files.apt upgrade --without-new-pkgs
apt full-upgrade
I just used that one on Debian 11 and that worked fine. However keep in mind that this could also give you a kernel update when present, and then you need (at some time) to reboot your server to have the kernel update become effective.Then I will probably use the command: apt dis-upgrade to update the distro.