svn commit: r40020 - projects/pkgng/en_US.ISO8859-1/books/handbook/ports
Glen Barber
gjb at FreeBSD.org
Fri Nov 16 00:04:07 UTC 2012
Author: gjb
Date: Fri Nov 16 00:04:06 2012
New Revision: 40020
URL: http://svnweb.freebsd.org/changeset/doc/40020
Log:
Document pkg-audit.
Based on notes from: wblock, swills
Modified:
projects/pkgng/en_US.ISO8859-1/books/handbook/ports/chapter.xml
Modified: projects/pkgng/en_US.ISO8859-1/books/handbook/ports/chapter.xml
==============================================================================
--- projects/pkgng/en_US.ISO8859-1/books/handbook/ports/chapter.xml Fri Nov 16 00:04:04 2012 (r40019)
+++ projects/pkgng/en_US.ISO8859-1/books/handbook/ports/chapter.xml Fri Nov 16 00:04:06 2012 (r40020)
@@ -898,6 +898,32 @@ Upgrading curl from 7.24.0 to 7.24.0_1..
</sect3>
</sect2>
+ <sect2 id="pkgng-advanced-usage">
+ <title>Advanced <application>pkgng</application>
+ Operations</title>
+
+ <sect3 id="pkgng-autoremove">
+ <title>Automatically Removing Leaf Dependencies with
+ <application>pkgng</application></title>
+
+ <para>Removing a package may leave behind unnecessary
+ dependencies, like <filename
+ role="package">ca_root_nss</filename> in the example
+ above. Those packages are still installed, but nothing
+ depends on them any more. Unneeded packages that were
+ installed as dependencies can be automatically detected and
+ removed:</para>
+
+ <screen>&prompt.root; <userinput>pkg autoremove</userinput>
+Packages to be autoremoved:
+ ca_root_nss-3.13.5
+
+The autoremoval will free 723 kB
+
+Proceed with autoremoval of packages [y/N]: <userinput>y</userinput>
+Deinstalling ca_root_nss-3.13.5... done</screen>
+ </sect3>
+ </sect2>
</sect1><!-- PKGNG -->
<sect1 id="ports-using">
More information about the svn-doc-projects
mailing list