How to Handle Stale Dependencies in pkgdb -F

Robert H. Perry rperry4 at earthlink.net
Sat Nov 8 09:37:02 PST 2003


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



More information about the freebsd-questions mailing list