root@:/usr/ports> portupgrade -ar
[Updating the pkgdb
ruby 1.8.2 (2004-07-29) [i386-freebsd4]
Garance Alistair Drosehn made a post to lucky.freebsd.ports newsgroup, which in my opinion was the best result I found after searching for solutions to this fix. This post was as follows:
Try adding the following two
lines to /usr/local/etc/pkgtools.conf :
ENV['PKG_DBDRIVER'] = "bdb_hash"
ENV['PORTS_DBDRIVER'] = "bdb_hash"
Add them down where other environment variables are set, such as
ENV['PORTSDIR'] ||= '/usr/ports'
I must also mention that issuing:
root@:/usr/ports> pkgdb -fu
worked wonders and fixed the problem, now no more core dumps on portupgrade. I wonder what caused this problem.
No comments:
Post a Comment