On Mon, Aug 03, 2015 at 09:49:33AM -0700, jungle Boogie wrote:
> On 3 August 2015 at 09:13, Paul Mather <freebsd-li...@gromit.dlib.vt.edu> 
> wrote:
> > On Aug 3, 2015, at 11:39 AM, Zoran Kolic <zko...@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.
> >
> 
> 
> You may want to autoremove, too:
> 
> autoremove
>              Delete packages which were automatically installed as dependen-
>              cies and are not required any more.
> 
> > Cheers,
> >
> > Paul.
> 
> 
Note that since recent updates of pkg there is a new AUTOCLEAN option to add in
pkg.conf which will automatically cleanup the cache after each pkg operation.

Best regards,
Bapt

Attachment: pgpE1oWcrSDGk.pgp
Description: PGP signature

Reply via email to