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 4dFkGl5Y0Hz6J5wh for ; Tue, 25 Nov 2025 00:34:39 +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 4dFkGl4W77z41kp 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: in-reply-to:in-reply-to:references:references; bh=GD7xlyd9wKebuzGt27s1oISs+91HZbck2DIHOy369zQ=; b=W8hd5Ma9+tFJdQU2E4VziV1PURx6khv1DDpFf3CK/2Z+GN1MDjP468l0cFc6gmx728gr5u mdTsOr40kqsR6Cc0eCiSnQfgx4PxVaSp8Bpfz3VXstwQWwApWq2RcSfcf4NfvixMyjcEy2 1DUQjdwfDFjfGuKNg18HqvLA6yS35B6u4Qk6rU7fr/9/e8spEAkDDdJ6Pyc13zRnQV1CH+ DF5XEuP1xtJX1y67VrLESEUs2dtaHWtGHzOfKxMvkDaC6OrML10OcdXzXTdFxXvvmyeAxn kXNevGYCcRBisVwpTQJ0lThWRwxY+fYyY6ky7BhvDBu/cVjyx5Ewrsd3kk1zHg== 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: in-reply-to:in-reply-to:references:references; bh=GD7xlyd9wKebuzGt27s1oISs+91HZbck2DIHOy369zQ=; b=ZZQT+mdW3/I8BzKRVjVaQbNZR97OUjma6+04jR+LeaSZQWSyQgZ2wg32FmO5UQ8Mb9k7Bt 8/8cNl3LnIwUw8oxOYvk6n3HvvurP1tT6F3tlIiU0l08aGZPl8mLWOzkmvE5CgWhVHONkP /euCnX19/hVfIDudpibl4S1S85rT0rWjJP7JPExh2l6lWkMXUUiUsRo9qQhcRevDEajZp8 kKmTxpnkSmU6lCXgZ3Enw+hCPiktnEVdCAPYK7TyiTDqb0KN5QjfLCBL358ToGM5ciodX3 C9yPYyOtq+m+TW5MW2EYCq8EzLunfnwMjNIHTqR7J2uiBOzLxSHk0KG+cIAPFg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1764030879; a=rsa-sha256; cv=none; b=J9hNz3Hb/YBrlXWJevbHAZbihWl2a40BgZvIV9RScewhofehw8iV+xyayAI1glokmt8jbw e11qW8UAuE/T9vAU9Wg3lkHWasteS8fDaqV+rFTP1jG5/JU/RiksGj1GumEao7hgGS6EUD /zDaTGUXju4i6tcPIJoQLh2y0DNhqfZNXYqurtw2dQKC8ffbP8m8wyEKYVLgz3fX9T1DEJ 4u+ym8sIXHwZRYlrF79x4E5y9xtYamggoD0r8GnJrVQrA5S2WmVaXj1Gow990xkHIy8ia/ yiTfhPF3oyvsolJ9G19QuPF+FQk+T9DZXifuBV8080JI//y8r8HmeuRxmmkM6w== 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 4dFkGl3r4Bzf5M 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 5AP0Ydum044053 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 5AP0Ydav044052 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 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: maintainer-feedback requested: [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-Type: request 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: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: 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 Bugzilla Automation has asked freebsd-pkg (Nobody) for maintainer-feedback: Bug 291200: ports-mgmt/pkg periodic script weekly/400.status-pkg uses a wro= ng pkg -R option https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D291200 --- Description --- 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.