From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 8 06:59:24 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 29656E63 for ; Fri, 8 Aug 2014 06:59:24 +0000 (UTC) Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B2E932586 for ; Fri, 8 Aug 2014 06:59:23 +0000 (UTC) Received: by mail-wi0-f171.google.com with SMTP id hi2so494803wib.16 for ; Thu, 07 Aug 2014 23:59:21 -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=26qa8ziqkhLEYS8yvb96bhnS2xWJtfkiruFgZwjlk6w=; b=h7zs1qTGLhJfvBVlQy7rSlveqM+f5OfjoYjrYF0ooWTDDD49Ng/F7xqfTljuAliN2I VNaLhfU3H2SnkCMjdFJ8K6VKm/ZlLKGpQYmsbBsbU2U7OoTAxEUPv0AYo48ccl2LaUz2 E9RqsYMSIUaX5cjetwSXZE4VSpF2F9HIkMt/chU2R+/KvHm/oWv2e61gyUOyl/skWQR1 5sGUCHAwYj+WVlPPbLLJBMC+0ii57E54Kdmn+bs6bSH7RvYbYP+/pzNTLwFvF5NoJBms 0uxuWJa/rKZ6xXsiXU2wyhxcQ7L8SdWQyzv8zpPNtUH5ZtflZ2oC//iDFx6NINNZU/T0 HcoA== X-Received: by 10.180.183.36 with SMTP id ej4mr1896986wic.77.1407481161824; Thu, 07 Aug 2014 23:59:21 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id fv10sm4153908wic.23.2014.08.07.23.59.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Aug 2014 23:59:20 -0700 (PDT) Sender: Baptiste Daroussin Date: Fri, 8 Aug 2014 08:59:18 +0200 From: Baptiste Daroussin To: by Subject: Re: PKG ISSUE Message-ID: <20140808065918.GA17537@ivaldir.etoilebsd.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="T4NxgPrvSrIDR5b4" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2014 06:59:24 -0000 --T4NxgPrvSrIDR5b4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 08, 2014 at 10:55:55AM +0800, by via freebsd-hackers wrote: > Hi, >=20 > I would say, I find a problem happens in the new pkg(1.3.5.1), which is: > #pkg update > Upgrade pkg to 1.3.5.1 > #pkg install en-freebsd-doc > Install the documents of freebsd > Then I try to clean the cache > #pkg clean > And I get: Nothing to do. > But question is, in /var/cache/pkg, downloaded packages still there. >=20 > I would say, does this means some bug get into pkg 1.3.5.1, or how can I = do to clean the cache using pkg tool. >=20 Reading the man page of pkg clean via man pkg-clean of pkg help clean would= have given you, to quote some part of it: [...] pkg clean is used to cleanup the local cache of packages downloaded from remote repositories. It removes packages that have been superseded by newer versions, and any packages that are no longer provided. [...] -a, --all Delete all cached packages. [...] regards, Bapt --T4NxgPrvSrIDR5b4 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlPkdUYACgkQ8kTtMUmk6ExEAACfWE579WytAA6OQnblDC+EUJXC HvoAoINscDbnnEMWOJjPwth0kSNV1l1X =yKgG -----END PGP SIGNATURE----- --T4NxgPrvSrIDR5b4--