From owner-freebsd-ports@freebsd.org Sat Jul 4 12:51:09 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 7BE2434D390 for ; Sat, 4 Jul 2020 12:51:09 +0000 (UTC) (envelope-from cmt@burggraben.net) 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 49zWsn1p2Jz4fZk for ; Sat, 4 Jul 2020 12:51:09 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: by mailman.nyi.freebsd.org (Postfix) id 3BA9734D38F; Sat, 4 Jul 2020 12:51:09 +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 3B6A534D4A1 for ; Sat, 4 Jul 2020 12:51:09 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from smtp.burggraben.net (smtp.burggraben.net [IPv6:2a01:4f8:140:510a::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.burggraben.net", Issuer "Christoph Moench-Tegeder" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 49zWsm4Ytfz4fPd for ; Sat, 4 Jul 2020 12:51:08 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from elch.exwg.net (elch.exwg.net [IPv6:2001:470:7120:1:127b:44ff:fe4f:148d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "elch.exwg.net", Issuer "Christoph Moench-Tegeder" (not verified)) by smtp.burggraben.net (Postfix) with ESMTPS id 32333C0030C; Sat, 4 Jul 2020 14:51:07 +0200 (CEST) Received: by elch.exwg.net (Postfix, from userid 1000) id DA864139857; Sat, 4 Jul 2020 14:51:06 +0200 (CEST) Date: Sat, 4 Jul 2020 14:51:06 +0200 From: Christoph Moench-Tegeder To: Kurt Jaeger Cc: ports@freebsd.org Subject: Re: why does pkg try to install an older version of pkg ? Message-ID: <20200704125106.GC96403@elch.exwg.net> References: <20200704121238.GC39563@home.opsec.eu> <20200704123027.GB96403@elch.exwg.net> <20200704123652.GD39563@home.opsec.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200704123652.GD39563@home.opsec.eu> User-Agent: Mutt/1.14.5 (2020-06-23) X-Rspamd-Queue-Id: 49zWsm4Ytfz4fPd X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of cmt@burggraben.net designates 2a01:4f8:140:510a::3 as permitted sender) smtp.mailfrom=cmt@burggraben.net X-Spamd-Result: default: False [-2.27 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.986]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:140:510a::3]; NEURAL_HAM_LONG(-1.01)[-1.012]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[burggraben.net]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[2a01:4f8:140:510a::3:from]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.77)[-0.770]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; RCVD_TLS_ALL(0.00)[] 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 12:51:09 -0000 ## Kurt Jaeger (pi@opsec.eu): > > 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? Any leftovers in /etc/pkg/ or /usr/local/etc/pkg/ ? You could grab packagesite.txz from your repo, untar that and then grep '"name":"pkg"' packagesite.yaml Any brokenness in /var/db/pkg/ ? There's a per-repo sqlite3 database which you could query like this: select name, origin, version from packages where name = 'pkg'; Regards, Christoph -- Spare Space