From owner-freebsd-ports Tue Sep 17 18:45: 9 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B59CC37B401 for ; Tue, 17 Sep 2002 18:45:07 -0700 (PDT) Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5BFA43E72 for ; Tue, 17 Sep 2002 18:45:06 -0700 (PDT) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id SAA20523; Tue, 17 Sep 2002 18:41:20 -0700 (PDT) Received: from arch20m.dellroad.org (localhost [127.0.0.1]) by arch20m.dellroad.org (8.12.6/8.12.6) with ESMTP id g8I1eMrf053102; Tue, 17 Sep 2002 18:40:22 -0700 (PDT) (envelope-from archie@arch20m.dellroad.org) Received: (from archie@localhost) by arch20m.dellroad.org (8.12.6/8.12.6/Submit) id g8I1eMMi053101; Tue, 17 Sep 2002 18:40:22 -0700 (PDT) From: Archie Cobbs Message-Id: <200209180140.g8I1eMMi053101@arch20m.dellroad.org> Subject: Re: pkg_add and /var/db/pkg directory name bug In-Reply-To: <20020918003614.GA28441@xor.obsecurity.org> "from Kris Kennaway at Sep 17, 2002 05:36:14 pm" To: Kris Kennaway Date: Tue, 17 Sep 2002 18:40:21 -0700 (PDT) Cc: ports@freebsd.org X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Kris Kennaway writes: > > [ FYI I don't subscribe to this list so please CC: me on any replies. > > Also, my apologies if this is already known and/or fixed. ] > > > > I have two machines updated to 4.7-PRERELEASE as of a few days ago. > > Both machines have a CVS updated ports tree. > > > > I built and installed some ports on machine A, then created packages > > from these installed ports via "pkg_create -b foo-1.2.3". Then I copied > > the resulting tarballs to machine B and installed them with the command > > "pkg_install foo-1.2.3.tgz". > > > > The problem is that the directory created in /var/db/pkg is named > > "foo-1.2.3.tbz" instead of "foo-1.2.3" .. is that correct? It seems > > to make the package not be found when looked for as a dependency. > > Sounds like a lingering .tgz -> .tbz changeover bug. Any chance you > can debug it further? I don't have time to right now, but will if/when I get a chance. I'm not familiar at all with that code so it would take me some time to do any useful debugging. There's got to be somebody who knows more about this stuff out there that can fix this easily. Just use the recipie I gave for reproducing it. This would be nice to fix before the ports freeze :-) -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message