Date: Sat, 25 Apr 2026 11:48:16 +0200 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org> To: Mark Millard <marklmi@yahoo.com> Cc: freebsd-pkgbase@freebsd.org, freebsd-pkg@freebsd.org Subject: Re: What is expected for "pkg check -ma 2>&1 | less" results? Message-ID: <86y0ib2wwv.fsf@ltc.des.dev> In-Reply-To: <c382fa37-a750-4d0a-b00b-53d002ff49f1@yahoo.com> (Mark Millard's message of "Fri, 24 Apr 2026 22:01:37 -0700") References: <c382fa37-a750-4d0a-b00b-53d002ff49f1@yahoo.com>
index | next in thread | previous in thread | raw e-mail
Mark Millard <marklmi@yahoo.com> writes: > When I just tried: > > # pkg check -ma 2>&1 | less > > for the first time . . . > > [lots of spurious differences] This happens because pkg fails to skip the checks for packages which don't have these metadata, and most packages don't have them because pkg only recently (2.4.1, last November) started recording them and we don't rebuild all packages every time pkg is updated, and even if we rebuild the package, your installed copy doesn't get updated unless the version has increased. If you really want to you can `pkg upgrade -fy` to force a complete reinstall, which will reduce the number of spurious warnings from `pkg check -m`, but not completely eliminate them. A better solution is to just not run `pkg check -m`. DES -- Dag-Erling Smørgrav - des@FreeBSD.orghome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86y0ib2wwv.fsf>
