Date: Mon, 2 Mar 2020 18:56:31 +0000 From: Grzegorz Junka <list1@gjunka.com> To: freebsd-ports@freebsd.org Subject: Re: pkg / poudriere issue - wrong packagesite / meta Message-ID: <da55493a-9005-de22-9f0d-156fb3ae6c5f@gjunka.com> In-Reply-To: <3f768444-3ee9-75bd-934d-a0bd8c8845d4@gjunka.com> References: <3f768444-3ee9-75bd-934d-a0bd8c8845d4@gjunka.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 02/03/2020 17:49, Grzegorz Junka wrote: > I just finished building ports for FreeBSD 12.1. I have already > upgraded base to 12.1 and now I am trying to update packages, but pkg > fails with this cryptic error: > > # pkg update > Updating desktop_nvidia repository catalogue... > pkg: repository meta has wrong version 2 > pkg: Repository desktop_nvidia load error: meta cannot be loaded No > error: 0 > Fetching meta.txz: 100% 236 B 0.2kB/s 00:01 > pkg: repository meta has wrong version 2 > repository desktop_nvidia has no meta file, using default settings > Fetching packagesite.txz: 100% 463 KiB 474.1kB/s 00:01 > pkg: repository meta has wrong version 2 > pkg: Repository desktop_nvidia load error: meta cannot be loaded No > error: 0 > Unable to open created repository desktop_nvidia > Unable to update repository desktop_nvidia > Error updating repositories! > This is now solved, at least for my issue. I copied the pkg locally and installed it while the pkg.conf was still pointing to the old repo (with old meta). After installing I switched to the new repo and thankfully the newer version of pkg was able to read the new meta format and it updated the database correctly.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?da55493a-9005-de22-9f0d-156fb3ae6c5f>