Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Nov 2003 11:17:15 -0500
From:      "Robert H. Perry" <rperry4@earthlink.net>
To:        Lee Harr <missive@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to Handle Stale Dependencies in pkgdb -F
Message-ID:  <3FAE688B.8010005@earthlink.net>
In-Reply-To: <BAY2-F99Kebm4M2S0gU0002e025@hotmail.com>
References:  <BAY2-F99Kebm4M2S0gU0002e025@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FAE688B.8010005>