From nobody Tue Nov 25 00:34:39 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 4dFkGm0t0jz6J5cx for ; Tue, 25 Nov 2025 00:34:40 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dFkGl5qnjz41WM for ; Tue, 25 Nov 2025 00:34:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1764030879; 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; bh=gnjgm+rlXsrj+4R3Zsp2dgAOJCggcCuavsszVV/siqg=; b=ZdH0GzSVGcXqN+9+nUp1nevlbBcJ8+vpgCwktCqhJe1QXPzaioDskgOvlUxIg14r/UWU3c 6Ea74yl6/lH4V7oKySGULxwjumIzFWBmMQQPiuyjfM697ClYsR3Id36zjuBnH7R8qYRReH jWSXU5Bv31iaf8YREopYG6lM5Ld+/COt0oa6i0FOTs/2tPWDgZihaSjX/+PZtwOn2kEMtR 8Cp5A9/W17tMwvfoUvK2D8Q2sg5zG72U4cgiYQJcY0vMJmvRpdXRmUiJ5uHlncrWsNVmpN SfztWsTpDOjMUKuQWFt8ybRekA6sOqWz3VYjm0r0RHz70UbPd961GBA6G96cRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1764030879; 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; bh=gnjgm+rlXsrj+4R3Zsp2dgAOJCggcCuavsszVV/siqg=; b=adi+CAqSm9XpaaoOjgKtpkvoYLPwg0sE4QG6OwRiiyKOmmWc/MIv01ur4GeOu1hnfCFwo7 VuF3pANKq/MsXJSicCsoljtgF+lBa781QAfItVKbsszP2WjYiDk45OzJwTWDVl7YIDe4Dg ibnu+kGYpxwuLWMChQuRs4iZbG2gXQzigAk9TA9CFiyglJCdUToBAZdFNzJ48X/zKJcnaR rdcyOasoC4QpHQejEDq403at6uzHRabw9rZiie4+XF4JalGyGqj0eoly30LbYrJX1JAJZt KH7RakvOLuP7hvl9r7erUxkk73GBuYCU2URQQEMgq57Ol/A1PJuH8ljXZzC48Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1764030879; a=rsa-sha256; cv=none; b=IXKf8YWcHxjoRdLfbrBAqVJkG994vZgQb1GKRSU+Q8KGsIIgfXUn6Zhqw7Paxr7UttGKtp 7e7mxcISjsXoZFYyKWwmLUWbagEb//pbs1o5WOy+L/tGjNhrloXEOAU1B+IiIFfIfU8B5B xj2Tyf25UJqINFLPridt6dmlO47XNR64AE20NFAetynttBapN3wo5F5gUQHIK1UEmQbYJb Dsjph/GUZK0cptV2DqmL6mRMdGTKmp/MT9B91m1Oir1bkcepj3v4dHSCWRJ8q6hcUcZ8/E QyPAaI9D3zU+WIVztSXKSKKDwhs16/1RYiozkYxO8MW2Cr4BhyKd3/RQXrepVQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4dFkGl55YHzdLS for ; Tue, 25 Nov 2025 00:34:39 +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 5AP0Yd2J044066 for ; Tue, 25 Nov 2025 00:34:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5AP0YdQK044065 for pkg@FreeBSD.org; Tue, 25 Nov 2025 00:34:39 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 291200] ports-mgmt/pkg periodic script weekly/400.status-pkg uses a wrong pkg -R option Date: Tue, 25 Nov 2025 00:34:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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 Many People X-Bugzilla-Who: gebhart@secnetix.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: 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=3D291200 Bug ID: 291200 Summary: ports-mgmt/pkg periodic script weekly/400.status-pkg uses a wrong pkg -R option Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: pkg@FreeBSD.org Reporter: gebhart@secnetix.de Assignee: pkg@FreeBSD.org Flags: maintainer-feedback?(pkg@FreeBSD.org) beginning with version 2.4.x the periodic script weekly/400.status-pkg uses pkg version -CRv index so the -R option checks versions ALWAYS remotely with a repository to compa= re which ports/pkg are out of date. This only works with pkg-only installations. If ports are used, the INDEX a= nd the ports tree should be used for comparison, which are automatically checked without= the -R option. Then it also works with ports installed just like in all other version befo= re. If no -R option is used, then (according to the manual) pkg version looks i= nto ports tree=20 and INDEX and if both not found, automatically uses -R. That behaviour also can not be overridden with -I or other options set in $pkgargs. Summary: IMHO is the use of -R is simply wrong and it should be removed. --=20 You are receiving this mail because: You are the assignee for the bug.=