Date: Tue, 25 Nov 2025 00:34:39 +0000 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 Message-ID: <bug-291200-32340@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291200 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 compare which ports/pkg are out of date. This only works with pkg-only installations. If ports are used, the INDEX and 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 before. If no -R option is used, then (according to the manual) pkg version looks into ports tree 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. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-291200-32340>
