From owner-freebsd-stable@FreeBSD.ORG Fri Sep 5 11:54:37 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3F387A93; Fri, 5 Sep 2014 11:54:37 +0000 (UTC) Received: from www81.your-server.de (www81.your-server.de [213.133.104.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EFE8F1A25; Fri, 5 Sep 2014 11:54:36 +0000 (UTC) Received: from [92.76.80.218] (helo=michael-think) by www81.your-server.de with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1XPs64-00076t-0Q; Fri, 05 Sep 2014 13:54:32 +0200 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: "Ben Morrow" , "Glen Barber" Subject: Re: Forcing pkg References: <20140904051535.GX9400@home.opsec.eu> <20140905053009.GA9438@anubis.morrow.me.uk> <20140905054649.GW36287@hub.FreeBSD.org> Date: Fri, 05 Sep 2014 13:54:24 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Michael Ross" Message-ID: In-Reply-To: <20140905054649.GW36287@hub.FreeBSD.org> User-Agent: Opera Mail/1.0 (Win32) X-Authenticated-Sender: gmx@ross.cx X-Virus-Scanned: Clear (ClamAV 0.98.4/19337/Thu Sep 4 23:45:43 2014) Cc: 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 11:54:37 -0000 On Fri, 05 Sep 2014 07:46:49 +0200, Glen Barber wrote: > 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. >> > > >> [...] > >> >> 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 , 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