pkg clean question

2015-08-03 Thread Zoran Kolic
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?
Best regards all

  Zoran

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: pkg clean question

2015-08-03 Thread Paul Mather
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.

Cheers,

Paul.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: pkg clean question

2015-08-03 Thread Zoran Kolic
 Use pkg clean -ay to delete all cached packages, not just the ones that are 
 no longer current or provided by the upstream repository.

Thanks.

 Zoran

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: pkg clean question

2015-08-03 Thread Baptiste Daroussin
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


pgpE1oWcrSDGk.pgp
Description: PGP signature


Re: pkg clean question

2015-08-03 Thread jungle Boogie
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.




-- 
---
inum: 883510009027723
sip: jungleboo...@sip2sip.info
xmpp: jungle-boo...@jit.si
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org