Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Aug 2015 09:49:33 -0700
From:      jungle Boogie <jungleboogie0@gmail.com>
To:        Paul Mather <freebsd-lists@gromit.dlib.vt.edu>
Cc:        Zoran Kolic <zkolic@sbb.rs>, freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: pkg clean question
Message-ID:  <CAKE2PDsM5mZxDXoVa6ScJiWfpapWLx68NG%2BiZKLefeh1ADPFCg@mail.gmail.com>
In-Reply-To: <BB766AA8-B9D2-4998-9CBD-CF0BAAC01F26@gromit.dlib.vt.edu>
References:  <20150803153944.GA2733@knossos> <BB766AA8-B9D2-4998-9CBD-CF0BAAC01F26@gromit.dlib.vt.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




-- 
-------
inum: 883510009027723
sip: jungleboogie@sip2sip.info
xmpp: jungle-boogie@jit.si



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKE2PDsM5mZxDXoVa6ScJiWfpapWLx68NG%2BiZKLefeh1ADPFCg>