Re: upgrade <package>
On Fri, 13 Oct 2006 15:34:10 -0400
"Roberto C. Sanchez" <roberto@connexer.com> wrote:
> On Fri, Oct 13, 2006 at 09:04:28AM -0500, Hugo Vanwoerkom wrote:
> > Hi,
> >
> >
> > With synaptic you can upgrade a particular package.
> >
> > Is there an apt-get command to do so also?
> >
> apt-get upgrade <package>
>
> Regards,
>
> -Roberto
Are you sure this is right? From 'man apt-get':
> SYNOPSIS
> apt-get [-hvs] [-o=config string] [-c=file] {update | upgrade |
> dselect-upgrade | install pkg... | remove pkg... | source pkg... |
> build-dep pkg... | check | clean | autoclean}
[snip]
> upgrade
> upgrade is used to install the newest versions of all
> packages currently installed on the system from the sources enumerated
> in /etc/apt/sources.list. Packages cur- rently installed with new
> versions available are retrieved and upgraded; under no circumstances
> are currently installed packages removed, or packages not already
> installed retrieved and installed. 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. An update must be performed first so that apt-get knows that
> new versions of packages are available.
[snip]
> install
> install is followed by one or more packages desired for
> installation. Each package is a package name, not a fully
> qualified filename (for instance, in a Debian GNU/Linux system, libc6
> would be the argument provided, not libc6_1.9.6-2.deb) All packages
> required by the package(s) specified for installation will also be
> re- trieved and installed. The /etc/apt/sources.list file is used to
> locate the de- sired packages. If a hyphen is appended to the
> package name (with no intervening space), the identified package will
> be removed if it is installed. Similarly a plus sign can be used to
> designate a package to install. These latter features may be used to
> override decisions made by apt-get's conflict resolution system.
I do 'apt-get install <package>' which upgrades the package if it is
already installed.
Celejar
--
ssuds.sourceforge.net - Home of Ssuds and Ssudg, a Simple Sudoku Solver
and Generator
Reply to: