Date: Fri, 03 May 2002 10:29:58 -0400 From: Bill Moran <wmoran@potentialtech.com> To: questions@freebsd.org Subject: pkg_delete vs. make deinstall - not synced? Message-ID: <3CD29EE6.3060108@potentialtech.com>
next in thread | raw e-mail | index | archive | help
I recently did a bunch of deinstalling & installing on my system to update a whole lotta stale ports. I'm curious. If I install from the ports, it creates a directory in /var/db/pkg which I can then use the pkg_delete command to remove the port. The ports tree uses some other method to determine if the port is installed, however. example: 1. cd /usr/ports/devel/gmake; make install 2. pkg_delete gmake-whatever 3. Then try to make any port that depends on gmake The result is the port fails with a mysterious stop error. It knows it needs gmake, but it thinks it's installed. So it skips making it and trys to continue, but the gmake binary (obviously) isn't there. I can cd /usr/ports/devel/gmake ; make install and it does nothing, because the port seems to assume that it's already installed. If I do "make reinstall" it fixes things, or if I make deinstall it gives me errors, but is able to make install afterward. I don't really have a "solution" to this, as I'm not sure exactly why it's happening. If someone could shed a little light I would appreciate it. Otherwise, is there someway we can make this cleaner? -- Bill Moran Potential Technology http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CD29EE6.3060108>