On Sat, May 3, 2025 at 9:36 AM void <v...@f-m.fm> wrote: > On Fri, May 02, 2025 at 07:32:34AM +0100, Graham Perrin wrote: > >root@mowa219-gjp4-zbook-freebsd:~ # pkg version -C -vRL= | grep -v > orphaned > >pkg: invalid option -- C > >pkg: invalid option -- v > >pkg: invalid option -- R > >pkg: invalid option -- L > >pkg: invalid option -- = > > how odd. > > I'd try re-making pkg from an updated ports tree. > My context builds everything from source. It doesn't use pkg base. > > % pkg version -C -vRL= | grep -v orphaned > % > > % pkg which /usr/local/sbin/pkg > /usr/local/sbin/pkg was installed by package pkg-2.1.2 > > % pkg --version > 2.1.2 > > 15.0-CURRENT FreeBSD 15.0-CURRENT #0 n276073-67c1c4dfd1cc: Wed Mar 26 > 16:26:10 GMT 2025 > r...@redacted.home.arpa:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG > amd64 1500034 1500034
I see the same thing, but only after updating the system (not ports) to main-n276966-46adaf3642cf: Fri May 2 21:35:20 PDT. rebuilding the port made no difference. It looks like the issue is in the base system, not port, or the interaction between /usr/sbin/ports. As a workaround, I will also mention that the error messages do not appear if I directly run /usr/local/sbin/pkg. By aliasing pkg to /usr/local/sbin/pkg, the issue disappears. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkober...@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683