[PLUG] apt-get upgrade just 1 package?

Carla Schroder carla at bratgrrl.com
Thu Dec 18 16:30:02 UTC 2003


On Thursday 18 December 2003 4:21 pm, Colin Kuskie wrote:
> On Thu, Dec 18, 2003 at 03:37:00PM -0800, Carla Schroder wrote:
First run apt-get update to update your 
> > sources.list, then run apt-get install <packagename>. If there is a 
> > newer version, it will install it. Do apt-get install <packagename> 
> > --dry-run to do a test drive.
> 
> Okay, "install" will install or upgrade as needed.  Will it also
> automatically resolve dependencies and install additional packages?

Yep. That's what makes apt-get so addictive.
> 
> > apt-get upgrade upgrades all installed packages, but will not 
install or 
> > remove programs to satisfy dependencies, so many packages will not 
be 
> > upgraded.
> > 
> > apt-get dist-upgrade does a complete system upgrade, including 
> > installing/removing as necessary to satisfy dependencies. Add the -u 
> > switch for a preview: apt-get -u dist-upgrade. 
> > 
> > Anytime you want to do a dist-upgrade, run apt-get -u upgrade first. 
It 
> > works better.
> 
> Why?  Is it more efficient because upgrade doesn't try to resolve
> dependencies?
> 
> Colin

I don't know why, it's just my experience that it works better that way. 
There may be folks who think I'm wak. 

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~
Carla Schroder
www.tuxcomputing.com
this message brought to you
by Libranet 2.8 and Kmail
~~~~~~~~~~~~~~~~~~~~~~~~~





More information about the PLUG mailing list