diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:51:58 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:51:58 +0000 |
commit | 09f2e0262915c93c8cf062a52b809d207d016107 (patch) | |
tree | 101afb1e9d04e8b4918f624a1c0f2ce7fa42f37c /doc | |
parent | de50f0480662ebe4af9591a583124a6b2e38b993 (diff) |
Man pages in yodl
Author: jgg
Date: 1998-12-05 22:14:39 GMT
Man pages in yodl
Diffstat (limited to 'doc')
-rw-r--r-- | doc/apt-cache.8 | 199 | ||||
-rw-r--r-- | doc/apt-cache.8.yo | 203 | ||||
-rw-r--r-- | doc/apt-cdrom.8.yo | 103 | ||||
-rw-r--r-- | doc/apt-get.8 | 249 | ||||
-rw-r--r-- | doc/apt-get.8.yo | 23 | ||||
-rw-r--r-- | doc/sources.list.5 | 175 | ||||
-rw-r--r-- | doc/sources.list.5.yo | 128 |
7 files changed, 449 insertions, 631 deletions
diff --git a/doc/apt-cache.8 b/doc/apt-cache.8 deleted file mode 100644 index 0292973ed..000000000 --- a/doc/apt-cache.8 +++ /dev/null @@ -1,199 +0,0 @@ -.\" This manpage is copyright (C) 1998 Branden Robinson <branden@debian.org>.
-.\"
-.\" This is free software; you may redistribute it and/or modify
-.\" it under the terms of the GNU General Public License as
-.\" published by the Free Software Foundation; either version 2,
-.\" or (at your option) any later version.
-.\"
-.\" This is distributed in the hope that it will be useful, but
-.\" WITHOUT ANY WARRANTY; without even the implied warranty of
-.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-.\" GNU General Public License for more details.
-.\"
-.\" You should have received a copy of the GNU General Public
-.\" License along with APT; if not, write to the Free Software
-.\" Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-.\" 02111-1307 USA
-.TH apt-cache 8 "16 June 1998" "Debian GNU/Linux"
-.SH NAME
-apt-cache \- APT package handling utility \(em cache manipulator
-.SH SYNOPSIS
-.B apt-cache
-.I command cache
-.RI [ argument
-.IR ... ]
-.SH DESCRIPTION
-.B apt-cache
-performs a variety of operations on APT's package cache.
-.I apt-cache
-is seldom called directly; instead it is usually invoked internally by
-.BR apt-get (8)
-or
-.BR apt (8).
-.PP
-.I command
-is one of
-.RS
-.PD 0
-.B add
-.PP
-.B dump
-.PP
-.B dumpavail
-.PP
-.B showpkg
-.PP
-.B stats
-.RE
-.PD 1
-.PP
-.I cache
-must be a package cache file (for instance,
-.IR /var/cache/apt/pkgcache.bin ).
-Some
-.IR command s
-require additional arguments.
-.SS add
-.B add
-adds a new set of package records to
-.IR cache .
-Remaining arguments are of the form
-.IR file : dist : ver ,
-where
-.I file
-is the full path to file in question.
-.I dist
-and
-.I ver
-can be any string and are not yet implemented.
-.SS dump
-.B dump
-displays information about all the packages in the cache. See
-.B showpkg
-below for an explanation of what data is output for each package.
-.SS dumpavail
-.B dumpavail
-generates an
-.I available
-file suitable for use with
-.BR dpkg (8)
-based on the information in the cache.
-.SS showpkg
-.B showpkg
-displays information about the packages listed on the command line.
-Remaining arguments are package names. The available versions and
-reverse dependencies of each package listed are listed, as well as
-forward dependencies for each version. Forward (normal) dependencies
-are those packages upon which the package in question depends; reverse
-dependencies are those packages that depend upon the package in
-question. Thus, forward dependencies must be satisfied for a package,
-but reverse dependencies need not be.
-For instance,
-.B apt-cache showpkg
-.I cache
-.B libreadline2
-would produce output similar to the following:
-.PP
-.RS
-.PD 0
-Package: libreadline2
-.PP
-Versions: 2.1-8,2.1-7,
-.PP
-Reverse Depends:
-.RS
-.PP
-libreadlineg2,libreadline2
-.PP
-libreadlineg2,libreadline2
-.PP
-libreadline2-altdev,libreadline2
-.RE
-.PP
-Dependencies:
-.PP
-2.1-8 - libc5 ncurses3.0 ldso
-.PP
-2.1-7 - ldso libc5 ncurses3.0
-.RE
-.PD 1
-.PP
-Thus it may be seen that libreadline2, version 2.1-8, depends on libc5,
-ncurses3.0, and ldso, which must be installed for libreadline2 to work. In
-turn, libreadlineg2 and libreadline2-altdev depend on libreadline2. If
-libreadline2 is installed, libc5, ncurses3.0, and ldso must also be
-installed; libreadlineg2 and libreadline2-altdev do not have to be
-installed.
-.SS stats
-.B stats
-displays some statistics about
-.IR cache .
-No further arguments are expected. Statistics reported are:
-.RS
-.TP
-.I Total package names
-is the number of package names found in the cache.
-.TP
-.I Normal packages
-is the number of regular, ordinary package names; these
-are packages that bear a one-to-one correspondence between their names and
-the names used by other packages for them in dependencies. The majority of
-packages fall into this category.
-.TP
-.I Pure virtual packages
-is the number of packages that exist only as a virtual package name; that
-is, packages only "provide" the virtual package name, and no package
-actually uses the name. For instance, "mail-transport-agent" in the Debian
-GNU/Linux system is a pure virtual package; several packages provide
-"mail-transport-agent", but there is no package named "mail-transport-agent".
-.TP
-.I Single virtual packages
-is the number of packages with only one package providing a particular
-virtual package. For instance, in the Debian GNU/Linux system,
-"X11-text-viewer" is a virtual package, but only one package, xless,
-provides "X11-text-viewer".
-.TP
-.I Mixed virtual packages
-is the number of packages that either provide a particular virtual package
-or have the virtual package name as the package name. For instance, in the
-Debian GNU/Linux system, e2fsprogs is both an actual package, and
-provided by the e2compr package.
-.TP
-.I Missing
-is the number of package names that were referenced in a dependency but
-were not provided by any package. Missing packages may be in evidence
-if a full distribution is not accesssed, or if a package (real or virtual)
-has been dropped from the distribution.
-.TP
-.I Total distinct versions
-is the number of package versions found in the cache; this value is
-therefore at least equal to the number of total package names. If more than
-one distribution (both "stable" and "unstable", for instance), is being
-accessed, this value can be considerably larger than the number of total
-package names.
-.TP
-.I Total dependencies
-is the number of dependency relationships claimed by all of the packages in
-the cache.
-.RE
-.SH OPTIONS
-None.
-.SH FILES
-None.
-.SH SEE ALSO
-.BR apt (8),
-.BR apt-get (8),
-.I /usr/doc/apt/cache*
-.SH DIAGNOSTICS
-apt-cache returns zero on normal operation, decimal 100 on error.
-.SH BUGS
-See <http://www.debian.org/Bugs/db/pa/lapt.html>. If you wish to report a
-bug in
-.BR apt-cache ,
-please see
-.I /usr/doc/debian/bug-reporting.txt
-or the
-.BR bug (1)
-command.
-.SH AUTHOR
-apt-cache was written by the APT team <apt@packages.debian.org>.
diff --git a/doc/apt-cache.8.yo b/doc/apt-cache.8.yo new file mode 100644 index 000000000..61248a8c0 --- /dev/null +++ b/doc/apt-cache.8.yo @@ -0,0 +1,203 @@ +mailto(apt@packages.debian.org) +manpage(apt-cache)(8)(4 Dec 1998)(apt)() +manpagename(apt-cache)(APT package handling utility -- cache manipulator) + +manpagesynopsis() +apt-cache command [argument ...] + +manpagedescription() +bf(apt-cache) performs a variety of operations on APT's package cache. +bf(apt-cache) is seldom called directly; instead its operations are +performed automatically by the other bf(apt) utilities. + +em(command) is one of: +itemize( + it() add file1 [file2] [...] + it() gencaches + it() showpkg package1 [package2] [...] + it() stats + it() dump + it() dumpavail + it() unmet + it() check +) + +Unless the -h, or --help option is given one of the above commands +must be present. + +startdit() +dit(bf(add)) +bf(add) adds the names package index files to the package cache. + +dit(bf(gencaches)) +bf(gencaches) performs the same opration as bf(apt-get check). It builds +the source and package caches from thes sources in bf(/etc/apt/sources.list) +and from bf(/var/lib/dpkg/status). + +dit(bf(showpkg)) +bf(showpkg) displays information about the packages listed on the +command line. Remaining arguments are package names. The available versions +and reverse dependencies of each package listed are listed, as well as +forward dependencies for each version. Forward (normal) dependencies +are those packages upon which the package in question depends; reverse +dependencies are those packages that depend upon the package in +question. Thus, forward dependencies must be satisfied for a package, +but reverse dependencies need not be. +For instance, bf(apt-cache showpkg libreadline2) would produce output similar +to the following: + +verb( +Package: libreadline2 + +Versions: + +2.1-12(/var/state/apt/lists/debian.midco.net_debian_dists_slink_main_binary-i386_Packages), + +Reverse Depends: + + libreadlineg2,libreadline2 + + libreadline2-altdev,libreadline2 +Dependencies: + +2.1-12 - libc5 (2 5.4.0-0) ncurses3.0 (0 (null)) ldso (2 1.9.0-1) + +Provides: + +2.1-12 - + +Reverse Provides: +) + +Thus it may be seen that libreadline2, version 2.1-8, depends on libc5, +ncurses3.0, and ldso, which must be installed for libreadline2 to work. In +turn, libreadlineg2 and libreadline2-altdev depend on libreadline2. If +libreadline2 is installed, libc5, ncurses3.0, and ldso must also be +installed; libreadlineg2 and libreadline2-altdev do not have to be +installed. For the specific meaning of the remainder of the output it +is best to consult the apt source code. + +dit(bf(stats)) +bf(stats) displays some statistics about bf(cache). +No further arguments are expected. Statistics reported are: +itemize( + it() bf(Total package names) is the number of package names found in the cache. + + it() bf(Normal packages) is the number of regular, ordinary package names; these + are packages that bear a one-to-one correspondence between their names and + the names used by other packages for them in dependencies. The majority of + packages fall into this category. + + it() bf(Pure virtual packages) is the number of packages that exist only as + a virtual package name; that is, packages only "provide" the virtual + package name, and no package actually uses the name. For instance, + "mail-transport-agent" in the Debian GNU/Linux system is a pure virtual + package; several packages provide "mail-transport-agent", but there is no + package named "mail-transport-agent". + + it() bf(Single virtual packages) is the number of packages with only one + package providing a particular virtual package. For instance, in the + Debian GNU/Linux system, "X11-text-viewer" is a virtual package, but only + one package, xless, provides "X11-text-viewer". + + it() bf(Mixed virtual packages) is the number of packages that either provide + a particular virtual package or have the virtual package name as the + package name. For instance, in the Debian GNU/Linux system, e2fsprogs is + both an actual package, and provided by the e2compr package. + + it() bf(Missing) is the number of package names that were referenced in a + dependency but were not provided by any package. Missing packages may be + in evidence if a full distribution is not accesssed, or if a package + (real or virtual) has been dropped from the distribution. + + it() bf(Total distinct) versions is the number of package versions found in + the cache; this value is therefore at least equal to the number of total + package names. If more than one distribution (both "stable" and "unstable", + for instance), is being accessed, this value can be considerably larger + than the number of total package names. + + it() bf(Total dependencies) is the number of dependency relationships claimed + by all of the packages in the cache. +) + +dit(bf(dump)) +bf(dump) shows a short listing of every package in the cache. It is primarily +for debugging. + +dit(bf(dumpavail)) +bf(dumpavail) prints out an available list to stdout. This is suitable for use +with df(dpkg) and is used by the bf(dselect) method. + +dit(bf(unmet)) +bf(unmet) displays a summary of all unmet dependencies in the package cache. + +dit(bf(check)) +bf(check) is a random function for testing certain aspects of the cache. +Do not use it. + +enddit() + +manpageoptions() + +startdit() +dit(bf(-h, --help)) +Show a short usage summary. + +dit(bf(-p --pkg-cache)) +Select the file to store the package cache. The package cache is the primary +cache used by all operations. + +dit(bf(-s --src-cache)) +Select the file to store the source cache. The source is used only by +bf(gencaches) and it stores a parsed version of the package information from +remote sources. When building the package cache the source cache is used +to advoid reparsing all of the package files. + +dit(bf(-q, --quiet)) +Quiet; produces output suitable for logging, omitting progress indicators. +More qs will produce more quite up to a maximum of 2. You can also use +bf(-q=#) to set the quiet level, overriding the configuration file. + +dit(bf(-i --important)) +Print only important deps; for use with unmet causes only em(Depends) and +em(Pre-Depends) relations to be printed. + +dit(bf(-c, --config-file)) +Configuration File; Specify a configuration file to use. bf(apt-get) will +read the default configuration file and then this configuration file. See +bf(apt.conf(5)) for syntax information. + +dit(bf(-o, --option)) +Set a Configuration Option; This will set an arbitary configuration option. +The syntax is +verb(-o Foo::Bar=bar) +enddit() + +manpagefiles() +itemize( + it() /etc/apt/sources.list + locations to fetch packages from + + it() /var/state/apt/lists/ + storage area for state information for each package resource specified in + + it() /var/state/apt/lists/partial/ + storage area for state information in transit +) + +manpageseealso() +apt-get (8), +dpkg (8), +dselect (8), +sources.list (5) + +manpagediagnostics() +apt-cache returns zero on normal operation, decimal 100 on error. + +manpagebugs() +See http://www.debian.org/Bugs/db/pa/lapt.html. If you wish to report a +bug in bf(apt-cache), please see bf(/usr/doc/debian/bug-reporting.txt) +or the bf(bug(1)) command. + +manpageauthor() +apt-get was written by the APT team <apt@packages.debian.org>. diff --git a/doc/apt-cdrom.8.yo b/doc/apt-cdrom.8.yo new file mode 100644 index 000000000..27af39f79 --- /dev/null +++ b/doc/apt-cdrom.8.yo @@ -0,0 +1,103 @@ +mailto(apt@packages.debian.org) +manpage(apt-cdrom)(8)(4 Dec 1998)(apt)() +manpagename(apt-cdrom)(APT CDROM managment utility) + +manpagesynopsis() +apt-cdrom command + +manpagedescription() +bf(apt-cdrom) is used to add a new CDROM to APTs list of available sources. +bf(apt-cdrom) takes care of determining the structure of the disc as well +as correcting for several possible mis-burns and verifying the index files. +It is necessary to use bf(apt-cdrom) to add CDs to the APT system, it cannot +be done by hand. Furthermore each disk in a multi-cd set must be inserted +and scanned seperately to account for possible mis-burns. + +em(command) is one of: +itemize( + it() add +) + +Unless the -h, or --help option is given one of the above commands +must be present. + +startdit() +dit(bf(add)) +bf(add) is used to add a new disc to the source list. It will unmount the +CDROM device, prompt for a disk to be inserted and then procceed to scan it +and copy the index files. If the disc does not have a proper bf(.disk/) +directory you will be prompted for a descriptive title. + +APT uses a CDROM ID to track which disc is currently in the drive and +maintains a database of these IDs in bf(/var/state/apt/cdroms.list) + +enddit() + +manpageoptions() + +startdit() +dit(bf(-h, --help)) +Show a short usage summary. + +dit(bf(-d --cdrom)) +Mount point; specify the location to mount the cdrom. This mount point must +be listed in bf(/etc/fstab) and propely configured. + +dit(bf(-r --rename)) +Rename a disc; change the label of a disk or override the disks given label. +This option will cause bf(apt-cdrom) to prompt for a new label + +dit(bf(-m, --no-mount)) +No mounting; prevent bf(apt-cdrom) from mounting and unmounting the mount +point. + +dit(bf(-f, --fast)) +Fast Copy; Assume the package files are valid and do not check every package. +This option should be used only if bf(apt-cdrom) has been run on this disc +before and did not detect any errors. + +dit(bf(-n --just-print, --recon, --no-act)) +No Changes; Do not change the sources.list and do not write package files. +Everything is still checked however. + +dit(bf(-c, --config-file)) +Configuration File; Specify a configuration file to use. bf(apt-get) will +read the default configuration file and then this configuration file. See +bf(apt.conf(5)) for syntax information. + +dit(bf(-o, --option)) +Set a Configuration Option; This will set an arbitary configuration option. +The syntax is +verb(-o Foo::Bar=bar) +enddit() + +manpagefiles() +itemize( + it() /etc/apt/sources.list + locations to fetch packages from + + it() /var/state/apt/lists/ + storage area for state information for each package resource specified in + + it() /var/state/apt/lists/partial/ + storage area for state information in transit + + it() /var/state/apt/cdroms.list + list of cdrom IDs and names. +) + +manpageseealso() +apt-get (8), +sources.list (5), +apt.conf(5) + +manpagediagnostics() +apt-cdrom returns zero on normal operation, decimal 100 on error. + +manpagebugs() +See http://www.debian.org/Bugs/db/pa/lapt.html. If you wish to report a +bug in bf(apt-cache), please see bf(/usr/doc/debian/bug-reporting.txt) +or the bf(bug(1)) command. + +manpageauthor() +apt-get was written by the APT team <apt@packages.debian.org>. diff --git a/doc/apt-get.8 b/doc/apt-get.8 deleted file mode 100644 index 48e453dba..000000000 --- a/doc/apt-get.8 +++ /dev/null @@ -1,249 +0,0 @@ -.\" $Id: apt-get.8,v 1.2 1998/11/23 01:15:56 jgg Exp $
-.\" This manpage is copyright (C) 1998 Branden Robinson <branden@debian.org>.
-.\"
-.\" This is free software; you may redistribute it and/or modify
-.\" it under the terms of the GNU General Public License as
-.\" published by the Free Software Foundation; either version 2,
-.\" or (at your option) any later version.
-.\"
-.\" This is distributed in the hope that it will be useful, but
-.\" WITHOUT ANY WARRANTY; without even the implied warranty of
-.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-.\" GNU General Public License for more details.
-.\"
-.\" You should have received a copy of the GNU General Public
-.\" License along with APT; if not, write to the Free Software
-.\" Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-.\" 02111-1307 USA
-.TH apt-get 8 "16 June 1998" "Debian GNU/Linux"
-.SH NAME
-apt-get \- APT package handling utility \(em command-line interface
-.SH SYNOPSIS
-.B apt-get
-.RI [ options ]
-.RI [ command ]
-.RI [ package
-.IR ... ]
-.SH DESCRIPTION
-.B apt-get
-is the command-line tool for handling packages, and may be considered the
-user's "back-end" to
-.BR apt (8).
-Use
-.BR apt (8)
-if the usage of apt-get does not seem intuitive.
-.PP
-.I command
-is one of
-.RS
-.PD 0
-.B update
-.PP
-.B upgrade
-.PP
-.B dselect-upgrade
-.PP
-.B dist-upgrade
-.PP
-.B install
-.PP
-.B check
-.PP
-.B clean
-.RE
-.PD 1
-.PP
-Unless one of the
-.IR -h ,
-.IR --help ,
-.IR -f ,
-or
-.I --fix-broken
-options is given, one of the above commands must be present. Only the
-.B install
-command requires any further arguments.
-.SS update
-.B 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
-.IR /etc/apt/sources.list .
-For example, when using a Debian archive, this command retrieves and
-scans the
-.I Packages.gz
-files, so that information about new and updated packages is available. An
-.B update
-should always be performed before an
-.B upgrade
-or
-.BR dist-upgrade .
-.SS upgrade
-.B upgrade
-is used to install the newest versions of all packages currently installed
-on the system from the sources enumerated in
-.IR /etc/apt/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
-changing the install status of another package will be left at their
-current version. An
-.B update
-must be performed first so that
-.B apt-get
-knows that new versions of packages are available.
-.SS dselect-upgrade
-.B dselect-upgrade
-is used in conjunction with the traditional Debian GNU/Linux packaging
-front-end,
-.BR dselect (8). " dselect-upgrade"
-follows the changes made by
-.B dselect
-to the
-.I 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).
-.B dselect-upgrade
-does not attempt to intelligently address dependency issues as
-.B dist-upgrade
-or
-.B install
-do. If any dependency problems arise,
-.B apt-get
-aborts without performing any of the actions requested, even those
-without problems.
-.B dselect-upgrade
-is only useful to users of
-.B dselect
-and the
-.I .deb
-package file format. The
-.I /etc/apt/sources.list
-file contains a list of locations from which to retrieve desired package
-files.
-.SS dist-upgrade
-.BR dist-upgrade ,
-in addition to performing the function of
-.BR upgrade ,
-also intelligently handles changing dependencies with new versions of
-packages;
-.B apt-get
-has a "smart" conflict resolution system, and it will attempt to upgrade
-the most important packages at the expense of less important ones if
-necessary. The
-.I /etc/apt/sources.list
-file contains a list of locations from which to retrieve desired package
-files.
-.SS install
-.B install
-is followed by one or more
-.I packages
-desired for installation. Each
-.I package
-is a package name, not a fully qualified filename (for instance, in a
-Debian GNU/Linux system,
-.I lsdo
-would be the argument provided, not
-.IR ldso_1.9.6-2.deb ).
-All packages required by the package(s) specified for installation will
-also be retrieved and installed. The
-.I /etc/apt/sources.list
-file is used to locate the desired packages. If a hyphen is appended to
-the package name (with no intervening space), the identified package will
-be removed if it is installed. This latter feature may be used to override
-decisions made by apt-get's conflict resolution system.
-.SS check
-.B check
-is a diagnostic tool; it updates the package cache and checks for broken
-packages.
-.SS clean
-.B clean
-clears out the local repository of retrieved package files. It removes
-everything but the lock file from
-.I /var/cache/apt/archives/
-and
-.IR /var/cache/apt/archives/partial/ .
-When APT is used as a
-.BR dselect (8)
-method,
-.B
-clean
-is run automatically. Those who do not use dselect will likely want to
-run
-.B
-apt-get clean
-from time to time to free up disk space.
-.SH OPTIONS
-.TP
-.IR \-d , " --download-only"
-Download only; package files are only retrieved, not unpacked or installed.
-.TP
-.IR \-f , " --fix-broken"
-Fix; attempt to correct a system with broken dependencies in
-place. This option may be used alone or in conjunction with any of the
-command actions, and is sometimes necessary when running APT for the
-first time; APT itself does not allow broken package dependencies to
-exist on a system. It is possible that a system's dependency structure
-can be so corrupt as to require manual intervention (which usually
-means using dselect or dpkg --remove to eliminate some of the offending
-packages). Use of this option together with -m is discouraged.
-.TP
-.IR \-h , " --help"
-Help; display a helpful usage message and exit.
-.TP
-.IR \-m , " --ignore-missing"
-Ignore missing packages; If packages cannot be retrieved or fail the
-integrity check after retrieval (corrupted package files), hold back
-those packages and handle the result. Use of this option together with
--f is discouraged.
-.TP
-.IR \-q , " --silent"
-Quiet; produces output suitable for logging, omitting progress indicators.
-.TP
-.I \-qq
-Very quiet; no output except for errors.
-.TP
-.IR \-s , " --simulate" , " --just-print" , " --dry-run" , " --recon " , " --no-act"
-No action; perform a simulation of events that would occur but do not
-actually change the system.
-.TP
-.IR \-y , " --yes" , " --assume-yes"
-Automatic yes to prompts; assume "yes" as answer to all prompts and run
-non-interactively.
-.SH FILES
-.TP
-.I /etc/apt/sources.list
-see
-.BR sources.list (5)
-.TP
-.I /var/cache/apt/archives/
-storage area for retrieved package files
-.TP
-.I /var/cache/apt/archives/partial/
-storage area for package files in transit
-.TP
-.I /var/state/apt/lists/
-storage area for state information for each package resource specified in
-.I /etc/apt/sources.list
-.TP
-.I /var/state/apt/lists/partial/
-storage area for state information in transit
-.SH SEE ALSO
-.BR apt-cache (8),
-.BR dpkg (8),
-.BR dselect (8),
-.BR sources.list (5)
-.SH DIAGNOSTICS
-apt-get returns zero on normal operation, decimal 100 on error.
-.SH BUGS
-See <http://www.debian.org/Bugs/db/pa/lapt.html>. If you wish to report a
-bug in
-.BR apt-get ,
-please see
-.I /usr/doc/debian/bug-reporting.txt
-or the
-.BR bug (1)
-command.
-.SH AUTHOR
-apt-get was written by the APT team <apt@packages.debian.org>.
diff --git a/doc/apt-get.8.yo b/doc/apt-get.8.yo index 32b1e6132..f77795a7b 100644 --- a/doc/apt-get.8.yo +++ b/doc/apt-get.8.yo @@ -16,14 +16,14 @@ itemize( it() upgrade it() dselect-upgrade it() dist-upgrade - it() install - it() remove + it() install package1 [package2] [...] + it() remove package1 [package2] [...] it() check it() clean ) Unless the -h, or --help option is given one of the above commands -must be present. Only the install command requires any further arguments. +must be present. startdit() dit(bf(update)) @@ -73,6 +73,11 @@ hyphen is appended to the package name (with no intervening space), the identified package will be removed if it is installed. This latter feature may be used to override decisions made by apt-get's conflict resolution system. +dit(bf(remove)) +bf(remove) is identical to bf(install) except that packages are removed +instead of installed. If a plus sign is appended to the package name (with no +intervening space), the identified package will be installed. + dit(bf(check)) bf(check) is a diagnostic tool; it updates the package cache and checks for brokenpackages. @@ -112,7 +117,7 @@ integrity check after retrieval (corrupted package files), hold back those packages and handle the result. Use of this option together with -f is discouraged. -dit(bf(-q, --silent)) +dit(bf(-q, --quiet)) Quiet; produces output suitable for logging, omitting progress indicators. More qs will produce more quite up to a maximum of 2. You can also use bf(-q=#) to set the quiet level, overriding the configuration file. @@ -156,6 +161,7 @@ dit(bf(-o, --option)) Set a Configuration Option; This will set an arbitary configuration option. The syntax is verb(-o Foo::Bar=bar) +enddit() manpagefiles() itemize( @@ -176,10 +182,11 @@ itemize( ) manpageseealso() -apt-cache (8), -dpkg (8), -dselect (8), -sources.list (5) +apt-cache(8), +dpkg(8), +dselect(8), +sources.list(5), +The APT Users Guide in /usr/doc/apt/ manpagediagnostics() apt-get returns zero on normal operation, decimal 100 on error. diff --git a/doc/sources.list.5 b/doc/sources.list.5 deleted file mode 100644 index be727e9d5..000000000 --- a/doc/sources.list.5 +++ /dev/null @@ -1,175 +0,0 @@ -.\" $Id: sources.list.5,v 1.2 1998/11/23 01:16:01 jgg Exp $
-.\" This manpage is copyright (C) 1998 Branden Robinson <branden@debian.org>.
-.\"
-.\" This is free software; you may redistribute it and/or modify
-.\" it under the terms of the GNU General Public License as
-.\" published by the Free Software Foundation; either version 2,
-.\" or (at your option) any later version.
-.\"
-.\" This is distributed in the hope that it will be useful, but
-.\" WITHOUT ANY WARRANTY; without even the implied warranty of
-.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-.\" GNU General Public License for more details.
-.\"
-.\" You should have received a copy of the GNU General Public
-.\" License along with APT; if not, write to the Free Software
-.\" Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-.\" 02111-1307 USA
-.TH sources.list 5 "16 June 1998" "Debian GNU/Linux"
-.SH NAME
-sources.list \- package resource list for APT
-.SH DESCRIPTION
-The package resource list is used to locate archives of the package
-distribution system in use on the system. At this time, this manual page
-documents only the packaging system used by the Debian GNU/Linux system.
-.PP
-The source list is designed to support any number of active sources and a
-variety of source media. The file lists one source per line, with the
-most preferred source listed first. The format of each line is:
-.I type uri args
-The first item,
-.IR type ,
-determines the format for
-.IR args .
-.I uri
-is a Universal Resource Identifier (URI), which is a superset of the more
-specific and well-known Universal Resource Locator, or URL.
-.SS The deb type
-The
-.B deb
-type describes a typical two-level Debian archive,
-.IR distribution / component .
-Typically,
-.I distribution
-is one of
-.BR stable ,
-.BR unstable ,
-or
-.BR frozen ,
-while component is one of
-.BR main ,
-.BR contrib ,
-.BR non-free ,
-or
-.BR non-us .
-The format for a
-.I sources.list
-entry using the
-.B deb
-type is:
-.RS
-deb
-.I uri distribution
-.RI [ component
-.I ...
-]
-.RE
-The URI for the
-.B deb
-type must specify the base of the Debian distribution, from which
-.B APT
-will find the information it needs.
-.I distribution
-can specify an exact path, in which case the
-.IR component s
-must be omitted and
-.I distribution
-must end with a slash (/). This is useful for when only a particular
-sub-section of the archive denoted by the URI is of interest.
-If
-.I distribution
-does not specify an exact path, at least one
-.I component
-must be present.
-.PP
-.I distribution
-may also contain a variable,
-.BR $(ARCH) ,
-which expands to the Debian architecture (i386, m68k, powerpc, ...)
-used on the system. This permits archiecture-independent
-.I sources.list
-files to be used.
-.PP
-Since only one distribution can be specified per line it may be necessary
-to have multiple lines for the same URI, if a subset of all available
-distributions or components at that location is desired.
-.B APT
-will sort the URI list after it has generated a complete set internally,
-and will collapse multiple references to the same Internet host, for
-instance, into a single connection, so that it does not inefficiently
-establish an FTP connection, close it, do something else, and then
-re-establish a connection to that same host. This feature is useful
-for accessing busy FTP sites with limits on the number of simultaneous
-anonymous users.
-.PP
-It is important to list sources in order of preference, with the most
-preferred source listed first. Typically this will result in sorting
-by speed from fastest to slowest (CD-ROM followed by hosts on a local
-network, followed by distant Internet hosts, for example).
-.SS URI specification
-The three currently recognized URI types are file, http, and ftp.
-.IP file
-The file scheme allows an arbitrary directory in the file system to be
-considered an archive. This is useful for NFS mounts and local mirrors or
-archives.
-.IP http
-The http scheme specifies an HTTP server for the archive. If an environment
-variable
-.B $http_proxy
-is set with the format
-.\" Ugly hackery ahead, nroff doesn't like three different typefaces in a
-.\" row with no spaces between anything.
-.BI http:// server : port /\c
-, the proxy server specified in
-.B $http_proxy
-will be used. Users of
-authenticated HTTP/1.1 proxies may use a string of the format
-.BI http:// user : pass @ server : port /\c
-.\" For some reason, starting the next line with \. didn't work. So we kludge.
-\&. Note that this is an insecure method of authentication.
-.IP ftp
-The ftp scheme specifies an FTP server for the archive. APT's FTP behavior
-is highly configurable; for more information see the
-.BR ftp.conf (5)
-manual page.
-.SH EXAMPLES
-.IP "deb file:/home/jason/debian stable main contrib non-free"
-Uses the archive stored locally (or NFS mounted) at
-.I /home/jason/debian
-for stable/main, stable/contrib, and stable/non-free.
-.IP "deb file:/home/jason/debian unstable main contrib non-free"
-As above, except this uses the unstable (development) distribution.
-.IP "deb http://www.debian.org/archive stable main"
-Uses HTTP to access the archive at www.debian.org, and uses only the
-stable/main area.
-.IP "deb ftp://ftp.debian.org/debian stable contrib"
-Uses FTP to access the archive at ftp.debian.org, under the debian
-directory, and uses only the stable/contrib area.
-.IP "deb ftp://ftp.debian.org/debian unstable contrib"
-Uses FTP to access the archive at ftp.debian.org, under the debian
-directory, and uses only the unstable/contrib area. If this line appears as
-well as the one in the previous example in
-.IR sources.list ,
-a single FTP session will be used for both resource lines.
-.IP "deb ftp://nonus.debian.org/debian-non-US unstable/binary-i386/"
-Uses FTP to access the archive at nonus.debian.org, under the debian-non-US
-directory, and uses only files found under unstable/binary-i386.
-.IP "deb http://ftp.de.debian.org/debian-non-US unstable/binary-$(ARCH)/"
-Uses HTTP to access the archive at nonus.debian.org, under the
-debian-non-US directory, and uses only files found under
-unstable/binary-i386 on i386 machines, unstable/binary-m68k on m68k, and so
-forth for other supported architectures.
-.SH SEE ALSO
-.BR apt-cache (8),
-.BR apt-get (8),
-.SH BUGS
-See <http://www.debian.org/Bugs/db/pa/lapt.html>. If you wish to report a
-bug in
-.BR apt-get ,
-please see
-.I /usr/doc/debian/bug-reporting.txt
-or the
-.BR bug (1)
-command.
-.SH AUTHOR
-APT was written by the APT team <apt@packages.debian.org>.
diff --git a/doc/sources.list.5.yo b/doc/sources.list.5.yo new file mode 100644 index 000000000..588c67dd8 --- /dev/null +++ b/doc/sources.list.5.yo @@ -0,0 +1,128 @@ +mailto(apt@packages.debian.org) +manpage(sources.list)(5)(5 Dec 1998)(apt)() +manpagename(sources.list)(package resource list for APT) + +manpagedescription() +The package resource list is used to locate archives of the package +distribution system in use on the system. At this time, this manual page +documents only the packaging system used by the Debian GNU/Linux system. + +The source list is designed to support any number of active sources and a +variety of source media. The file lists one source per line, with the +most preferred source listed first. The format of each line is: +em(type uri args) The first item, em(type), determines the format for +em(args). em(uri) is a Universal Resource Identifier (URI), which is a +superset of the more specific and well-known Universal Resource Locator, or +URL. + +manpagesection(The deb type) +The bf(deb) type describes a typical two-level Debian archive, +em(distribution/component). Typically, em(distribution) is one of +em(stable), em(unstable), or em(frozen), while component is one of +em(main), em(contrib), em(non-free), or em(non-us). +The format for a bf(sources.list) entry using the em(deb) +type is: +verb(deb uri distribution [component1] [componenent2] [...]) +The URI for the em(deb) type must specify the base of the Debian distribution, +from which bf(APT) will find the information it needs. em(distribution) +can specify an exact path, in which case the em(component)s +must be omitted and bf(distribution) must end with a slash (/). This is +useful for when only a particular sub-section of the archive denoted by the +URI is of interest. If bf(distribution) does not specify an exact path, at +least one bf(component) must be present. + +bf(distribution) may also contain a variable, bf($(ARCH)), +which expands to the Debian architecture (i386, m68k, powerpc, ...) +used on the system. This permits archiecture-independent +bf(sources.list) files to be used. In general this is only of interest +when specifying an exact path, bf(APT) will automatically generate a URI +with the current architecture otherwise. + +Since only one distribution can be specified per line it may be necessary +to have multiple lines for the same URI, if a subset of all available +distributions or components at that location is desired. +bf(APT) will sort the URI list after it has generated a complete set +internally, and will collapse multiple references to the same Internet host, +for instance, into a single connection, so that it does not inefficiently +establish an FTP connection, close it, do something else, and then +re-establish a connection to that same host. This feature is useful +for accessing busy FTP sites with limits on the number of simultaneous +anonymous users. bf(APT) also parallizes connections to different hosts +to more effectively deal with sites with low bandwidth. + +It is important to list sources in order of preference, with the most +preferred source listed first. Typically this will result in sorting +by speed from fastest to slowest (CD-ROM followed by hosts on a local +network, followed by distant Internet hosts, for example). + +manpagesection(URI specification) +The currently recognized URI types are cdrom, file, http, and ftp. + +startdit() +dit(bf(file)) +The file scheme allows an arbitrary directory in the file system to be +considered an archive. This is useful for NFS mounts and local mirrors or +archives. + +dit(bf(cdrom)) +The cdrom scheme allows bf(APT) to use a local CDROM drive with media +swapping. Use the bf(apt-cdrom(8)) program to create cdrom entires in the +source list. + +dit(bf(http)) +The http scheme specifies an HTTP server for the archive. If an environment +variable bf($http_proxy) is set with the format +bf(http://server:port/), the proxy server specified in +bf($http_proxy) will be used. Users of authenticated HTTP/1.1 proxies may +use a string of the format bf(http://user:pass@server:port/) +Note that this is an insecure method of authentication. + +dit(bf(ftp)) +The ftp scheme specifies an FTP server for the archive. APT's FTP behavior +is highly configurable; for more information see the +bf(apt.conf(5)) manual page. +enddit() + +manpagesection(EXAMPLES) +Uses the archive stored locally (or NFS mounted) at /home/jason/debian +for stable/main, stable/contrib, and stable/non-free. +quote("deb file:/home/jason/debian stable main contrib non-free") + +As above, except this uses the unstable (development) distribution. +quote("deb file:/home/jason/debian unstable main contrib non-free") + +Uses HTTP to access the archive at www.debian.org, and uses only the +stable/main area. +quote("deb http://www.debian.org/archive stable main") + +Uses FTP to access the archive at ftp.debian.org, under the debian +directory, and uses only the stable/contrib area. +quote("deb ftp://ftp.debian.org/debian stable contrib") + +Uses FTP to access the archive at ftp.debian.org, under the debian +directory, and uses only the unstable/contrib area. If this line appears as +well as the one in the previous example in bf(sources.list), +a single FTP session will be used for both resource lines. +quote("deb ftp://ftp.debian.org/debian unstable contrib") + +Uses FTP to access the archive at nonus.debian.org, under the debian-non-US +directory, and uses only files found under unstable/binary-i386. +quote("deb ftp://nonus.debian.org/debian-non-US unstable/binary-i386/") + +Uses HTTP to access the archive at nonus.debian.org, under the +debian-non-US directory, and uses only files found under +unstable/binary-i386 on i386 machines, unstable/binary-m68k on m68k, and so +forth for other supported architectures. +quote("deb http://ftp.de.debian.org/debian-non-US unstable/binary-$(ARCH)/") + +manpageseealso() +apt-cache (8), +apt.conf (5) + +manpagebugs() +See http://www.debian.org/Bugs/db/pa/lapt.html. If you wish to report a +bug in bf(apt-get), please see bf(/usr/doc/debian/bug-reporting.txt) +or the bf(bug(1)) command. + +manpageauthor() +apt-get was written by the APT team <apt@packages.debian.org>. |