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

Re: How to get security updates, but not other packages?



On Sunday, 11.09.2005 at 20:11 +0200, oneman wrote:

> >Not sure what the difference is between "apt-get upgrade" and "apt-get
> >dist-upgrade"
> Try man apt-get. In short: dist-upgrade is better at resolving  
> dependency conflicts. BTW, Aptitude doesn't (need to) have two ways  
> of upgrading, it's upgrade function 'fits all'.

aot-get upgrade:

    Will install newer versions of packages that are already installed.
    Will NOT install anything not already installed, will NOT remove
    anything already installed.

apt-get dist-upgrade

    Will also install newer versions of packages that are already
    installed, but will also install or remove other packages as
    necessary to ensure that dependencies can be met.

For example, let's say you foo-1.4 installed.  foo-1.5 is available, as
is foo-2.0, but foo-2.0 has a new dependency (bar-1.0) which you don't currently
have installed.

apt-get upgrade: will install foo-1.5

apt-get dist-upgrade: will install bar-1.0 and foo-2.0

Dave.
-- 
Please don't CC me on list messages!
...
Dave Ewart - davee@sungate.co.uk - jabber: davee@jabber.org
All email from me is now digitally signed, key from http://www.sungate.co.uk/
Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92

Attachment: signature.asc
Description: Digital signature


Reply to: