From owner-freebsd-current@freebsd.org Sat Mar 7 20:37:32 2020 Return-Path: Delivered-To: freebsd-current@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 1CD8526F73B for ; Sat, 7 Mar 2020 20:37:32 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (Client CN "mail.evolve.de", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48Zbrp6S5wz42V1; Sat, 7 Mar 2020 20:37:30 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 96f18ee8; Sat, 7 Mar 2020 20:37:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=content-type :content-transfer-encoding:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; s=20180501; bh=BYMkbdzMGCsEg/ hP1yq70SfVuG4=; b=pGVA3ow3lcH8X1nT+1X5i/2YrWpRR6XE57bw2ZgCD25814 vCnL2NGyygDDjyf2D3wPkUbMGcMwEj3zxGPW9re0ovlcLOBkF85JplTbGqwHAkIv uazlOVBRPCnjFPMEfR9mMIRF2a0J6LZcCT3tSMsJyUuyZsq1E8xZw9K2Ga5ys5bR 8s0vubWF3P76T8WlREqjsc7Q9oc4BwNMRlgEU7aLojECaBCIMkhiFtanJgH+gYiu uS8FcDR4GAbzR5peOpHRxqfqSRVeHqJZW8drieHr+eT7frYFg3UGMez4v1Bilv3Y rJIxPPpfc6+p9YVN1I0TEiJwNTJu3e07biMHd+Ug== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=content-type :content-transfer-encoding:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; q=dns; s=20180501; b=DrWEd6Uk 9K8jr/xn1Z6qP2njX8jY5ciWfF1nrYBYrME1/2M+wMRPZ8JUQ1lku+ANWCVMnuki vt7DyBjtpXbOFPL+HCOCUxw4u2AGMvjDbYmnRpkeHZeyCM4Iv7VdDIoACZ61GEwr +AjkIX2BF8AQ+7IvaRSJCDr8b3Uxwj41J4If9Iy0pkzTFCytB8SzTZf7ToBsKBCx EA+wO8NATOMszb7k8AMAWz5g6WXrIL3ZLGU1pYq184IRQRdntm8/OWUKWJkTtafu j4xINmcvFLXtEv1YPf2Js2rv/1HrlBVLHXAktogVxtjdt6aeGxzfCOCkgu9i+cLX msDObt2LBBmfSg== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 78e1da66 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO); Sat, 7 Mar 2020 20:37:24 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Subject: Re: Pkg repository is broken... From: Michael Gmelin In-Reply-To: <72F36F7F-CF4D-44C9-A307-8728ED4071D9@freebsd.org> Date: Sat, 7 Mar 2020 21:37:22 +0100 Cc: FreeBSD Message-Id: References: <72F36F7F-CF4D-44C9-A307-8728ED4071D9@freebsd.org> To: Michael Tuexen X-Mailer: iPhone Mail (17D50) X-Rspamd-Queue-Id: 48Zbrp6S5wz42V1 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-5.69 / 15.00]; NEURAL_HAM_MEDIUM(-0.69)[-0.687,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Mar 2020 20:37:32 -0000 > On 7. Mar 2020, at 19:01, Michael Tuexen wrote: >=20 > =EF=BB=BF >>=20 >>> On 7. Mar 2020, at 18:18, Michael Gmelin wrote: >>>=20 >>>=20 >>>=20 >>>> On 7. Mar 2020, at 18:08, Michael Tuexen wrote:= >>>=20 >>> =EF=BB=BF >>>>=20 >>>> On 7. Mar 2020, at 16:46, Michael Gmelin wrote: >>>>=20 >>>>=20 >>>>=20 >>>>> On Sat, 07 Mar 2020 11:30:58 -0400 >>>>> Waitman Gobble wrote: >>>>>=20 >>>>> On 2020-03-07 05:10, Ronald Klop wrote: >>>>>> On Sat, 07 Mar 2020 01:38:55 +0100, Greg 'groggy' Lehey >>>>>> wrote: >>>>>>=20 >>>>>>> On Friday, 6 March 2020 at 12:29:44 +0100, Lars Engels wrote: =20 >>>>>>>> On Wed, Mar 04, 2020 at 03:16:14PM +1100, Greg 'groggy' Lehey >>>>>>>> wrote: =20 >>>>>>>>>=20 >>>>>>>>> Any workarounds in the meantime? This must affect a lot of >>>>>>>>> people, including those who use 12-: >>>>>>>>>=20 >>>>>>>>> pkg: wrong architecture: FreeBSD:12.0:amd64 instead of=20 >>>>>>>>> FreeBSD:12:amd64 >>>>>>>>> pkg: repository FreeBSD contains packages with wrong ABI:=20 >>>>>>>>> FreeBSD:12.0:amd64 =20 >>>>>>>>=20 >>>>>>>> Still broken for me on 12.1. =20 >>>>>>>=20 >>>>>>> Strange. Mine cleared up automatically the following day. >>>>>>>=20 >>>>>>> It's also strange how few replies I have received. Two private >>>>>>> messages (why?), yours, and that was it. You'd think that people >>>>>>> would be screaming. >>>>>>>=20 >>>>>>> Greg =20 >>>>>>=20 >>>>>>=20 >>>>>> I'm not screaming because I'm settling with the situation and >>>>>> starting to make workarounds. >>>>>> And wondering where the official communication of the community is. >>>>>> Nothing about this situation on www.freebsd.org. All information >>>>>> about the situation seems scattered through the mailinglists. >>>>>>=20 >>>>>> Things are working for me on 13-CURRENT again, but still broken on >>>>>> 12.1-RELEASE. See attachment. >>>>>>=20 >>>>>> Ronald. >>>>>> _______________________________________________ >>>>>> freebsd-current@freebsd.org mailing list >>>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-current >>>>>> To unsubscribe, send any mail to=20 >>>>>> "freebsd-current-unsubscribe@freebsd.org" =20 >>>>>=20 >>>>>=20 >>>>> Did you try: >>>>> pkg update -f >>>>>=20 >>>>>=20 >>>>> I installed 12.1 on a new laptop yesterday, I have not experienced=20 >>>>> issues with pkg. >>>>>=20 >>>>=20 >>>> This was only an issue on the "latest" branch. If you don't alter >>>> "/etc/pkg/FreeBSD.conf", you'll get packages from the "quarterly" >>>> branch, which fortunately wasn't affected. >>>=20 >>> Any idea what is wrong on a stable/12 machine: >>>=20 >>> tuexen@stable12:~ % sudo pkg update=20 >>> Password: >>> Updating FreeBSD repository catalogue... >>> pkg: repository meta has wrong version 2 >>> pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0 >>> Fetching meta.txz: 100% 916 B 0.9kB/s 00:01 =20 >>> pkg: repository meta has wrong version 2 >>> repository FreeBSD has no meta file, using default settings >>> Fetching packagesite.txz: 100% 6 MiB 586.4kB/s 00:11 =20 >>> pkg: repository meta has wrong version 2 >>> pkg: 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! >>> tuexen@stable12:~ % sudo pkg update -f >>> Updating FreeBSD repository catalogue... >>> pkg: repository meta has wrong version 2 >>> pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0 >>> Fetching meta.txz: 100% 916 B 0.9kB/s 00:01 =20 >>> pkg: repository meta has wrong version 2 >>> repository FreeBSD has no meta file, using default settings >>> Fetching packagesite.txz: 100% 6 MiB 645.0kB/s 00:10 =20 >>> pkg: repository meta has wrong version 2 >>> pkg: 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! >>> tuexen@stable12:~ % sudo pkg upgrade >>> Updating FreeBSD repository catalogue... >>> pkg: repository meta has wrong version 2 >>> pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0 >>> Fetching meta.txz: 100% 916 B 0.9kB/s 00:01 =20 >>> pkg: repository meta has wrong version 2 >>> repository FreeBSD has no meta file, using default settings >>> Fetching packagesite.txz: 100% 6 MiB 586.4kB/s 00:11 =20 >>> pkg: repository meta has wrong version 2 >>> pkg: 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! >>> tuexen@stable12:~ % uname -U >>> 1201512 >>> tuexen@stable12:~ % uname -K >>> 1201512 >>> tuexen@stable12:~ %=20 >>>=20 >>=20 >> Can you share >>=20 >> cat /etc/pkg/FreeBSD.conf > Sure: >=20 > tuexen@stable12:~ % cat /etc/pkg/FreeBSD.conf > # $FreeBSD: stable/12/usr.sbin/pkg/FreeBSD.conf.latest 346780 2019-04-27 0= 4:00:50Z cperciva $ > # > # To disable this repository, instead of modifying or removing this file, > # create a /usr/local/etc/pkg/repos/FreeBSD.conf file: > # > # mkdir -p /usr/local/etc/pkg/repos > # echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.con= f > # >=20 > FreeBSD: { > url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", > mirror_type: "srv", > signature_type: "fingerprints", > fingerprints: "/usr/share/keys/pkg", > enabled: yes > } >=20 Could you try to replace pkg.freebsd.org with pkg0.nyi.freebsd.org and then r= un =E2=80=9Cpkg -f update=E2=80=9D? -m > Best regards > Michael >>=20 >> ? >>=20 >>=20 >>=20 >>> Best regards >>> Michael >>>>=20 >>>> Anyway, this has been fixed as of today 13:30 UTC, see >>>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244549#c43 >>>>=20 >>>> -m >>>>=20 >>>> --=20 >>>> Michael Gmelin >>>> _______________________________________________ >>>> freebsd-current@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-current >>>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o= rg" >>>=20 >>=20