Instance of 11.3 got "pkg: repository meta has wrong version 2"

Dan Langille dan at langille.org
Mon Apr 20 21:42:59 UTC 2020


On Mon, Apr 20, 2020, at 4:46 PM, Li-Wen Hsu wrote:

> The background is some users reported that when launch instance of
> 11.3, pkg doesn't work at all and the error message is: "pkg:
> repository meta has wrong version 2"

This affects non-cloud users.  I've encountered it on 12.1 release after
an upgrade from 12.0 or 11.3, not sure which.

We are using our own repo.

We found 'pkg bootstrap -f' fixed it for us:

re: https://forums.freebsd.org/threads/pkg-update-error.74260/


-- 
  Dan Langille
  dan at langille.org


More information about the freebsd-cloud mailing list