svn commit: r39969 - head/en_US.ISO8859-1/books/faq

Eitan Adler eadler at FreeBSD.org
Fri Nov 9 18:53:24 UTC 2012


Author: eadler
Date: Fri Nov  9 18:53:24 2012
New Revision: 39969
URL: http://svnweb.freebsd.org/changeset/doc/39969

Log:
  Answer the question "how do I go back from pkgng?"
  
  This is the first mention of pkgng in the FAQ
  
  Approved by:	bcr (mentor)

Modified:
  head/en_US.ISO8859-1/books/faq/book.xml

Modified: head/en_US.ISO8859-1/books/faq/book.xml
==============================================================================
--- head/en_US.ISO8859-1/books/faq/book.xml	Fri Nov  9 18:53:21 2012	(r39968)
+++ head/en_US.ISO8859-1/books/faq/book.xml	Fri Nov  9 18:53:24 2012	(r39969)
@@ -4272,6 +4272,27 @@ kern.timecounter.hardware: TSC -> i82
 	    </para>
 	</answer>
       </qandaentry>
+
+      <qandaentry>
+	<question id="convert-back-from-pkgng">
+	  <para>How can I convert from pkgng to the old package
+	    tools?</para>
+	</question>
+
+	<answer>
+	  <para>Short answer: it is not possible.</para>
+
+	  <para>Longer answer: if you have made any changes using
+	    <command>pkg</command> converting back is non-trivial and
+	    requires lots of manual editing of internal package
+	    database files.  However, if you have just run
+	    <command>pkg2ng</command> then you may remove
+	    <filename>/var/db/pkg/local.sqlite</filename>
+	    and extract
+	    <filename>/var/backups/pkgdb.bak.tbz</filename>.
+	  </para>
+	</answer>
+      </qandaentry>
     </qandaset>
   </chapter>
 


More information about the svn-doc-head mailing list