summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:53:27 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:53:27 +0000
commit4994560c7e0c580081302063d2f2ac8d81484862 (patch)
tree8e6e3e49c7135e32eb5a9daea0779d454f0715f2 /doc
parent0817301e47d0b1d3ab893039115fa906963af2c9 (diff)
Documented the apt-get source command
Author: jgg Date: 1999-04-07 06:25:03 GMT Documented the apt-get source command
Diffstat (limited to 'doc')
-rw-r--r--doc/apt-get.8.yo17
1 files changed, 15 insertions, 2 deletions
diff --git a/doc/apt-get.8.yo b/doc/apt-get.8.yo
index 9174ffe74..3e6e64a49 100644
--- a/doc/apt-get.8.yo
+++ b/doc/apt-get.8.yo
@@ -18,6 +18,7 @@ itemize(
it() dist-upgrade
it() install package1 [package2] [...]
it() remove package1 [package2] [...]
+ it() source package1 [package2] [...]
it() check
it() clean
it() autoclean
@@ -34,7 +35,9 @@ location(s) specified in bf(/etc/apt/sources.list).
For example, when using a Debian archive, this command retrieves and
scans the bf(Packages.gz) files, so that information about new and updated
packages is available. An bf(update) should always be performed before an
-bf(upgrade) bf(dist-upgrade).
+bf(upgrade) bf(dist-upgrade). Please be aware that the overall progress
+meter will be incorrect as the size of the package files cannot be known in
+advance.
dit(bf(upgrade))
bf(upgrade) is used to install the newest versions of all packages currently
@@ -79,6 +82,15 @@ 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(source))
+bf(source) causes apt-get to fetch source packages. APT will examine the
+available packages to decide which source package to fetch. It will then
+find and download into the current directory the newest available version of
+that source package. Source packages are tracked seperately from binary
+packages via df(deb-src) type lines in the bf(/etc/apt/sources.list) file.
+This probably will mean that you will not get the same source as the package
+you have installed or as you could install.
+
dit(bf(check))
bf(check) is a diagnostic tool; it updates the package cache and checks for
brokenpackages.
@@ -181,7 +193,8 @@ dit(bf(--print-uris))
Instead of fetching the files to install their URIs are printed. Each
URI will have the path, the destination file name, the size and the expected
md5 hash. Note that the file name to write to will not always match
-the file name on the remote site! See bf(APT::Get::Print-URIs).
+the file name on the remote site! This also works with the bf(source)
+command See bf(APT::Get::Print-URIs).
dit(bf(-c, --config-file))
Configuration File; Specify a configuration file to use. bf(apt-get) will