From owner-freebsd-questions@FreeBSD.ORG Sat Nov 8 09:37:02 2003 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 F3D1516A4D4 for ; Sat, 8 Nov 2003 09:37:01 -0800 (PST) Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7151943F93 for ; Sat, 8 Nov 2003 09:37:01 -0800 (PST) (envelope-from rperry4@earthlink.net) Received: from dialup-171.75.71.3.dial1.weehawken.level3.net ([171.75.71.3] helo=earthlink.net) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1AIX18-0001HW-00; Sat, 08 Nov 2003 09:36:58 -0800 Message-ID: <3FAD2A75.1020702@earthlink.net> Date: Sat, 08 Nov 2003 12:40:05 -0500 From: "Robert H. Perry" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031028 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD-Questions , knu@iDaemons.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: How to Handle Stale Dependencies in 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: Sat, 08 Nov 2003 17:37:02 -0000 Hi, Just ran my weekly cvsup program followed by portsbd -Uu. Tried running portsversion -l and received a message indicating that I should run pkgdb -F to deal with a stale dependency. Note following: Stale dependency: sgmlformat-1.7_2 -> docbook-3.1_2 (textproc/docbook-310): docbook-xsl-1.62.3 (score:43%) ? ([y]es/[n]o/[a]ll) My understanding here is that I'm to choose between the dependency the port has recorded, docbook-3.1_2, or the one installed, docbook-xsl-1.62.3. I took a look at the sgmlformat-1.7_2 port and found the following: R-deps: docbook-1.2_1 docbook-241_2 docbook-3.0_2 docbook-3.1_2 docbook-4.0_2 do cbook-4.1_2 iso8879-1986_2 jade-1.2.1_5 linuxdoc-1.1_1 xmlcatmgr-1.1 I went back to the prompt in the pkgdb program and indicated "no". This was followed by: New dependency? (? to help): Wasn't sure how to respond, so I aborted the program and ran pkgdb -Fa which didn't fix the dependencies either. It did, however repeat the stale dependency prompt for all 6 of the docbook dependencies shown above. Can anyone help me understand what the program is looking for at the new dependency prompt? I was about to respond with a delete command but wasnt' sure what I would be deleting? I did backup /var/db/pkg. Thank you. Bob Perry