From nobody Sat Jun 21 15:29:24 2025 X-Original-To: pkg@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bPdYc0p4Tz5ygG4 for ; Sat, 21 Jun 2025 15:29:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bPdYb6VCFz3C9j for ; Sat, 21 Jun 2025 15:29:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1750519763; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mcmQii9EElcZr3BGA1zcyX8Wp7mrKNyBwI1F0M1VTNU=; b=gAE/pNEVWlLhuOfftlSC9EFAM+KwSao5EdcnVbxlJgK9959GGNrmk+g1akYThmdcDdHrJS qwppMevv8UnZ6UrEMhVyrhLkMcM2XhDwUGv7WBF5ddJmBhE4uRsOWEhynJ/+5qdgQTxH33 MDTbouQ736neJWSS9rypaNmvH0rdImX3c46ZouPpLiAYSYUrDv8+A29MrItzPb+qQidI0D 4tBPrEZ56pbCjNYgxmQuqEbvhLGH5ulsdTHYFcTbG/gFGt6jsDYKaroKdw8xMUop6yxe7s OeXwkRg/ZF5f8KQ/OKUrWBvDP8OTy4pxD1C5A+hH0pz5JTnycH+4ovy+oGdVCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1750519763; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mcmQii9EElcZr3BGA1zcyX8Wp7mrKNyBwI1F0M1VTNU=; b=MYrMeTPAjzxkW7bEctbvZ0IOn4I/DsGumz9Pojo2mOxWESLBASURJ5wWdeInYlYzY5j8lq ULPsoDaIoCf+SfGGCbDtFnkyd0+4P4LxPh/znjjDnTPltIDPAuPXFnbhnU3w5xw3nCMFLY FTnF768FWkr7se/koUIyGmF94b8m9GjDcqyA1SqGHtOrienVlggd7p7DQIowZbfvBni318 QCE4Nhd2Lab/ZqIid2qGw1eP951X5JjoUCSjnER5kMiooqcH3EprqwJHBbs9am8o1+Qw56 aYdzzBlT6HT89UDMTwgtaxVnWovJqxO4B+CkSpkVNqM1Ao8OZes6QEeVDIQTJQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1750519763; a=rsa-sha256; cv=none; b=Dgj2w+Sf1Kv8PbAURrfigf9JeJ6i1ZSHRLb6SZtuq0CIDc2C3xSnblNrR7DF6tbrV1IAFv kk0X5tfz0eXaqBNnMV4jofIKY2imGyMzUkAyOAFSqyC6+F/fVm+IAIuHyjZYuXiwSgcUWC eTiysaBM4jlzb3PLjlsrqZ2PdSXKY7JbupeT3LsnaPtsvC9lkz6bSYL9222uZgIhH066UA +qV+7MN96n/ISTcriUREZRMHA8RsLa0XMeU8GTnhfrAa90NAHpGKT7hDOghlEmYL7VHQBI yRG4wiRVvCfinTU0AKJZ7L1J3UoCA4twVKFVPn2iXYsFitbbLnqKm1jNdYCP6g== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4bPdYb63rLzd3G for ; Sat, 21 Jun 2025 15:29:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 55LFTNKN052749 for ; Sat, 21 Jun 2025 15:29:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 55LFTNor052748 for pkg@FreeBSD.org; Sat, 21 Jun 2025 15:29:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 287700] Cannot 'pkg upgrade' from pkg-2.1.4 to pkg-2.2.0 on 14.3R Date: Sat, 21 Jun 2025 15:29:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: erichanskrs@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D287700 Eric changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |erichanskrs@gmail.com --- Comment #1 from Eric --- (In reply to Masachika ISHIZUKA from comment #0) I haven't experienced this, upgrading from pkg 2.1.4 to 2.2.0 (using Latest= ) on my 14.3-R. On my system I cannot reproduce this when again starting with pkg 2.1.4 (with a clean pkg cache); however, your environment will no doubt be different. Your command # pkg upgrade tries to consider upgrading every installed package. This might have result= ed in comparing quite a number of installed packages with the packages availab= le remotely; also a lot of dependencies may have been involved and might have caused the infinite loop, though I cannot corroborate that.=20 AFAIK the running pkg (that is 2.1.4 in this case) is first trying to upgra= de itself (to 2.2.0 here); I don't know how much 'other processing' is underta= ken before pkg tries to upgrade itself. Your solution/workaround seems to have worked effectively. As alternatives = to this 'pkg add' route, users facing the same problem in trying to get pkg upgraded to 2.2.0 might consider trying: # pkg upgrade pkg or even: # pkg upgrade -r FreeBSD pkg thereby limiting this to upgrading only the pkg package. --=20 You are receiving this mail because: You are the assignee for the bug.=