Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Sep 2014 13:54:24 +0200
From:      "Michael Ross" <gmx@ross.cx>
To:        "Ben Morrow" <ben@morrow.me.uk>, "Glen Barber" <gjb@freebsd.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Forcing pkg
Message-ID:  <op.xlpp0yosg7njmm@michael-think>
In-Reply-To: <20140905054649.GW36287@hub.FreeBSD.org>
References:  <op.xlmtzqlwg7njmm@michael-think> <20140904051535.GX9400@home.opsec.eu> <20140905053009.GA9438@anubis.morrow.me.uk> <20140905054649.GW36287@hub.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 05 Sep 2014 07:46:49 +0200, Glen Barber <gjb@freebsd.org> wrote:

> 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.
>> >
>
>> [...]
>
>>
>> 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
>

Because I can't force a package installation anymore.
If pkg detects <something>, it won't let me say "nevermind, install X  
anyway, and do just that".

Just to be clear,
for the "with poudriere"-use case pkg is a fine tool,
and it will prove very valuable.
It just doesn't to quick and dirty as I used to do quick and dirty with  
pkg_add.


Michael




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