From owner-freebsd-questions@FreeBSD.ORG Tue Mar 23 13:34:57 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B79B16A4CE for ; Tue, 23 Mar 2004 13:34:57 -0800 (PST) Received: from pds.uberhacker.org (uberhacker.org [198.144.198.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id E508343D31 for ; Tue, 23 Mar 2004 13:34:56 -0800 (PST) (envelope-from pds@uberhacker.org) Received: from localhost (localhost [127.0.0.1]) by pds.uberhacker.org (Postfix) with ESMTP id B4FB82BA for ; Tue, 23 Mar 2004 13:34:56 -0800 (PST) Received: from pds.uberhacker.org ([127.0.0.1]) by localhost (pds.uberhacker.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 68622-07 for ; Tue, 23 Mar 2004 13:34:55 -0800 (PST) Received: from uberhacker.org (exchange.uptilt.com [206.184.138.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pds.uberhacker.org (Postfix) with ESMTP id 722A62AE for ; Tue, 23 Mar 2004 13:34:55 -0800 (PST) Message-ID: <4060AD7E.7000805@uberhacker.org> Date: Tue, 23 Mar 2004 13:34:54 -0800 From: "Paul D. Schmidt" User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at uberhacker.org Subject: How to properly handle stale dependencies with pkgdb -F? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2004 21:34:57 -0000 Hello, I've run into problems (most often with p5-* ports) with stale dependencies. I don't know how to solve them other than deleting them, which I know is the wrong way to do it. Currently, I have 2 things I'm not sure how to handle: % sudo pkgdb -F ---> Checking the package registry database Stale origin: 'net/isc-dhcp3': perhaps moved or obsoleted. -> The port 'net/isc-dhcp3' was removed on 2004-01-18 because: "Split in four partial slave ports" -> Hint: isc-dhcp3-3.0.1.r12 is not required by any other package -> Hint: checking for overwritten files... -> No files installed by isc-dhcp3-3.0.1.r12 have been overwritten by other packages. Deinstall isc-dhcp3-3.0.1.r12 ? [no] OK, so net/isc-dhcp3 went away in favor of -server, -client, etc... How do I proceed though? Do I just answer no to that question and ignore it whenever it comes up until the end of time? Should I deinstall my net/isc-dhcp3 port and reinstall it with the "new way"? (the new port layout) Stale dependency: pear-DB-1.6.1,1 -> pear-PEAR-1.2.1_1 (devel/pear-PEAR): pear-Net_Socket-1.0.1_2 (score:27%) ? ([y]es/[n]o/[a]ll) [no] New dependency? (? to help): devel/pear-P I'm not sure why pear-DB can't find its pear-PEAR dependency in the first place...devel/pear-PEAR still exists in my ports tree. Then I try to name devel/pear-PEAR explicitly (with or without the devel/ prefix, doesn't matter) but that's not found either. Perhaps this is a problem caused by my overzealous deleting of dependencies previously? I'm willing to scrape everything and reinstall, since my ports system is probably very screwed up by now, but I want to learn what the RIGHT way to do things is first so I don't find myself in the same situation 6 months down the road... Thanks for your help, -Paul