[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Release Notes: Commands in examples [patch]



Attached is a patch to improve how commands are used in examples. This is 
just to make all the usage of command homogeneous (sp?) so:

1- A command that needs to run as root is preceded by '#'
2- A command run by an average user is preceded by '$'

If nobody is against this patch I will commit it to CVS in a few days.

Regards

Javier
Index: release-notes.en.sgml
===================================================================
RCS file: /cvs/debian-doc/ddp/manuals.sgml/release-notes/en/release-notes.en.sgml,v
retrieving revision 1.28
diff -u -r1.28 release-notes.en.sgml
--- release-notes.en.sgml	16 May 2005 23:05:11 -0000	1.28
+++ release-notes.en.sgml	16 May 2005 23:28:07 -0000
@@ -274,7 +289,7 @@
 	  This is done with:</p> 
 
 	  <p><example>
-apt-get install aptitude
+# apt-get install aptitude
 	  </example></p>
 
           <p>Provided that you have a working APT configuration this will
@@ -334,7 +349,7 @@
           using <prgn/aptitude/. With 
 	  
       	  <example>
-aptitude hold | unhold &lt;package&gt;
+# aptitude hold | unhold &lt;package&gt;
       	  </example>
     	    </p>
         </sect1>
@@ -474,15 +489,15 @@
           <p>To verify it works, insert a CD and try running
 
           <example>
-mount /cdrom   # this will mount the CD to the mount point
-ls -alF /cdrom # this should show the CD's root directory
-umount /cdrom  # this will unmount the CD
+$ mount /cdrom   # this will mount the CD to the mount point
+$ ls -alF /cdrom # this should show the CD's root directory
+$ umount /cdrom  # this will unmount the CD
           </example></p>
 
           <p>Next, run:
 
           <example>
-apt-cdrom add
+# apt-cdrom add
           </example>
 
           for each Debian Binary CD-ROM you have, to add the data about
@@ -502,7 +517,7 @@
           like:
 
           <example>
-mount -o remount,rw /<var>mountpoint</var>
+# mount -o remount,rw /<var>mountpoint</var>
           </example></p>
 
 	  <p>Next ensure that the APT source entries (in
@@ -517,7 +532,7 @@
 	  report. To start the recording, type:
 
           <example>
-script -a ~/upgrade-to-&releasename;.typescript
+# script -a ~/upgrade-to-&releasename;.typescript
           </example>
 
 	  or similar. Do not put the typescript file in a temporary
@@ -529,7 +544,7 @@
 	  updated packages for the new release. This is done by executing:</p>
 	  
 	  <p><example>
-aptitude update
+# aptitude update
 	  </example></p>
 
 	  <p>Once <prgn>aptitude</prgn> has information on all the available
@@ -539,19 +554,19 @@
           using:</p>
           
           <p><example>
-dpkg -l doc-base
+$ dpkg -l doc-base
           </example></p>
 
           <p>If the line of output begins with "i" then it is installed and
           must be upgraded before continuing.</p>
 
           <p><example>
-aptitude install doc-base
+# aptitude install doc-base
           </example></p>
           <p>You are now ready to continue with the main part of the
           upgrade. Execute:</p>
 	  <p><example>
-aptitude -f --with-recommends dist-upgrade
+# aptitude -f --with-recommends dist-upgrade
 	  </example></p>
 
 	  <p>This will perform a complete upgrade of the system, i.e.  install
@@ -593,21 +608,21 @@
           using <prgn/aptitude/ or
 
           <example>
-dpkg --remove <var>packagename</var>
+# dpkg --remove <var>packagename</var>
           </example>
 
           to eliminate some of the offending packages, or
  
           <example>
-aptitude --fix-broken install
-dpkg --configure --pending
+# aptitude --fix-broken install
+# dpkg --configure --pending
           </example></p>
 
           <p>In extreme cases you might have to force re-installation with a
           command like
 
           <example>
-dpkg --install /path/to/packagename.deb
+# dpkg --install /path/to/packagename.deb
           </example></p>
 
           <p>After fixing things up, you should be able to resume the

Attachment: signature.asc
Description: Digital signature


Reply to: