From owner-freebsd-pkg@freebsd.org Fri Feb 21 09:23:19 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 792C1258095 for ; Fri, 21 Feb 2020 09:23:19 +0000 (UTC) (envelope-from list+org.freebsd.pkg@io7m.com) Received: from mail.io7m.com (mail.io7m.com [IPv6:2001:19f0:5:752:f000::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.io7m.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48P5bp2WJkz3GnJ for ; Fri, 21 Feb 2020 09:23:18 +0000 (UTC) (envelope-from list+org.freebsd.pkg@io7m.com) Received: from sunflower.int.arc7.info (unknown [IPv6:2a02:390:7502:2:0:2:4:0]) by mail.io7m.com (Postfix) with ESMTPSA id A4F612E58C for ; Fri, 21 Feb 2020 09:23:10 +0000 (UTC) Date: Fri, 21 Feb 2020 09:22:57 +0000 From: Mark Raynsford To: freebsd-pkg@freebsd.org Subject: Error trying to update or install pkg Message-ID: <20200221092257.100c41cf@sunflower.int.arc7.info> Organization: io7m.com OpenPGP: id=E36981ED130DB4F68D420248BBFFDB755BAED95D; url=http://www.io7m.com/pgp/E369_81ED_130D_B4F6_8D42_0248_BBFF_DB75_5BAE_D95D.key MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/=BswnL5Ro1FDpC4BiQQWy3z"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Rspamd-Queue-Id: 48P5bp2WJkz3GnJ X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.03 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[io7m.com:s=mail]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-pkg@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; DKIM_TRACE(0.00)[io7m.com:+]; DMARC_POLICY_ALLOW(-0.50)[io7m.com,quarantine]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-0.93)[ipnet: 2001:19f0::/38(-2.74), asn: 20473(-1.85), country: US(-0.05)]; ASN(0.00)[asn:20473, ipnet:2001:19f0::/38, country:US]; TAGGED_FROM(0.00)[org.freebsd.pkg]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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:23:19 -0000 --Sig_/=BswnL5Ro1FDpC4BiQQWy3z Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hello! After an update from FreeBSD 11.2 to 12.2, I'm running into the following: $ sudo pkg-static install -f pkg pkg-static: Warning: Major OS version upgrade detected. Running "pkg-stati= c 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! I've actually tried completely removing /var/db/pkg and running the above, and I still seem to get the same error. My /etc/pkg/FreeBSD.conf: FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", mirror_type: "srv", signature_type: "fingerprints", fingerprints: "/usr/share/keys/pkg", enabled: yes } Any ideas? I'm left unable to complete the "freebsd-update install" because I can't upgrade existing packages on the system. --=20 Mark Raynsford | http://www.io7m.com --Sig_/=BswnL5Ro1FDpC4BiQQWy3z Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQTjaYHtEw209o1CAki7/9t1W67ZXQUCXk+hcQAKCRC7/9t1W67Z Xf4oAP4nI2OsTvYNYFlC/rW9sVBL2y5rmm4vW5/IvAKtVfq0TgD9HfZxt2AzP6n9 1yB/SafSU2VGimD1w6MPVZdUVzF50QI= =RkSN -----END PGP SIGNATURE----- --Sig_/=BswnL5Ro1FDpC4BiQQWy3z--