From owner-freebsd-stable@FreeBSD.ORG Fri Sep 5 05:46:53 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from hub.FreeBSD.org (hub.freebsd.org [IPv6:2001:1900:2254:206c::16:88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A93FF4E4; Fri, 5 Sep 2014 05:46:52 +0000 (UTC) Date: Fri, 5 Sep 2014 01:46:49 -0400 From: Glen Barber To: Ben Morrow Subject: Re: Forcing pkg Message-ID: <20140905054649.GW36287@hub.FreeBSD.org> References: <20140904051535.GX9400@home.opsec.eu> <20140905053009.GA9438@anubis.morrow.me.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="KH9S6eoVXLBawpUJ" Content-Disposition: inline In-Reply-To: <20140905053009.GA9438@anubis.morrow.me.uk> X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event User-Agent: Mutt/1.5.23 (2014-03-12) Cc: gmx@ross.cx, freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2014 05:46:53 -0000 --KH9S6eoVXLBawpUJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 05, 2014 at 06:30:14AM +0100, Ben Morrow wrote: > Quoth "Michael Ross" : > > > > > >> Is there any equivalent to "pkg_add --force"? > > > > > > [...] > > > tar xf mypkg.txz > > > > > > and move those extracted stuff to the place where it's needed. > >=20 > [...] >=20 > I suspect that would break the database, which, because it's now SQL, > would matter a lot more than before. What you can do is >=20 > tar -xf $pkg +MANIFEST > vi ./+MANIFEST > tar -cf nomanifest --exclude +MANIFEST @$pkg > tar -cJf $newpkg +MANIFEST @nomanifest >=20 Sigh. Maybe I'm lost. So, I have to ask. Why, exactly, are we suggesting unpacking packaged packages into temp directories and arbitrarily "doing things" with their contents? Glen --KH9S6eoVXLBawpUJ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJUCU5JAAoJELls3eqvi17QnmkQAIzmC6v+S1fybbEZrz3WtHfw 88NNmbvAP12CcJzZyZLwgV3m15LOybDFGt+W3HBe2+zHOe66gq7Bir7skiwLdtKw 05ryRIhLodgEzzrvhrU+nKszwG/T4sGWDI4ZmRtJn0ecFaIk+U25Bv65N4UcYbOP X92qljPyX7qaQbqWYD793lWl+ONc5AfD8889GWR449k9bAw16fzmA/FUrBus4gze 0q1bzrhPkP1yNPbqR5qWqAGv5fFLjznCwfvgb36S3taTjW3Ip5jdb+MjeAX8a1u4 t2T1wfBJ5lvYsIENGofEMFE8hFU/1xsoNbavVICfCCM8SuiYKcfjboDfqF886onj 7pFAX20PEYoPVB8cZOprbiyC0vObNGs6+QXO64xQV0QG0DXzeORQvW2n7gL05HOu R5QKEKc+TB9VQR60EgyTsrpn5H2ubuc1DGybyx5KfjEJfPPrUJsuvj8/SprER0aN sQmd4iZ4wdPJC4BDwkkWAA+HvFH0ahsqVBf5kHegWG77KiMdvRN9R4DAGGiLUGUz H+YwZngKcKRL2RX0rVVXPfmcGMhXuh1yHAVWEWKt9MDoTviPCzF57g2vyzpjUvCi xTTpkhy8ZSKUq/8dioQPyrjwryyCXD1DsP3KWV4CrqgUbxSEkjF1sY4qkaQC5mf5 m348SFK2PA9U+VMCoQxb =GJua -----END PGP SIGNATURE----- --KH9S6eoVXLBawpUJ--