portupgrade problem w/ dependency?

Bart Silverstrim bsilver at chrononomicon.com
Tue Mar 30 06:21:15 PST 2004


After doing a make install on openssl and then a portupgrade -f  
portupgrade, here's what I ran...

server# pkgdb -F
--->  Checking the package registry database
server# portsdb -Uu
Updating the ports index ... Generating INDEX.tmp - please wait.. Done.
done
[Updating the portsdb <format:bdb1_btree> in /usr/ports ... - 10657  
port entries found  
.........1000.........2000.........3000.........4000.........5000....... 
..6000.........7000.........8000.........9000.........10000...... .....  
done]
server# pkdgdb -F
pkdgdb: Command not found.
server# pkgdb -F
--->  Checking the package registry database
server#

This was what was happening after my previous selection of the  
portupgrade as a dependency using tab completion (it wouldn't allow  
openssl with tab completion); no errors seemed to show up afterwards.

How can I tell that the link/dependency is properly fixed with  
portupgrade now, or does the above show it's okay?  I don't know if now  
portupgrade has a circular dependency or not... :-( (below was the  
exchange that started my problem in the first place and prompted me to  
send to the list)

I'd think that the "command failed" part meant nothing was  
changed?...below was what prompted the question, above is the output  
after installing openssl and going portupgrade -f portupgrade, sorry  
for the out-of-sequence-of-events-posting :-)

****
server# pkgdb -F
--->  Checking the package registry database
Stale dependency: portupgrade-20040325_1 -> openssl-0.9.7d  
(security/openssl):
New dependency? (? to help): ?
  [Enter] to skip, [Ctrl]+[D] to delete,  [.][Enter] to abort, [Tab] to  
complete
New dependency? (? to help):  portupgrade-20040325_1
Fixed. (-> portupgrade-20040325_1)
Cyclic dependencies: portupgrade-20040325_1 -> (portupgrade-20040325_1)
Unlink portupgrade-20040325_1 -> portupgrade-20040325_1 ? [yes]
Command failed [exit code 1]: "grep -v  
\"^portupgrade\\\\-20040325_1\\\$\" <  
/var/db/pkg/portupgrade-20040325_1/+REQUIRED_BY >  
/tmp/+REQUIRED_BY82988.0"
server#
*****

Thanks,
-Bart



More information about the freebsd-questions mailing list