From owner-freebsd-cloud@freebsd.org Mon Apr 20 21:42:59 2020 Return-Path: Delivered-To: freebsd-cloud@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 65E842B0E5E for ; Mon, 20 Apr 2020 21:42:59 +0000 (UTC) (envelope-from dan@langille.org) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 495gD21kd2z4B7T for ; Mon, 20 Apr 2020 21:42:58 +0000 (UTC) (envelope-from dan@langille.org) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 8E73A5C019B for ; Mon, 20 Apr 2020 17:42:57 -0400 (EDT) Received: from imap35 ([10.202.2.85]) by compute2.internal (MEProxy); Mon, 20 Apr 2020 17:42:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=langille.org; h= mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=fm1; bh=R1Okc3+eRcdxsJZqWLyMnAebnS0h5q3 i/uglTEYjS6E=; b=aShFWfAo2fua74fjN0FbTbV5GkPxO/1ZqJqMItoZt5cpRuV Zl8SoiJIr+2/vQ1KNltUPg3ybj7TMblmg7oHlSaI7JDUN5hoXhfmjATRiDJZY/fB UkbgVFTKGRNZ5sTJcZvNM0nSANBxrMmYpUdIMdahnmJgO2PdxB9GXDqkG4wznd94 usM2A8O3K5+vhaEb1GyTCIB7w5FtaI2ue9f3awS4aR4whA25XlevC+spnbjQLYNF dUMq48NALeBtxj5BdqQAM7Iy//Hj52sxSyx0mAQV/mGnt7XAOQzDufVIG1Db9Bjc trzDliQsvYf8P2ibIdRyoZ6xHknrAWehje0aRyQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=R1Okc3 +eRcdxsJZqWLyMnAebnS0h5q3i/uglTEYjS6E=; b=etGHUrATExeGxYklLD1Cdr P7Nq9ZqEcx9efITZIGosqfW5XJIIl5YR6bdn0AjofnPvlbLOfSaRtC5hkKq48Aa3 1lNbyFa1ec9oDTTebsKvHVN3CN4YyHHzCAhLM6mbcb8zst2hadVNg3XETiYINX65 vYPhk2vbO1iBbemT8iwFrSqq/E5bGzmAHnouHeSbju/dx9JRoKbUz6BNj5D8x5qh Kn4PakxIuxc5HMrs2e4ixuNF9q96SDeKaIiH9oDPWVe5n7p3so/S5lPP/wcq8Iq+ jZSewvgbUsg7isuGi+HAW8NuTdMmmsQ1/hh9o7PbbIrOjV3xIwkMkmZxG0q4T/Lg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrgeefgdduheekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderredtnecuhfhrohhmpedfffgrnhcunfgrnhhgihhllhgvfdcuoegurghnsehlrghn ghhilhhlvgdrohhrgheqnecuffhomhgrihhnpehfrhgvvggsshgurdhorhhgnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepuggrnheslhgrnhhg ihhllhgvrdhorhhg X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 2AA0714C009C; Mon, 20 Apr 2020 17:42:57 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-1152-g08c8976-fmstable-20200420v1 Mime-Version: 1.0 Message-Id: <66e37bf4-bcd7-4c49-89f8-1fe05fb4f6cc@www.fastmail.com> In-Reply-To: References: Date: Mon, 20 Apr 2020 17:42:35 -0400 From: "Dan Langille" To: freebsd-cloud@freebsd.org Subject: Re: Instance of 11.3 got "pkg: repository meta has wrong version 2" Content-Type: text/plain X-Rspamd-Queue-Id: 495gD21kd2z4B7T X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=langille.org header.s=fm1 header.b=aShFWfAo; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=etGHUrAT; dmarc=pass (policy=none) header.from=langille.org; spf=pass (mx1.freebsd.org: domain of dan@langille.org designates 66.111.4.29 as permitted sender) smtp.mailfrom=dan@langille.org X-Spamd-Result: default: False [-5.58 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[langille.org:s=fm1,messagingengine.com:s=fm2]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.29]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-cloud@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(-3.49)[ip: (-9.84), ipnet: 66.111.4.0/24(-4.89), asn: 11403(-2.69), country: US(-0.05)]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[langille.org:+,messagingengine.com:+]; DMARC_POLICY_ALLOW(-0.50)[langille.org,none]; RCVD_IN_DNSWL_LOW(-0.10)[29.4.111.66.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; MID_RHS_WWW(0.50)[] X-BeenThere: freebsd-cloud@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "FreeBSD on cloud platforms \(EC2, GCE, Azure, etc.\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Apr 2020 21:42:59 -0000 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@langille.org