cannot upgrade

Michael P. Soulier msoulier at digitaltorque.ca
Sun Jul 2 18:34:14 UTC 2006


On 02/07/06 Michael P. Soulier said:

> Cannot update the pkgdb!]: Cannot update the pkgdb!]
> /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:444:in `__system': Command
> failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ (CommandFailedError)
>         from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:467:in `__sudo'
>         from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:473:in `xsystem!'
>         from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:960:in `autofix!'
>         from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:956:in `autofix'
>         from /usr/local/sbin/portupgrade:475:in `main'
>         from /usr/local/sbin/portupgrade:714:in `main'
>         from /usr/local/lib/ruby/1.8/optparse.rb:815:in `initialize'
>         from /usr/local/sbin/portupgrade:209:in `main'
>         from /usr/local/sbin/portupgrade:1951

[root at espresso ~]# pkgdb -F
--->  Checking the package registry database
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ...
/var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument;
rebuild needed] [Rebuilding the pkgdb <format:bdb_btree> in /var/db/pkg ...
/var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument:
Cannot update the pkgdb!]: Cannot update the pkgdb!]

This doesn't look good.

Mike

-- 
Michael P. Soulier <msoulier at digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060702/c1cd4c2e/attachment.pgp


More information about the freebsd-questions mailing list