upgrade vs dist-upgrade

Derek Broughton news at pointerstop.ca
Mon Apr 10 18:45:25 UTC 2006


Matt Price wrote:

> OK, I might not be the best person to explain this, 

Perhaps not :-)  (Sorry)

> but here's one 
> example.  On my Debian Sid system, I until recently had Apache 1.3
> installed.  In Sid, Apache 1.3 and Apache 2 are both still maintained,
> so new versions of 1.3 are always beingreleased, even though Apache2
> officially "replaces" 1.3.  "apt-get upgrade" would pull in the newest
> 1.3 releases, along with any new releases of various libapache-mod-x
> pachages.  "apt-get dist-upgrade" on the other hand, would pull in the
> latest apache2 instead, and replace the libapache-x packages iwth
> libapache2-x modules.

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.

> In Ubuntu, this particular option doesn't pertain.  

Actually, it does (at least in dapper).

> However I 
> imaginethere'ssomething kind of similar with openoffice.org, which is
> called "openoffice.org2" in breezy but "openoffice.org" in dapper.

Still openoffice.org2 on my dapper...
-- 
derek





More information about the ubuntu-users mailing list