Date: Fri, 9 Nov 2012 18:53:24 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r39969 - head/en_US.ISO8859-1/books/faq Message-ID: <201211091853.qA9IrO2q034630@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211091853.qA9IrO2q034630>