pkg-ng problem, how do I recover?

james james at
Sun Dec 1 14:23:26 UTC 2013

How can I recover from this?

root at nas:~ # pkg update -f
Updating repository catalogue
digests.txz 100% 1093KB   1.1MB/s   1.1MB/s   00:01
packagesite.txz 100% 5886KB   1.4MB/s   2.0MB/s   00:04
pkg: sqlite: database disk image is malformed (pkgdb_repo.c:545)
Incremental update completed, 0 packages processed:
0 packages updated, 372 removed and 13769 added.
pkg: No digest falling back on legacy catalog format
pkg: Not Found
root at nas:~ #

Earlier, I tried to pkgupgrade, but it seemed to get into a loop with 
docbook claiming malformed info, so I quit that.

This is:

root at nas:~ # uname -a
FreeBSD nas 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 
22:50:31 UTC 2013 
root at  amd64
root at nas:~ #

More information about the freebsd-questions mailing list