From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 08:14:09 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 7ACF416A4CE for ; Sun, 9 Nov 2003 08:14:09 -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 9B73843FFD for ; Sun, 9 Nov 2003 08:14:08 -0800 (PST) (envelope-from rperry4@earthlink.net) Received: from dialup-171.75.72.64.dial1.weehawken.level3.net ([171.75.72.64] helo=earthlink.net) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1AIsCV-0003M6-00; Sun, 09 Nov 2003 08:14:07 -0800 Message-ID: <3FAE688B.8010005@earthlink.net> Date: Sun, 09 Nov 2003 11:17:15 -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: Lee Harr References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: 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: Sun, 09 Nov 2003 16:14:09 -0000 Lee Harr wrote: >> pkg_info -ro sgmlformat-1.7_2, I get the following: >> Information for sgmlformat-1.7_2: >> >> Depends on: >> Dependency: xmlcatmgr-1.1 >> Dependency: iso8879-1986_2 >> Dependency: jade-1.2.1_5 >> Dependency: linuxdoc-1.1_1 >> Dependency: docbook-4.1_2 >> Dependency: docbook-4.0_2 >> Dependency: docbook-3.1_2 > > > This is from the dockbook-310 port. The _2 is the port revision. > >> Dependency: docbook-3.0_2 >> Dependency: docbook-241_2 >> Dependency: docbook-1.2_1 >> Origin: >> textproc/sgmlformat >> > >>> Or, since docbook already depends on all of those other docbook >>> components, >>> maybe you can just point the dependency at the docbook package.... >> >> >> Do you mean that I can answer the "New dependency?" prompt with >> Ctrl-Del? > > > > Well... I am not using docbook, so I am not exactly sure. It looks to me > like the docbook port may be a "meta port" to pull in all of those > docbook > versions. I am not sure if you have that one installed, or if you just > have > all of the pieces. > > Is docbook-3.0_2 still registered as installed on your system? I think > that > is the one it is looking for. It is possible that when upgrading one > of the > others, that one was removed inadvertently. No, it is not registered as installed. As a matter of fact, none of the docbooks mentioned are installed except dockbook-xsl-1.62.3. In addition, the sgmlformat port is not installed either. I see now that a major part of the problem was that I never understood what was happening when I ran pkgdb -F. And it wasn't until I read your original note a second time that things became clearer. You wrote: The dependency is recorded as docbook-3.1_2 and it does not see that package, so it is suggesting the package it believes is the closest match. (dockbook-xsl-1.62.3) I always understood that stale dependencies indicated that a change was necessary. In this situation, the 6 dependencies in question, including the port itself, weren't even registered or installed yet. I just feel that something is missing here. However, I think I'm ready to move on to the next step which is how to respond to the prompt: New dependency? (? to help) : If you hit "?", you'll see: [Enter] to skip, [Ctrl] + [D] to delete, [.][Enter] to abort, [Tab] to complete. I looked at the R-deps listed with the port description and they also correspond to the 6 shown above. As a result, I feel confident that they should be registerd and installed with the port and not the one pkgdb suggests, dockbook-xsl-1.62.3. I assume that I can delete dockbook-xsl-1.62.3, but is that what [Ctrl]+[D] will accomplish? In other words, does "new dependency" refer to the dependent that it sees as the closest match, dockbook-xsl-1.62.3, or the one that is recorded by the port, docbook-3.1_2? Which would I be deleting? Thanks again. Bob