Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Aug 2015 19:02:17 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        jungle Boogie <jungleboogie0@gmail.com>
Cc:        Paul Mather <freebsd-lists@gromit.dlib.vt.edu>, freebsd-stable <freebsd-stable@freebsd.org>, Zoran Kolic <zkolic@sbb.rs>
Subject:   Re: pkg clean question
Message-ID:  <20150803170217.GA10030@ivaldir.etoilebsd.net>
In-Reply-To: <CAKE2PDsM5mZxDXoVa6ScJiWfpapWLx68NG%2BiZKLefeh1ADPFCg@mail.gmail.com>
References:  <20150803153944.GA2733@knossos> <BB766AA8-B9D2-4998-9CBD-CF0BAAC01F26@gromit.dlib.vt.edu> <CAKE2PDsM5mZxDXoVa6ScJiWfpapWLx68NG%2BiZKLefeh1ADPFCg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Mon, Aug 03, 2015 at 09:49:33AM -0700, jungle Boogie wrote:
> On 3 August 2015 at 09:13, Paul Mather <freebsd-lists@gromit.dlib.vt.edu> wrote:
> > On Aug 3, 2015, at 11:39 AM, Zoran Kolic <zkolic@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 #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlW/npkACgkQ8kTtMUmk6ExL1wCeKYNaDu6q17dBh5D9SezeG1Df
E98AnRthQajrlPAE32qRBl4PpXU0q2cQ
=p5Ul
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150803170217.GA10030>