From owner-freebsd-pkg@FreeBSD.ORG Tue Jun 24 05:33:22 2014 Return-Path: Delivered-To: freebsd-pkg@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 9F349B2 for ; Tue, 24 Jun 2014 05:33:22 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 491E82ED2 for ; Tue, 24 Jun 2014 05:33:22 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.9/8.14.9) with ESMTP id s5O5XEVA024481 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 24 Jun 2014 06:33:14 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: lucid-nonsense.infracaninophile.co.uk; dmarc=none header.from=infracaninophile.co.uk DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk s5O5XEVA024481 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1403587994; bh=9F1owXbGYdqs/A5maMaCBdnxpQZ+Nn1nd8qG3cHS1Bg=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Tue,=2024=20Jun=202014=2006:33:13=20+0100|From:=20Matthew =20Seaman=20|To:=20freebsd-pkg@fr eebsd.org|Subject:=20Re:=20Cleanup=20of=20/var/db/pkg/|References: =20<20140624014513.GA3659@admin.sibptus.tomsk.ru>|In-Reply-To:=20< 20140624014513.GA3659@admin.sibptus.tomsk.ru>; b=QWZ+X18xnqH439Ezd+SC0D8onnHZ+BswJQ/ZdnvI18qjJvwkINOPRwOgTW+5LQvl4 a50GicrSM9QGe6GTEZ+UThuZuAF+0FCSkqT10Dfwax50HnRbAMrJmYiRwywlhLAKhH ebOeETFX7QkTupdVFBWDamSQotLZMKf/9UTDhmdU= Message-ID: <53A90D99.10009@infracaninophile.co.uk> Date: Tue, 24 Jun 2014 06:33:13 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-pkg@freebsd.org Subject: Re: Cleanup of /var/db/pkg/ References: <20140624014513.GA3659@admin.sibptus.tomsk.ru> In-Reply-To: <20140624014513.GA3659@admin.sibptus.tomsk.ru> X-Enigmail-Version: 1.6 OpenPGP: id=E7F39EBF Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="W2mfI7EhqTBTtVq0T87GnOGTCOfChASIA" X-Virus-Scanned: clamav-milter 0.98.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2014 05:33:22 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --W2mfI7EhqTBTtVq0T87GnOGTCOfChASIA Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 24/06/2014 02:45, Victor Sudakov wrote: > Is it safe to remove all directories and files therein in /var/db/pkg/ > after running pkg2ng?=20 >=20 > Is there anything of value there other than /var/db/pkg/*.sqlite > databases? Generally, yes. Other than local.sqlite or repo*.sqlite pkg(8) also uses some other bits and pieces like vuln.xml -- but apart from local.sqlite all of those can be downloaded from the net. Note that if you use portmaster(8) it creates per-pkg directories under /var/db/pkg to stash some information about distfiles. Deleting these will cause nothing worse than portmaster being unable to remove outdated versions of distfiles. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --W2mfI7EhqTBTtVq0T87GnOGTCOfChASIA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJTqQ2ZXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATFoIQAJo12lgicUWelk4RHg4JFi2t PaXwLuWv6ihtBOvsArjgKAGCN6wBDyfR4ak0UiXL9kxgMOkrSTFeOIA/qm3u//s3 LfazqpUWIiHGslB6Ah0lX3gcRs1e2ceSxx5zOE5iLUdsJiPxcSliHbJWDXCtncQF 5G8XXq7gyVhRbBQbiqwJ/WhUCb8aDpINNT0ugyKi+nwz+N0mhesccTVPUXVeWwTX tRnlIpr7QB4pFw+qY8PpGNubp0LLub6T//hiIOGFkSqcEu8Y+Wz06xH64KGJHI+O xyNwadWCKFrdhJY4uIrVozUTZF2JnBAm38t2A3eK8LaiiyUDYo3lZ9CqkFGJ4Roo uCDPeqJ3/Ew0SYvxk2yFU4OaEIRN5DR9k8pfB1KbfnIqbg+FgoREAu+GhuOu9TsF aTl2+Me3gyR8hlDffE4LcQ608B0VjcNf9UUk6jankjsWOeZlptT5n754ahuyci6z Jv/YIJ1X7LGAVZJmF4whW15fn5nWWkVPoywCzXljGrmd4Hg85txNck3y4/sylCrN tzxdlBJKA6BGvnABibrnzuuJXmwXCPl3n9QWjR5idrpik6lQZWmVQ6ywjlQMES2b Atw++DpUHeqeUnivlMqs3Cp28Q4pZtCvoKN14lvKKoIRxgkGHhbGOTzGGHXVr02z yEfq6tjUUTjgo+dKfMyE =TWm1 -----END PGP SIGNATURE----- --W2mfI7EhqTBTtVq0T87GnOGTCOfChASIA--