aptitude safe-upgrade
Matthias Böttcher
matthias.boettcher at gmail.com
Mit Nov 7 14:56:09 GMT 2007
Hallo!
Ich bin gerade nach einem "sudo aptitude upgrade" über folgende
Meldung gestolpert:
$ aptitude upgrade
W: The "upgrade" command is deprecated; use "safe-upgrade" instead.
Was zum Teufel ist "safe-upgrade"?
Die man-Page kennt "safe-upgrade" nicht, aber in
/usr/share/doc/aptitude/README steht die Lösung:
aptitude safe-upgrade
This command will upgrade as many packages as it can upgrade without
removing existing packages or installing new ones.
It is sometimes necessary to remove or install one package in order to
upgrade another; this command is not able to upgrade packages in such
situations. Use the full-upgrade to upgrade those packages as well.
aptitude full-upgrade
Like safe-upgrade, this command will attempt to upgrade packages, but it
is more aggressive about solving dependency problems: it will install and
remove packages until all dependencies are satisfied. Because of the
nature of this command, it is possible that it will do undesirable things,
and so you should be careful when using it.
[Note] Note
For historical reasons, this command was originally named dist-
upgrade, and that name is still recognized by aptitude.
Also:
"aptitude upgrade" heißt jetzt "aptitude safe-upgrade"
und "aptitude dist-upgrade" heißt jetzt "aptitude full-upgrade"
und "Raider" heißt jetzt "Twix" ;-)
Gruß!
Matthias Böttcher