pkg: sqlite error while executing PRAGMA user_version

Wolfgang Hukriede whukriede at
Sun Aug 3 09:16:05 UTC 2014

I'm getting

host> pkg info
pkg: sqlite error while executing PRAGMA user_version; in file pkgdb.c:2284: database is locked

I already tried to reboot, rm /var/db/pkg/repo* to no effect.

When run as root "pkg info" shows a few packages, but most not.

This is fbsd 8.4, pkg version 1.3.3 on a diskless machine (9.1 as nfs

Is there any recipe on how to proceed? I'd very much be willing to
rebuild the sqlite database from zero but don't know how.

Many thanks!

More information about the freebsd-questions mailing list