How to Handle Stale Dependencies in pkgdb -F
Robert H. Perry
rperry4 at earthlink.net
Sun Nov 9 08:14:09 PST 2003
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
>>> Or, since docbook already depends on all of those other docbook
>>> maybe you can just point the dependency at the docbook package....
>> Do you mean that I can answer the "New dependency?" prompt with
> 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
> versions. I am not sure if you have that one installed, or if you just
> all of the pieces.
> Is docbook-3.0_2 still registered as installed on your system? I think
> 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
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
happening when I ran pkgdb -F. And it wasn't until I read your original
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
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
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?
More information about the freebsd-questions