[ale] aptitude upgrade deprecated?

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Nov 16 15:09:55 EST 2007


On Fri 2007-11-16 07:37:15 -0500, Paul Cartwright wrote:

> what does this mean?
>
> # aptitude upgrade
> W: The "upgrade" command is deprecated; use "safe-upgrade" instead. 

The command "aptitude upgrade" is being phased out in favor of
"aptitude safe-upgrade"

The command "aptitude dist-upgrade" is being phased out in favor of
"aptitude full-upgrade"

These are merely naming changes to make the tool more comprehensible.

The difference between the two commands is that a safe upgrade only
upgrades as many packages as it can without introducing new packages
to the system or removing other packages.

A full upgrade tries to upgrade all packages on the system, but is
willing to remove some packages or add others to acheive this goal.

For example, say package fubar 3.0 is installed and version 3.2 is
available from the repository.  version 3.2 depends on libfubar1, even
though version 3.0 does not have any dependencies.

a safe-upgrade should leave fubar untouched, while a full-upgrade
should install libfubar1, and upgrade fubar to version 3.2

hth,

        --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 826 bytes
Desc: not available




More information about the Ale mailing list