Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it safe to run this command on a brand new Debian server?

aptitude -y full-upgrade

The command is from

On a related note, how is aptitude update different from apt-get update?

share|improve this question
up vote 1 down vote accepted

Of course it's safe; what's the risk? If the server's brand new, you have no data to lose, and no services to get complaints about.

From the aptitude manpage:

full-upgrade Upgrades installed packages to their most recent version, removing or installing packages as necessary. This command is less conservative than safe-upgrade and thus more likely to perform unwanted actions. However, it is capable of upgrading packages that safe-upgrade cannot upgrade.

           This command was originally named dist-upgrade for

historical reasons, and aptitude still recognizes dist-upgrade as a synonym for full-upgrade.

Generally speaking, it's fine. The difference between apt and aptitude the algorithm for dependency solvers. Eventually you can expect apt-get to be replaced underneath by aptitude, when it's improved to the point where it's better than apt-get in every case.

share|improve this answer
Generally speaking, should I be using aptitude instead of apt-get? – Miko Mar 28 '10 at 3:28
Generally, it doesn't matter at all. Sometimes, when things go horribly wrong, aptitude can calculate a way out with fewer remove packages, but typically the distinction is irrelevant – jldugger Mar 28 '10 at 8:15
From the DebianWiki on Aptitude: "Score-based and (usually) smarter dependency resolver than apt-get. aptitude is also non-fattening, naturally cleansing, and housebroken..." . The Debian FAQ is a little bit more serious and states: "Note that aptitude is the preferred program for package management from console both for package installations and package or system upgrades." – Chris Lercher Mar 28 '10 at 15:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.