Selaa lähdekoodia

Apply typo and syntax patch from bug(155194) to apt-cac...
Author: doogie
Date: 2003-04-24 03:30:59 GMT
Apply typo and syntax patch from bug(155194) to apt-cache.8.sgml.

Arch Librarian 22 vuotta sitten
vanhempi
commit
c26a18b93c
2 muutettua tiedostoa jossa 40 lisäystä ja 39 poistoa
  1. 2 0
      debian/changelog
  2. 38 39
      doc/apt-cache.8.sgml

+ 2 - 0
debian/changelog

@@ -97,6 +97,8 @@ apt (0.5.4.9) unstable; urgency=low
     Closes: #178537
     Closes: #178537
   * Remove trailing lines on package lists in apt-get.  Closes: #178736.
   * Remove trailing lines on package lists in apt-get.  Closes: #178736.
   * Fix origin pins for file:// uris.  Closes: #189014.
   * Fix origin pins for file:// uris.  Closes: #189014.
+  * Apply typo and syntax patch from bug to apt-cache.8.sgml.  Closes:
+    #155194
 
 
  -- Adam Heath <doogie@debian.org>  Sun, 02 Feb 2003 02:54:45 -0600
  -- Adam Heath <doogie@debian.org>  Sun, 02 Feb 2003 02:54:45 -0600
 
 

+ 38 - 39
doc/apt-cache.8.sgml

@@ -55,11 +55,11 @@
    from the package metadata.
    from the package metadata.
 
 
    <para>
    <para>
-   Unless the <option/-h/, or <option/--help/ option is given one of the
+   Unless the <option/-h/, or <option/--help/ option is given, one of the
    commands below must be present.
    commands below must be present.
 
 
    <VariableList>
    <VariableList>
-     <VarListEntry><Term>add</Term>
+     <VarListEntry><Term>add <replaceable/file(s)/</Term>
      <ListItem><Para>
      <ListItem><Para>
      <literal/add/ adds the named package index files to the package cache.
      <literal/add/ adds the named package index files to the package cache.
      This is for debugging only.
      This is for debugging only.
@@ -72,7 +72,7 @@
      the sources in &sources-list; and from <filename>/var/lib/dpkg/status</>.
      the sources in &sources-list; and from <filename>/var/lib/dpkg/status</>.
      </VarListEntry>
      </VarListEntry>
 
 
-     <VarListEntry><Term>showpkg</Term>
+     <VarListEntry><Term>showpkg <replaceable/pkg(s)/</Term>
      <ListItem><Para>
      <ListItem><Para>
      <literal/showpkg/ displays information about the packages listed on the 
      <literal/showpkg/ displays information about the packages listed on the 
      command line. Remaining arguments are package names. The available 
      command line. Remaining arguments are package names. The available 
@@ -102,7 +102,7 @@ Reverse Provides:
      Thus it may be seen that libreadline2, version 2.1-12, depends on libc5 and
      Thus it may be seen that libreadline2, version 2.1-12, depends on libc5 and
      ncurses3.0 which must be installed for libreadline2 to work. 
      ncurses3.0 which must be installed for libreadline2 to work. 
      In turn, libreadlineg2 and libreadline2-altdev depend on libreadline2. If
      In turn, libreadlineg2 and libreadline2-altdev depend on libreadline2. If
-     libreadline2 is installed, libc5, ncurses3.0, and ldso must also be
+     libreadline2 is installed, libc5 and ncurses3.0 (and ldso) must also be
      installed; libreadlineg2 and libreadline2-altdev do not have to be
      installed; libreadlineg2 and libreadline2-altdev do not have to be
      installed. For the specific meaning of the remainder of the output it
      installed. For the specific meaning of the remainder of the output it
      is best to consult the apt source code.
      is best to consult the apt source code.
@@ -145,14 +145,14 @@ Reverse Provides:
        <literal/Mixed virtual packages/ is the number of packages that either 
        <literal/Mixed virtual packages/ is the number of packages that either 
        provide a particular virtual package or have the virtual package name 
        provide a particular virtual package or have the virtual package name 
        as the package name. For instance, in the Debian GNU/Linux system, 
        as the package name. For instance, in the Debian GNU/Linux system, 
-       debconf is both an actual package, and provided by the debconf-tiny
+       "debconf" is both an actual package, and provided by the debconf-tiny
        package.
        package.
        </listitem>
        </listitem>
    
    
        <listitem><para>
        <listitem><para>
        <literal/Missing/ is the number of package names that were referenced in
        <literal/Missing/ is the number of package names that were referenced in
        a dependency but were not provided by any package. Missing packages may 
        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
+       be in evidence if a full distribution is not accessed, or if a package
        (real or virtual) has been dropped from the distribution. Usually they
        (real or virtual) has been dropped from the distribution. Usually they
        are referenced from Conflicts statements.
        are referenced from Conflicts statements.
        </listitem>
        </listitem>
@@ -172,12 +172,11 @@ Reverse Provides:
      </itemizedlist>
      </itemizedlist>
      </VarListEntry>
      </VarListEntry>
      
      
-     <VarListEntry><Term>showsrc</Term>
+     <VarListEntry><Term>showsrc <replaceable/pkg(s)/</Term>
      <ListItem><Para>
      <ListItem><Para>
      <literal/showsrc/ displays all the source package records that match
      <literal/showsrc/ displays all the source package records that match
      the given package names. All versions are shown, as well as all 
      the given package names. All versions are shown, as well as all 
      records that declare the name to be a Binary.
      records that declare the name to be a Binary.
-     named packages.
      </VarListEntry>
      </VarListEntry>
      
      
      <VarListEntry><Term>dump</Term>
      <VarListEntry><Term>dump</Term>
@@ -198,63 +197,63 @@ Reverse Provides:
      package cache.
      package cache.
      </VarListEntry>
      </VarListEntry>
 
 
-     <VarListEntry><Term>show</Term>
+     <VarListEntry><Term>show <replaceable/pkg(s)/</Term>
      <ListItem><Para>
      <ListItem><Para>
      <literal/show/ performs a function similar to 
      <literal/show/ performs a function similar to 
-     <command>dpkg --print-avail</>, it displays the package records for the 
+     <command>dpkg --print-avail</>i; it displays the package records for the 
      named packages.
      named packages.
      </VarListEntry>
      </VarListEntry>
 
 
-     <VarListEntry><Term>search</Term>
+     <VarListEntry><Term>search <replaceable/regex [ regex ... ]/</Term>
      <ListItem><Para>
      <ListItem><Para>
      <literal/search/ performs a full text search on all available package 
      <literal/search/ performs a full text search on all available package 
-     files for the regex pattern given. It searchs the package names and the 
-     descriptions for an occurance of the string and prints out the package 
+     files for the regex pattern given. It searches the package names and the 
+     descriptions for an occurrence of the string and prints out the package 
      name and the short description. If <option/--full/ is given then output 
      name and the short description. If <option/--full/ is given then output 
-     identical to <literal/show/ is produced for each matched package and 
+     identical to <literal/show/ is produced for each matched package, and 
      if <option/--names-only/ is given then the long description is not 
      if <option/--names-only/ is given then the long description is not 
      searched, only the package name is.
      searched, only the package name is.
      <para>
      <para>
-     Seperate arguments can be used to specified multiple search patterns that 
-     are and'd together.
+     Seperate arguments can be used to specify multiple search patterns that 
+     are and'ed together.
      </VarListEntry>
      </VarListEntry>
 
 
-     <VarListEntry><Term>depends</Term>
+     <VarListEntry><Term>depends <replaceable/pkg(s)/</Term>
      <ListItem><Para>
      <ListItem><Para>
      <literal/depends/ shows a listing of each dependency a package has 
      <literal/depends/ shows a listing of each dependency a package has 
-     and all the possible other packages that can fullfill that dependency.
+     and all the possible other packages that can fulfill that dependency.
      </VarListEntry>
      </VarListEntry>
 
 
-     <VarListEntry><Term>pkgnames</Term>
+     <VarListEntry><Term>pkgnames <replaceable/[ prefix ]/</Term>
      <ListItem><Para>
      <ListItem><Para>
      This command prints the name of each package in the system. The optional
      This command prints the name of each package in the system. The optional
      argument is a prefix match to filter the name list. The output is suitable
      argument is a prefix match to filter the name list. The output is suitable
      for use in a shell tab complete function and the output is generated 
      for use in a shell tab complete function and the output is generated 
-     extremly quickly. This command is best used with the 
+     extremely quickly. This command is best used with the 
      <option/--generate/ option.
      <option/--generate/ option.
      </VarListEntry>
      </VarListEntry>
      
      
-     <VarListEntry><Term>dotty</Term>
+     <VarListEntry><Term>dotty <replaceable/pkg(s)/</Term>
      <ListItem><Para>
      <ListItem><Para>
      <literal/dotty/ takes a list of packages on the command line and 
      <literal/dotty/ takes a list of packages on the command line and 
-     gernerates output suitable for use by dotty from the 
+     generates output suitable for use by dotty from the 
      <ulink url="http://www.research.att.com/sw/tools/graphviz/">GraphViz</>
      <ulink url="http://www.research.att.com/sw/tools/graphviz/">GraphViz</>
      package. The result will be a set of nodes and edges representing the 
      package. The result will be a set of nodes and edges representing the 
      relationships between the packages. By default the given packages will 
      relationships between the packages. By default the given packages will 
-     trace out all dependent packages which can produce a very large graph. 
-     This can be turned off by setting the 
-     <literal>APT::Cache::GivenOnly</> option.
+     trace out all dependent packages; this can produce a very large graph. 
+     To limit the output to only the packages listed on the command line,
+     set the <literal>APT::Cache::GivenOnly</> option.
 
 
      <para>
      <para>
-     The resulting nodes will have several shapse, normal packages are boxes,
+     The resulting nodes will have several shapes; normal packages are boxes,
      pure provides are triangles, mixed provides are diamonds, 
      pure provides are triangles, mixed provides are diamonds, 
-     hexagons are missing packages. Orange boxes mean recursion was stopped 
-     [leaf packages], blue lines are prre-depends, green lines are conflicts.
+     missing packages are hexagons. Orange boxes mean recursion was stopped 
+     [leaf packages], blue lines are pre-depends, green lines are conflicts.
 
 
      <para>
      <para>
      Caution, dotty cannot graph larger sets of packages.
      Caution, dotty cannot graph larger sets of packages.
      
      
-     <VarListEntry><Term>policy</Term>
+     <VarListEntry><Term>policy <replaceable/[ pkg(s) ]</Term>
      <ListItem><Para>
      <ListItem><Para>
      <literal/policy/ is ment to help debug issues relating to the 
      <literal/policy/ is ment to help debug issues relating to the 
      preferences file. With no arguments it will print out the 
      preferences file. With no arguments it will print out the 
@@ -287,14 +286,14 @@ Reverse Provides:
      <VarListEntry><term><option/-q/</><term><option/--quiet/</>
      <VarListEntry><term><option/-q/</><term><option/--quiet/</>
      <ListItem><Para>
      <ListItem><Para>
      Quiet; produces output suitable for logging, omitting progress indicators.
      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
-     <option/-q=#/ to set the quiet level, overriding the configuration file.
+     More qs will produce more quietness up to a maximum of 2. You can also use
+     <option/-q=#/ to set the quietness level, overriding the configuration file.
      Configuration Item: <literal/quiet/.
      Configuration Item: <literal/quiet/.
      </VarListEntry>
      </VarListEntry>
 
 
      <VarListEntry><term><option/-i/</><term><option/--important/</>
      <VarListEntry><term><option/-i/</><term><option/--important/</>
      <ListItem><Para>
      <ListItem><Para>
-     Print only important deps; for use with unmet causes only Depends and 
+     Print only important deps; for use with unmet. Causes only Depends and 
      Pre-Depends relations to be printed.
      Pre-Depends relations to be printed.
      Configuration Item: <literal/APT::Cache::Important/.
      Configuration Item: <literal/APT::Cache::Important/.
      </VarListEntry>
      </VarListEntry>
@@ -307,21 +306,21 @@ Reverse Provides:
 
 
      <VarListEntry><term><option/-a/</><term><option/--all-versions/</>
      <VarListEntry><term><option/-a/</><term><option/--all-versions/</>
      <ListItem><Para>
      <ListItem><Para>
-     Print full records for all available versions, this is only applicable to 
-     the show command. 
+     Print full records for all available versions. This is only applicable to 
+     the <literal/show/ command. 
      Configuration Item: <literal/APT::Cache::AllVersions/.
      Configuration Item: <literal/APT::Cache::AllVersions/.
      </VarListEntry>
      </VarListEntry>
 
 
      <VarListEntry><term><option/-g/</><term><option/--generate/</>
      <VarListEntry><term><option/-g/</><term><option/--generate/</>
      <ListItem><Para>
      <ListItem><Para>
      Perform automatic package cache regeneration, rather than use the cache 
      Perform automatic package cache regeneration, rather than use the cache 
-     as it is. This is the default, to turn it off use <option/--no-generate/.
+     as it is. This is the default; to turn it off, use <option/--no-generate/.
      Configuration Item: <literal/APT::Cache::Generate/.
      Configuration Item: <literal/APT::Cache::Generate/.
      </VarListEntry>
      </VarListEntry>
 
 
      <VarListEntry><term><option/--names-only/</><term><options/-n/</>
      <VarListEntry><term><option/--names-only/</><term><options/-n/</>
      <ListItem><Para>
      <ListItem><Para>
-     Only search on the package names, not the long description. 
+     Only search on the package names, not the long descriptions. 
      Configuration Item: <literal/APT::Cache::NamesOnly/.
      Configuration Item: <literal/APT::Cache::NamesOnly/.
      </VarListEntry>
      </VarListEntry>
 
 
@@ -348,20 +347,20 @@ Reverse Provides:
    <variablelist>
    <variablelist>
      <VarListEntry><term><filename>/etc/apt/sources.list</></term>
      <VarListEntry><term><filename>/etc/apt/sources.list</></term>
      <ListItem><Para>
      <ListItem><Para>
-     locations to fetch packages from.
+     Locations to fetch packages from.
      Configuration Item: <literal/Dir::Etc::SourceList/.
      Configuration Item: <literal/Dir::Etc::SourceList/.
      </VarListEntry>
      </VarListEntry>
      
      
      <VarListEntry><term><filename>&statedir;/lists/</></term>
      <VarListEntry><term><filename>&statedir;/lists/</></term>
      <ListItem><Para>
      <ListItem><Para>
-     storage area for state information for each package resource specified in
+     Storage area for state information for each package resource specified in
      &sources-list;
      &sources-list;
      Configuration Item: <literal/Dir::State::Lists/.
      Configuration Item: <literal/Dir::State::Lists/.
      </VarListEntry>
      </VarListEntry>
   
   
      <VarListEntry><term><filename>&statedir;/lists/partial/</></term>
      <VarListEntry><term><filename>&statedir;/lists/partial/</></term>
      <ListItem><Para>
      <ListItem><Para>
-     storage area for state information in transit.
+     Storage area for state information in transit.
      Configuration Item: <literal/Dir::State::Lists/ (implicit partial).
      Configuration Item: <literal/Dir::State::Lists/ (implicit partial).
      </VarListEntry>     
      </VarListEntry>     
    </variablelist>
    </variablelist>