pkg schema upgrade?

Matthew Seaman matthew at FreeBSD.org
Sat Aug 9 16:43:18 UTC 2014


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1036 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20140809/57f76afc/attachment.sig>


More information about the freebsd-questions mailing list