From owner-freebsd-stable@freebsd.org Mon Aug 3 17:02:22 2015 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 54A519B2246 for ; Mon, 3 Aug 2015 17:02:22 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EFB913ED for ; Mon, 3 Aug 2015 17:02:21 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by wicgj17 with SMTP id gj17so114378428wic.1 for ; Mon, 03 Aug 2015 10:02:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=KPK2yUThO75lnLb5qmGrvoi77qKyBW9q4hPkleNyMic=; b=p5zvRiTwaHFrGc7xegsrdpszaTs/mG3si4HE8YGtJLYl+LXJgj/oMIIGnEvbFTcdgv 0CL8TyqXJRKmf+ejSzPWdzzxJ6bgmdq7mzp4Lk9Fz3HbmLg9asBOQeVajSO7flQiXUB8 In48qvNPfQt7Elbs001QJ37VKqcXJtra+CZoIClE2eaMOj2YAdEzumE0fUznlvjA7uMm iaP3DwNhU5ga0BEiJ4aZ51/vBy8wvw37LNICzQDi20cFgsGLPk55dX5uXznHuVW++d4i 7jA2N3VdBlEE9okpInVMtVaJlMq9vGGxQalyZ3IvbQPM+tVRw2snw6Ym6vwneTI1YjE0 mCbg== X-Received: by 10.194.78.164 with SMTP id c4mr34315040wjx.65.1438621340366; Mon, 03 Aug 2015 10:02:20 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id k2sm14504045wif.4.2015.08.03.10.02.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Aug 2015 10:02:19 -0700 (PDT) Sender: Baptiste Daroussin Date: Mon, 3 Aug 2015 19:02:17 +0200 From: Baptiste Daroussin To: jungle Boogie Cc: Paul Mather , freebsd-stable , Zoran Kolic Subject: Re: pkg clean question Message-ID: <20150803170217.GA10030@ivaldir.etoilebsd.net> References: <20150803153944.GA2733@knossos> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Qxx1br4bt0+wmkIi" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2015 17:02:22 -0000 --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 03, 2015 at 09:49:33AM -0700, jungle Boogie wrote: > On 3 August 2015 at 09:13, Paul Mather = wrote: > > On Aug 3, 2015, at 11:39 AM, Zoran Kolic 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 th= at are no longer current or provided by the upstream repository. > > >=20 >=20 > You may want to autoremove, too: >=20 > autoremove > Delete packages which were automatically installed as depend= en- > cies and are not required any more. >=20 > > Cheers, > > > > Paul. >=20 >=20 Note that since recent updates of pkg there is a new AUTOCLEAN option to ad= d in pkg.conf which will automatically cleanup the cache after each pkg operatio= n. Best regards, Bapt --Qxx1br4bt0+wmkIi Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlW/npkACgkQ8kTtMUmk6ExL1wCeKYNaDu6q17dBh5D9SezeG1Df E98AnRthQajrlPAE32qRBl4PpXU0q2cQ =p5Ul -----END PGP SIGNATURE----- --Qxx1br4bt0+wmkIi--