Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Nov 2003 12:40:05 -0500
From:      "Robert H. Perry" <rperry4@earthlink.net>
To:        FreeBSD-Questions <freebsd-questions@freebsd.org>, knu@iDaemons.org
Subject:   How to Handle Stale Dependencies in pkgdb -F
Message-ID:  <3FAD2A75.1020702@earthlink.net>

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



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