From owner-freebsd-ports@freebsd.org Sun Jul 5 07:49:31 2020 Return-Path: Delivered-To: freebsd-ports@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 CE5BB36478A for ; Sun, 5 Jul 2020 07:49:31 +0000 (UTC) (envelope-from pi@opsec.eu) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4B017H1kwJz4c3B for ; Sun, 5 Jul 2020 07:49:31 +0000 (UTC) (envelope-from pi@opsec.eu) Received: by mailman.nyi.freebsd.org (Postfix) id 39D71364525; Sun, 5 Jul 2020 07:49:31 +0000 (UTC) Delivered-To: ports@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 39A18364524 for ; Sun, 5 Jul 2020 07:49:31 +0000 (UTC) (envelope-from pi@opsec.eu) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4B017G1mZ5z4c5T for ; Sun, 5 Jul 2020 07:49:30 +0000 (UTC) (envelope-from pi@opsec.eu) Received: from pi by home.opsec.eu with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1jrzOv-000DCN-Qn; Sun, 05 Jul 2020 09:49:25 +0200 Date: Sun, 5 Jul 2020 09:49:25 +0200 From: Kurt Jaeger To: Christoph Moench-Tegeder Cc: ports@freebsd.org Subject: Re: why does pkg try to install an older version of pkg ? Message-ID: <20200705074925.GJ39563@home.opsec.eu> References: <20200704121238.GC39563@home.opsec.eu> <20200704123027.GB96403@elch.exwg.net> <20200704123652.GD39563@home.opsec.eu> <20200704125106.GC96403@elch.exwg.net> <20200704132841.GG39563@home.opsec.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200704132841.GG39563@home.opsec.eu> X-Rspamd-Queue-Id: 4B017G1mZ5z4c5T X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of pi@opsec.eu designates 2001:14f8:200::1 as permitted sender) smtp.mailfrom=pi@opsec.eu X-Spamd-Result: default: False [-1.95 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.971]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.01)[-1.011]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[opsec.eu]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.67)[-0.669]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:12502, ipnet:2001:14f8::/32, country:DE] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jul 2020 07:49:31 -0000 Hi! > > You could grab packagesite.txz from your repo, untar that and then > > grep '"name":"pkg"' packagesite.yaml > > Any brokenness in /var/db/pkg/ ? > > How would I recognize brokenness ? The files that should be there > are there. > > > There's a per-repo sqlite3 database which you could query like this: > > select name, origin, version from packages where name = 'pkg'; > I've tried, and it showed pkg-1.14.6 as it should be. So, had a second system, same pkg-version before, and it has the same problem. sqlite> select name, origin, version from packages where name = 'pkg'; pkg|ports-mgmt/pkg|1.14.6 > Status-update: Our package builder (repo.nepustil.net) finished > build for a new pkg-repo, and now the upgrade went through without > regression to pkg-1.10.5_1 8-} Well, this did not help for the second system with that problem 8-( -- pi@opsec.eu +49 171 3101372 Now what ?