From owner-freebsd-ports@freebsd.org Sat Jul 4 12:30:32 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 4D6BD34C607 for ; Sat, 4 Jul 2020 12:30:32 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49zWQ00PzQz4cKm for ; Sat, 4 Jul 2020 12:30:32 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: by mailman.nyi.freebsd.org (Postfix) id 0C3F434C606; Sat, 4 Jul 2020 12:30:32 +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 0C03934C603 for ; Sat, 4 Jul 2020 12:30:32 +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 49zWPy74M9z4cYD for ; Sat, 4 Jul 2020 12:30:30 +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 0EF5FC00311; Sat, 4 Jul 2020 14:30:28 +0200 (CEST) Received: by elch.exwg.net (Postfix, from userid 1000) id B412D139857; Sat, 4 Jul 2020 14:30:27 +0200 (CEST) Date: Sat, 4 Jul 2020 14:30:27 +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: <20200704123027.GB96403@elch.exwg.net> References: <20200704121238.GC39563@home.opsec.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200704121238.GC39563@home.opsec.eu> User-Agent: Mutt/1.14.5 (2020-06-23) X-Rspamd-Queue-Id: 49zWPy74M9z4cYD 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.01 / 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.51)[-0.508]; 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:30:32 -0000 ## Kurt Jaeger (pi@opsec.eu): > pkg upgrade -f pkg > Updating ... repository catalogue... > ... repository is up to date. > All repositories are up to date. So what repo is that and what does it offer? > Installed packages to be DOWNGRADED: > pkg: 1.14.6 -> 1.10.5_1 > > Why does pkg insist on downgrading pkg ? How can this be fixed ? You are forcing "reinstallation or upgrade" (pkg-upgrade(8)) and if you have a stale repo which only offers that old pkg (is that perchance a 11.1 repo?)... that's what you get. Regards, Christoph -- Spare Space