From owner-freebsd-ports Mon Oct 14 14: 9:39 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 AAC0937B404 for ; Mon, 14 Oct 2002 14:09:37 -0700 (PDT) Received: from cauchy.axista.com (cauchy.superb.net [209.61.216.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F3A843EB7 for ; Mon, 14 Oct 2002 14:09:37 -0700 (PDT) (envelope-from cce@cauchy.axista.com) Received: by cauchy.axista.com (Postfix, from userid 1000) id A4C3E6D0B1; Mon, 14 Oct 2002 21:14:18 +0000 (GMT) Date: Mon, 14 Oct 2002 21:14:18 +0000 From: "Clark C. Evans" To: ports@freebsd.org Subject: configuration database confusion Message-ID: <20021014211418.GC36236@doublegemini.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i 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 Howdy. I'm trying to re-use the ports directory via mounting it on more than one system; using chroot jail and mount_null to be more explicit. My problem is that if I install a given port on one system, it somehow marks that port as installed so that "make install" no longer attempts an installation. This problem can be emulated by: 1. going into a port and doing "make install" 2. using pkg_delete to remove the port 3. going back into the port directory and typing "make install" for a second time... it does nothing even though the program is not installed. I know I can do a "deinstall" and then a "install" to make it work. However, this solution doesn't seem to work recursively. So I have two questions: 1) I suppose I can do a recursive "make deinstall" on the entire port collection... ugly. Any other short term hack? 2) Where are these ports storing the flag that says they are already installed? Any good way to reset this flag or have this flag be in the /var partition (which is different for each install?) 3) Long term, can ports only use pkg_info for storing install state? Best, Clark P.S. The symtoms here seem to apply to just about any port, but if you need one, use vim-lite. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message