pkg clean question

Paul Mather freebsd-lists at gromit.dlib.vt.edu
Mon Aug 3 16:13:41 UTC 2015


On Aug 3, 2015, at 11:39 AM, Zoran Kolic <zkolic at sbb.rs> wrote:

> Amd64, 9.3. Updated few times, packages also. At first I
> found on laptop that /var directory was at 102%. Using
> "pkg clean" i removed about 400mb of cache packages from
> /var/cache/pkg. Tried to clean desktop cache and the out-
> put of the command was "nothing to do". I see about 400
> mb of files in the cache directory. Is it safe to remove
> them by the hand?


Use "pkg clean -ay" to delete all cached packages, not just the ones that are no longer current or provided by the upstream repository.

Cheers,

Paul.



More information about the freebsd-stable mailing list