upgrade vs dist-upgrade

Antony Gelberg antony at wayforth.co.uk
Mon Apr 10 18:34:35 UTC 2006

Thilo Six wrote:
> Hash: RIPEMD160
> Daniel Carrera schrieb am 10.04.2006 18:55:
>>I was hoping someone could tell me more about the difference between an
>>upgrade and a dist-upgrade.
>>I know that upgrade is safer, I know that dist-upgrade is intended for
>>upgrading the distro (e.g. Breezy to Dapper). I know that dist-upgrade
>>does a more agressive dependency resolution and that might break things,
>>but this agressiveness is necessary when you upgrade to a new distro
>>(e.g. Dapper).
>>But could someone give me a concrete example (made up examples are fine)
>>of something that dist-upgrade would do but upgrade would not? I want to
>>know more about what's happening under the hood.
>>Thank you for the help.
> As long as you do *NOT* change the sources.list, it is just the same.
> I do dist-upgrade everyday to perform security updates.

Er, this isn't true.

> But when you are changing the sources.list (let it point to a new
> release) then dist-upgarde will not only upgrade packages with a higher
> Version number (as upgrade does) instead it also upgrades all it´s
> dependencies.

I think you should have a look at the man page that has already been 
quoted in this thread.

More information about the ubuntu-users mailing list