mirror-tutorial mirror-tutorial-en.xml,1.18,1.19

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Thu Nov 17 12:44:03 UTC 2005


Author: pfrields

Update of /cvs/docs/mirror-tutorial
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6428

Modified Files:
	mirror-tutorial-en.xml 
Log Message:
Fixed createrepo and yum-arch command issues (#172819)



Index: mirror-tutorial-en.xml
===================================================================
RCS file: /cvs/docs/mirror-tutorial/mirror-tutorial-en.xml,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- mirror-tutorial-en.xml	15 Nov 2005 14:28:05 -0000	1.18
+++ mirror-tutorial-en.xml	17 Nov 2005 12:43:56 -0000	1.19
@@ -6,8 +6,8 @@
 %FEDORA-ENTITIES-EN;
 
 <!ENTITY BOOKNAME "mirror-tutorial">
-<!ENTITY BOOKVERSION "0.36">
-<!ENTITY BOOKDATE "2005-11-11">
+<!ENTITY BOOKVERSION "0.37">
+<!ENTITY BOOKDATE "2005-11-17">
 <!ENTITY BOOKID "&BOOKNAME;-&BOOKVERSION; (&BOOKDATE;)"> <!-- change version of manual and date here -->
 
 <!ENTITY BUG-NUM "130125">
@@ -203,6 +203,16 @@
 	  </para>
 	</revdescription>
       </revision>
+      <revision>
+	<revnumber>0.37</revnumber>
+	<date>2005-11-17</date>
+	<authorinitials>PaulWFrields</authorinitials>
+	<revdescription>
+	  <para>
+	    Fixed createrepo and yum-arch command issues (#172819).
+	  </para>
+	</revdescription>
+      </revision>
     </revhistory>
   </articleinfo>
 
@@ -1263,27 +1273,31 @@
       <section id="sn-yum-arch">
 	<title><command>yum-arch</command></title>
 	<para>
-	  A directory which supports older versions of
-	  <command>yum</command> (before 2.2) is named
-	  <filename>headers</filename>. It is created by using the
-	  command <command>yum-arch</command>, which is run against the
-	  directory <emphasis>under which</emphasis> you want the
-	  <filename>headers</filename> directory to appear. The
+	  The <command>yum-arch</command> command creates a directory
+	  named <filename>headers/</filename> which supports older
+	  versions of <command>yum</command> (before 2.2). The
 	  <command>yum-arch</command> program searches recursively
-	  through that directory and any subdirectories for RPM
-	  packages, and includes them in the header data.
+	  through a target directory and any subdirectories for RPM
+	  packages, and includes them in the header data.  The
+	  <command>yum-arch</command> command always creates the
+	  <filename>headers/</filename> directory in the current working
+	  directory.  Therefore you should change your working directory
+	  to the directory where you want <filename>headers/</filename>
+	  to appear.
 	</para>
 
 <screen>
-<userinput>su -c 'yum-arch -l -s /var/www/mirror/fedora/linux/core/&FCVER;/i386/os'</userinput>
+<userinput>cd /var/www/mirror/fedora/linux/core/&FCVER;/i386/os
+su -c 'yum-arch -ls .'</userinput>
 </screen>
 
 	<para>
-	  The <command>-l</command> switch follows symbolic links. The
+	  Enter the root password at the prompt.  The
+	  <command>-l</command> switch follows symbolic links. The
 	  <command>-s</command> switch includes SRPMS (source RPM
 	  packages) in the header list. The command above creates the
 	  <command>yum</command> header cache in the directory
-	  <filename>/var/www/mirror/fedora/linux/core/&FCVER;/i386/os/headers</filename>.
+	  <filename>/var/www/mirror/fedora/linux/core/&FCVER;/i386/os/headers/</filename>.
 	</para>
       </section>
 




More information about the docs-commits mailing list