pkg schema upgrade?
gibblertron at gmail.com
Sat Aug 9 23:07:10 UTC 2014
On Sat, Aug 9, 2014 at 9:42 AM, Matthew Seaman <matthew at freebsd.org> wrote:
> On 09/08/2014 17:21, Patrick wrote:
> > I'm getting the following warning/error with pkg on FreeBSD 10 (since it
> > self-updated to 184.108.40.206:
> > pkg: Repo FreeBSD needs schema upgrade from 2006 to 2010 but it is opened
> > readonly
> > pkg: need to re-create repo FreeBSD to upgrade schema version
> > It sure would be nice if in addition to saying what needs to happen, it
> > said how to make it happen. I don't see anything in the man page that
> > about this, and my Google-fu is failing me.
> # pkg clean -a
> # pkg update -f
> should restore sanity.
> Dr Matthew J Seaman MA, D.Phil.
> PGP: http://www.infracaninophile.co.uk/pgpkey
Thanks, that did the trick. Can I ask how you knew to do that? Should pkg
have done this automatically after it upgraded itself, or is there some
sort of maintenance I should be doing that's not part of normal periodic(8)
More information about the freebsd-questions