Date: Fri, 5 Sep 2014 01:46:49 -0400 From: Glen Barber <gjb@FreeBSD.org> To: Ben Morrow <ben@morrow.me.uk> Cc: gmx@ross.cx, freebsd-stable@freebsd.org Subject: Re: Forcing pkg Message-ID: <20140905054649.GW36287@hub.FreeBSD.org> In-Reply-To: <20140905053009.GA9438@anubis.morrow.me.uk> References: <op.xlmtzqlwg7njmm@michael-think> <20140904051535.GX9400@home.opsec.eu> <20140905053009.GA9438@anubis.morrow.me.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
--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" <gmx@ross.cx>: > > > > > >> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140905054649.GW36287>