From owner-freebsd-pkg@freebsd.org Fri Feb 21 09:25:30 2020 Return-Path: Delivered-To: freebsd-pkg@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F15432581AC for ; Fri, 21 Feb 2020 09:25:30 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48P5fL4tD3z3Lqw; Fri, 21 Feb 2020 09:25:30 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from ivaldir.etoilebsd.net (etoilebsd.net [178.32.217.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 59286171FA; Fri, 21 Feb 2020 09:25:30 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by ivaldir.etoilebsd.net (Postfix, from userid 1001) id 83535E89D7; Fri, 21 Feb 2020 10:24:59 +0100 (CET) Date: Fri, 21 Feb 2020 10:24:59 +0100 From: Baptiste Daroussin To: Mark Raynsford Cc: freebsd-pkg@freebsd.org Subject: Re: Error trying to update or install pkg Message-ID: <20200221092459.ntqydidogjnrlkb3@ivaldir.net> References: <20200221092257.100c41cf@sunflower.int.arc7.info> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="pkcuuqz5hpatqd4f" Content-Disposition: inline In-Reply-To: <20200221092257.100c41cf@sunflower.int.arc7.info> X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Feb 2020 09:25:31 -0000 --pkcuuqz5hpatqd4f Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 21, 2020 at 09:22:57AM +0000, Mark Raynsford via freebsd-pkg wr= ote: > Hello! >=20 > After an update from FreeBSD 11.2 to 12.2, I'm running into the > following: >=20 > $ sudo pkg-static install -f pkg > pkg-static: Warning: Major OS version upgrade detected. Running "pkg-sta= tic install -f pkg" recommended > Updating FreeBSD repository catalogue... > pkg-static: repository meta has wrong version 2 > pkg-static: Repository FreeBSD load error: meta cannot be loaded No error= : 0 > Fetching meta.txz: 100% 916 B 0.9kB/s 00:01 =20 > pkg-static: repository meta has wrong version 2 > repository FreeBSD has no meta file, using default settings > Fetching packagesite.txz: 100% 6 MiB 3.2MB/s 00:02 =20 > pkg-static: repository meta has wrong version 2 > pkg-static: Repository FreeBSD load error: meta cannot be loaded No error= : 0 > Unable to open created repository FreeBSD > Unable to update repository FreeBSD > Error updating repositories! >=20 > I've actually tried completely removing /var/db/pkg and running the > above, and I still seem to get the same error. >=20 > My /etc/pkg/FreeBSD.conf: >=20 > FreeBSD: { > url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", > mirror_type: "srv", > signature_type: "fingerprints", > fingerprints: "/usr/share/keys/pkg", > enabled: yes > } >=20 > Any ideas? I'm left unable to complete the "freebsd-update install" > because I can't upgrade existing packages on the system. pkg bootstrap -f will enforce to update to the latest pkg and fix the situa= tion Best regards, Bapt --pkcuuqz5hpatqd4f Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAl5PoekACgkQY4mL3PG3 PlpmEg/+OfpThETInttty+brshpkGcN/6Ifk6ELNJQ5N13iGzOqlXbZq5kaS4vHX 3na4oer22/hj0buVBTuLC9igRU8faFPJOFl0piUFNGZyGYv3TZFTbLvYPXVcQclm wnRHwrxqkgCTovQpZTGEzTMhxNktZhmlABPhBLpWJZntQZ/1eU7wE2RiCMZr+oVT 4P3dSfRsHE9cJfFvYBwksXaVZ7yNl7UiTBUYIqHRlXijuzp+RcmWEPN2Z8Y9ftOb hx73uXbA0ihcnUBX4VZTh1g1eGbvs42B7YW0syrUC1nd40lyqy5U5R9e80uKdtWI cXZE+IE8vfoD3m8a7z8AB4IWb1/0Ivk5mbzmL9prW9fOI960jBZa4z8PwItIRlPh uHHzIPEKZ+BCHFo6gV7wzi0+ICMZMRnGcJ7+q/4j1GnOrlgfyhKAf6v9uPL2ovhW zdKjYTHXf1j7Ax4ZGKtEtsRIcR//LlGNDWkkRXNxYLUe2ptHL1eHcavr5XOcEDog 0QGXx05Tt6TskOsxvU9DREZ4nse6ZrQNLrSHQlZRpRP+fgWAtWT5ffk7AYkjKPCh qH9h5IS7EZMSFFIIwo/Tq4Sl6MRf96/fc+92FcVbkb7dpQeEkQsnsCQGT05oe3j7 5JsA9QqIHYy5RiC7+kkj3pOWnWkWuAFnpoVPyeZxZyuPK0Ggbo8= =J2GE -----END PGP SIGNATURE----- --pkcuuqz5hpatqd4f--