Forcing pkg
Glen Barber
gjb at FreeBSD.org
Fri Sep 5 05:46:53 UTC 2014
On Fri, Sep 05, 2014 at 06:30:14AM +0100, Ben Morrow wrote:
> Quoth "Michael Ross" <gmx at 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.
> >
> [...]
>
> 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
>
> tar -xf $pkg +MANIFEST
> vi ./+MANIFEST
> tar -cf nomanifest --exclude +MANIFEST @$pkg
> tar -cJf $newpkg +MANIFEST @nomanifest
>
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20140905/fa79de4d/attachment.sig>
More information about the freebsd-stable
mailing list