Update the pkg clean section to reflect that now expired packages are not kept in the cache.

This commit is contained in:
Brad Davis 2015-05-12 14:41:57 +00:00
parent e3937f74a4
commit ae8cd216b0
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=46683

View file

@ -893,13 +893,16 @@ Deinstalling ca_root_nss-3.15.1_1... done</screen>
<para>By default, <application>pkg</application> stores
binary packages in a cache directory defined by
<envar>PKG_CACHEDIR</envar> in pkg.conf(5). When upgrading
packages with <command>pkg upgrade</command>, old versions
of the upgraded packages are not automatically removed.</para>
<para>To remove these outdated binary packages, run:</para>
<envar>PKG_CACHEDIR</envar> in &man.pkg.conf.5;. Only copies
of the latest installed packages are kept. Older versions of
<application>pkg</application> kept all previous packages. To
remove these outdated binary packages, run:</para>
<screen>&prompt.root; <userinput>pkg clean</userinput></screen>
<para>The entire cache may be cleared by running:</para>
<screen>&prompt.root; <userinput>pkg clean -a</userinput></screen>
</sect2>
<sect2 xml:id="pkgng-set">