Re: Things to do
On Tue, 31 Mar 1998, Behan Webster wrote:
> Jason Gunthorpe wrote:
> > - Behan: Can you look at the 'command line GUI' that is apt-get? Looks
> > like it is going to stay.
> I've been wanting too, but I can't find it anywhere? I've been looking
> for it for weeks on our mirror. Where can it be found?
The program is dpkg-get, newer versions will call it apt-get.
I've attached the man page as applies to the version in CVS which is not
the version in that .deb - it has no commandline options.
apt-get - package handling utility -- command-line inter-
apt-get [options] command [package ...]
apt-get is the command-line tool for handling packages,
and may be considered the user's "back-end" to apt(8).
Use apt(8) if the usage of apt-get does not seem intu-
command is one of
Only the install command requires any further arguments.
update is used to resynchronize the package overview files
from their sources. The overviews of available packages
are fetched from the location(s) specified in
sources.list. For example, when using a Debian archive,
this command retrieves and scans the Packages.gz files, so
that information about new and updated packages is avail-
able. An update should always be performed before an
upgrade or dist-upgrade.
upgrade is used to install the newest versions of all
packages currently installed on the system from the
sources enumerated in sources.list. Packages currently
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 chang-
ing 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
dselect-upgrade is used in conjunction with the tradi-
tional Debian GNU/Linux packaging front-end, dselect.dse-
lect-upgrade follows the changes made by dselect to the
Status field of available packages, and performs the
actions necessary to realize that state (for instance, the
removal of old and the installation of new packages).
dselect-upgrade does not attempt to intelligently address
dependency issues as dist-upgrade or install do. If any
dependency problems arise, apt-get aborts without perform-
ing any of the actions requested, even those without prob-
lems. This option is only useful to users of dselect and
the .deb package file format. The /etc/apt/sources.list
file contains a list of locations from which to retrieve
desired package files.
dist-upgrade, in addition to performing the function of
upgrade, also intelligently handles changing dependencies
with new versions of packages; apt-get has a "smart" con-
flict resolution system, and it will attempt to upgrade
the most important packages at the expense of less impor-
tant ones if necessary. The /etc/apt/sources.list file
contains a list of locations from which to retrieve
desired package files.
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, lsdo would be the argument provided, not
ldso_1.9.6-2.deb). All packages required by the pack-
age(s) specified for installation will also be retrieved
and installed. The /etc/apt/sources.list file is used to
locate the desired packages.
check is a diagnostic tool; it updates the package cache
and checks for broken packages.
-h Help; display a helpful usage message and exit.
-q Quiet; produces output suitable for logging, omit-
ting progress indicators.
-qq Very quiet; no output except for errors.
-d Download only; package files are only retrieved,
not unpacked or installed.
-s No action; perform a simulation of events that
would occur but do not actually change the system.
-y Automatic yes to prompts; assume "yes" as answer to
all prompts and run non-interactively.
apt(8), apt-cache(8), sources.list(5)
apt-get returns zero on normal operation, decimal 100 on
See <http://www.debian.org/Bugs/db/pa/lapt.html>. If you
wish to report a bug in apt-get, please see
/usr/doc/debian/bug-reporting.txt or the bug(1) command.
apt-get was written by the APT team <apt@pack-
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org