Answer the question "how do I go back from pkgng?"
This is the first mention of pkgng in the FAQ Approved by: bcr (mentor)
This commit is contained in:
parent
548d3ec0b4
commit
07457e2d6b
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=39969
1 changed files with 21 additions and 0 deletions
|
@ -4272,6 +4272,27 @@ kern.timecounter.hardware: TSC -> i8254</screen>
|
|||
</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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue