Hi, I have similar problem and find solution in portupgrade man page:
--
     Sometimes a database may get corrupt and the pkgtools commands start to
     abort due to segmentation fault.  In such cases, run ``pkgdb -fu'' to
     rebuild the database, and the problems will go away.  If the command
     failed itself, remove a database file (/var/db/pkg/pkgdb.db) and run it
     again.
--

On Monday 19 June 2006 17:57, Elliot Finley wrote:
> After upgrading to the latest portupgrade:
>
> dns root:~#>portupgrade -v
> portupgrade 2.0.1 (2006/06/18)
>
> I got a failure on 2 out of 4 boxes.  Now when I use portversion,
> portupgrade, or pkgdb I get:
>
> backup root:/usr/ports#>portversion
> [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 34 packages
> found (-0 +0) Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ
>
> Any pointers on how to fix this would be appreciated.
>
> Thanks
> Elliot
>
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to