apt-get upgrade

James Gray james at grayonline.id.au
Tue Jul 19 06:26:09 UTC 2005


On Tue, 19 Jul 2005 12:47 pm, Stephen R Laniel wrote:
> On Mon, Jul 18, 2005 at 07:43:22PM -0700, Vram wrote:
> > The following packages have been kept back:
>
> Yes, don't worry. Packages are kept back for good reason --
> say, because installing them would require uninstalling
> other packages.
>
> Though I *have* noticed that if I apt-get install some of
> the packages listed as kept back, they install just fine but
> almost always APT needs to install another package. I wish I
> could tell APT to just go ahead and install any new packages
> it needs to install.

That's the basic difference between upgrade and dist-upgrade:
apt-get upgrade - upgrade packages but don't remove anything or install
                  anything new.
apt-get dist-upgrade - upgrade everything removing/adding packages as required
                  to resolve dependancies.

Of course, if a package is held back because something it depends on isn't 
available, etc, from the repositories you've configured (sources.list) no 
amount of apt-get'ing will resolve it...unless you force it, in which case 
you deserve all the nastiness that will cause :)

Cheers,

James
-- 
Behind every great man, there is a woman -- urging him on.
  -- Harry Mudd, "I, Mudd", stardate 4513.3




More information about the ubuntu-users mailing list