From owner-freebsd-questions Fri May 3 7:24:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from infinity.aesredfish.net (ns1.aesredfish.net [65.168.0.12]) by hub.freebsd.org (Postfix) with ESMTP id 7BB5237B41A for ; Fri, 3 May 2002 07:24:41 -0700 (PDT) Received: from potentialtech.com (mhope-dhcp-65-168-1-181.dashfast.com [65.168.1.181]) by infinity.aesredfish.net (8.11.6/8.11.0) with ESMTP id g43EOiU09925 for ; Fri, 3 May 2002 10:24:44 -0400 Message-ID: <3CD29EE6.3060108@potentialtech.com> Date: Fri, 03 May 2002 10:29:58 -0400 From: Bill Moran Organization: Potential Technologies User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc1) Gecko/20020502 X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@freebsd.org Subject: pkg_delete vs. make deinstall - not synced? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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