Date: Mon, 14 Oct 2002 21:14:18 +0000 From: "Clark C. Evans" <cce@clarkevans.com> To: ports@freebsd.org Subject: configuration database confusion Message-ID: <20021014211418.GC36236@doublegemini.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021014211418.GC36236>