From owner-freebsd-ports@freebsd.org Sat Jul 4 13:28:45 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 D5E2034E378 for ; Sat, 4 Jul 2020 13:28:45 +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 49zXj940jFz3SYS for ; Sat, 4 Jul 2020 13:28:45 +0000 (UTC) (envelope-from pi@opsec.eu) Received: by mailman.nyi.freebsd.org (Postfix) id 8784D34E377; Sat, 4 Jul 2020 13:28:45 +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 874C534E3CC for ; Sat, 4 Jul 2020 13:28:45 +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 49zXj90Tndz3SYR for ; Sat, 4 Jul 2020 13:28:44 +0000 (UTC) (envelope-from pi@opsec.eu) Received: from pi by home.opsec.eu with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1jriDh-000FPb-IQ; Sat, 04 Jul 2020 15:28:41 +0200 Date: Sat, 4 Jul 2020 15:28:41 +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: <20200704132841.GG39563@home.opsec.eu> References: <20200704121238.GC39563@home.opsec.eu> <20200704123027.GB96403@elch.exwg.net> <20200704123652.GD39563@home.opsec.eu> <20200704125106.GC96403@elch.exwg.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200704125106.GC96403@elch.exwg.net> X-Rspamd-Queue-Id: 49zXj90Tndz3SYR 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 [-2.16 / 15.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:c]; NEURAL_HAM_LONG(-1.00)[-0.996]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[opsec.eu]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.90)[-0.896]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:12502, ipnet:2001:14f8::/32, country:DE]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Sat, 04 Jul 2020 13:28:45 -0000 Hi! > > > So what repo is that and what does it offer? > > That's repo.nepustil.net, which is mostly up2date. > Are you sure you got the right path there? Yes. > Any leftovers in /etc/pkg/ or /usr/local/etc/pkg/ ? None that I'm aware of. > 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. 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-} -- pi@opsec.eu +49 171 3101372 Now what ?