[rpm-guide] Fixed XML errors
Ben Cotton
bcotton at fedoraproject.org
Thu Oct 21 01:22:32 UTC 2010
commit a1a32a9b989194ba05e7b637df9593211a56d929
Author: Ben Cotton <bcotton at fedoraproject.org>
Date: Wed Oct 20 21:23:09 2010 -0400
Fixed XML errors
en-US/rpm-guide-using-rpm-db.xml | 34 ++++++++++++++++++----------------
1 files changed, 18 insertions(+), 16 deletions(-)
---
diff --git a/en-US/rpm-guide-using-rpm-db.xml b/en-US/rpm-guide-using-rpm-db.xml
index f2d2c0b..a601cd5 100644
--- a/en-US/rpm-guide-using-rpm-db.xml
+++ b/en-US/rpm-guide-using-rpm-db.xml
@@ -55,10 +55,10 @@
files. Both types of query are important:
</para>
<itemizedlist>
- <listitem>Query the RPM database to see what is installed, or not installed,
- on your system.</listitem>
- <listitem>Query package files to see what the files require, as well as what
- the files provide.</listitem>
+ <listitem><para>Query the RPM database to see what is installed, or not installed,
+ on your system.</para></listitem>
+ <listitem><para>Query package files to see what the files require, as well as what
+ the files provide.</para></listitem>
</itemizedlist>
<para>
In addition to querying the RPM database, you can use the database
@@ -92,7 +92,7 @@
<section>
<title>Querying packages</title>
<para>
- The basic format of the <command>rpm –q<command> command follows:
+ The basic format of the <command>rpm –q</command> command follows:
</para>
<para>
<command>rpm –q <replaceable>package_name</replaceable></command>
@@ -189,7 +189,8 @@ lpsolve-5.5.0.15-3.fc13.x86_64
kipi-plugins-1.2.0-1.fc13.x86_64
kbd-1.15-9.fc12.x86_64
perl-Glib-1.201-4.fc12.x86_64
-kdeplasma-addons-4.4.5-1.fc13.x86_64</screen>
+kdeplasma-addons-4.4.5-1.fc13.x86_64
+</screen>
</para>
<para>
This output has been modified to meet size constraints. Try the
@@ -479,7 +480,7 @@ kernel-devel-2.6.33.6-147.fc13.x86_64</screen>
</para>
<para>
First, we need the exact path to the file. For Linux commands,
- you can use the <command>which<command> command, if the program
+ you can use the <command>which</command> command, if the program
is in your path. (The grep program must be in your path, or
commands with grep will fail.)
</para>
@@ -614,6 +615,7 @@ kernel-devel-2.6.33.6-147.fc13.x86_64</screen>
and place the <literal>i</literal> in front of the <literal>q</literal>,
you are telling the rpm command to perform a different operation.
</para>
+ </warning>
<para>
When you run this command, being very careful with the order of
the options, you’ll see output like the following, which
@@ -638,7 +640,8 @@ shell. Tcsh is a command language interpreter which can be used both
as an interactive login shell and as a shell script command processor.
Tcsh includes a command line editor, programmable word completion,
spelling correction, a history mechanism, job control and a C language
-like syntax.</screen>
+like syntax.
+</screen>
<para>
The sections on custom queries following in this chapter show
how you can query for any information stored in a package
@@ -808,13 +811,13 @@ lrwxrwxrwx 1 root root 9 Dec 15 2009 /usr/share/ma
<section id="RPM_Guide-Using_RPM_DB-listing_conf_files">
<title>Listing the configuration files for a package</title>
<para>
- The <option>–c</option> option tells <command>rpm –q<command> to list the
+ The <option>–c</option> option tells <command>rpm –q</command> to list the
configuration files for a package. You can also use the longer
option, <option>--configfiles</option>, in place of <option>–c</option>.
The basic syntax is:
</para>
<para>
- <command>rpm –qc <replaceable>package_name</replaceable><command>
+ <command>rpm –qc <replaceable>package_name</replaceable></command>
</para>
<para>
For example:
@@ -964,7 +967,7 @@ lrwxrwxrwx 1 root root 9 Dec 15 2009 /usr/share/ma
in place of <option>–s</option>.
</para>
<para>
- You can combine the <option>–s<option> option with other file filters,
+ You can combine the <option>–s</option> option with other file filters,
such as <option>–d</option>, for listing only the documentation files
for a package.
</para>
@@ -1422,7 +1425,6 @@ dvb-apps x86_64-redhat-linux-gnu
report-plugin-localsave x86_64-redhat-linux-gnu
glib2-devel x86_64-redhat-linux-gnu
</screen>
- </para>
</section>
<section id="RPM_Guide-Using_RPM_DB-Query_format_tags">
<title>Working With Query Format Tags</title>
@@ -1883,7 +1885,7 @@ sendmail (no Epoch)
following sections on the dependency and file information tags.
</para>
</section>
- <section id=>
+ <section id="RPM_Guide-Using_RPM_DB-querying_pacakge_dependencies">
<title>Querying for Package Dependencies</title>
<para>
A number of tags provide package dependency information. Each
@@ -2719,7 +2721,6 @@ qt-x11 - rpm 4.7.2
</tgroup>
</informaltable>
</section>
- </section>
<section id="RPM_Guide-Using_RPM_DB-Getting_information_on_package_files">
<title>Getting Information on Package Files</title>
<para>
@@ -2736,7 +2737,7 @@ qt-x11 - rpm 4.7.2
the given package file. The basic syntax is:
</para>
<para>
- <command>rpm –qp <replaceable>query_options</replaceable> <replaceable>filename</replaceable>
+ <command>rpm –qp <replaceable>query_options</replaceable> <replaceable>filename</replaceable></command>
</para>
<para>
You can use the longer option, <literal>--package</literal>, in place of <literal>–p</literal>. You
@@ -2867,7 +2868,7 @@ $ rpm -qpl qt-4.6.2-17.fc12.x86_64.rpm
The basic syntax is:
</para>
<para>
- <command>rpm -V <replaceable>verify_options</replaceable> <replaceable>package_name</replaceable>
+ <command>rpm -V <replaceable>verify_options</replaceable> <replaceable>package_name</replaceable></command>
</para>
<para>
For example:
@@ -3433,6 +3434,7 @@ $ rpm -qpl qt-4.6.2-17.fc12.x86_64.rpm
rebuild a damaged RPM database.
</para>
</section>
+</section>
</chapter>
<!--
More information about the docs-commits
mailing list