Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 2014 06:33:13 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-pkg@freebsd.org
Subject:   Re: Cleanup of /var/db/pkg/
Message-ID:  <53A90D99.10009@infracaninophile.co.uk>
In-Reply-To: <20140624014513.GA3659@admin.sibptus.tomsk.ru>
References:  <20140624014513.GA3659@admin.sibptus.tomsk.ru>

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



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