Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Aug 2014 13:14:44 +0200
From:      Wolfgang Hukriede <whukriede@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   pkg: sqlite error while executing PRAGMA user_version 
Message-ID:  <n88zjfnta6z.fsf@almelo.raji.xor>

next in thread | raw e-mail | index | archive | help
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
server).

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!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?n88zjfnta6z.fsf>