Date: Sat, 9 Aug 2014 16:07:09 -0700 From: Patrick <gibblertron@gmail.com> To: Matthew Seaman <matthew@freebsd.org> Cc: FreeBSD Questions Mailing List <freebsd-questions@freebsd.org> Subject: Re: pkg schema upgrade? Message-ID: <CA%2BdWbmYh7pLdSHrN%2BYR-bzrc_tggkMKHWUpzpcu9_gBQiY2Seg@mail.gmail.com> In-Reply-To: <53E64F8E.7080401@FreeBSD.org> References: <CA%2BdWbmYd1=6pu8-BGhSYg66thLm4HNai6t=gpJRDGv16B8nC2A@mail.gmail.com> <53E64F8E.7080401@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 9, 2014 at 9:42 AM, Matthew Seaman <matthew@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 1.3.5.1: > > > > > > 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 > talks > > about this, and my Google-fu is failing me. > > # pkg clean -a > # pkg update -f > > should restore sanity. > > Cheers, > > Matthew > > -- > 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) operations? Patrick
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BdWbmYh7pLdSHrN%2BYR-bzrc_tggkMKHWUpzpcu9_gBQiY2Seg>