[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: shouldn't apt-get upgrade, you know, upgrade ?



briand@aracnet.com skrev:
I was having some problems with ooffice so I did "apt-get update" and
then ran "apt-get upgrade" to see if ooffice was among the packages to
be upgraded.  It wasn't, but I tried "apt-get install ooffice"
anyway, and presto it started upgrading ooffice.

So I looked at the man-page:

 upgrade
is used to install the newest versions of all packages currently
installed on the system

I did, in fact, have ooffice installed so I'm not clean on why upgrade
alone did seem to want to upgrade the package.

Any ideas ?


My first guess:

Perhaps you did not quote enough text from the man page?

[From the text on upgrade]

           New versions of
           currently installed packages that cannot be upgraded without
           changing the install status of another package will be left
           at their current version.



As ooffice is a rather complex package, it seems plausible to me that a new version would require other packages to be installed as well, and upgrade is not bold enough to do that.

I think you may be interested in the dist-upgrade command instead.


/ johan


Reply to: