upgrade vs dist-upgrade

Daniel Carrera daniel.carrera at zmsl.com
Mon Apr 10 19:20:38 UTC 2006

Derek Broughton wrote:
> apache2 doesn't replace apache (1.3) and it can't be pulled in by a
> dist-upgrade unless you already have a package that once required apache
> and now explicitly requires apache2.  For a while, from sid, I had both 1.3
> and 2 installed, and it certainly appears I can still do that on Dapper.

Well, we can rephrase the example:

"If I have package A and it's replaced by A, doing a dist-upgrade will 
remove A and install B but doing an upgrade will leave it intact".

At least, that's what how I interpret the man page.

Another scenario where there's a difference: I have package A installed. 
The next version of package A has a new dependency (package B) which is 
not currently installed in my system. An upgrade will not upgrade my 
current package A. A dist-upgrade will install B and then upgrade A.

Again, that's how I read the man page Mario quoted.

      /\/`) http://opendocumentfellowship.org
    /\/_/   A life? Sounds great!
    \/_/    Do you know where I could download one?

More information about the ubuntu-users mailing list