Re: Unwanted summer gift from pkg

From: ax disroo <ax61_at_disroot.org>
Date: Sat, 01 Aug 2026 18:02:30 UTC
> On Jul 31, 2026, at 10:57, Mathias M. wrote:

Hi Mathias,

> On Thu, Jul 30, 2026 at 07:01:42PM -0700, fatty.merchandise677@ wrote:
…
>> Is it one of the installed packages acquiring
>> a new dependency? Can you tell which one?
>> 
>> Or teach me to fish: how can I figure this out myself with pkg?
…
> pkg query '%ro' jansson

That “r” is to list “reverse dependencies” (use “d” to list dependencies of a package; see “pkg-query(8)” manual page);

> multimedia/handbrake
> ports-mgmt/packagekit
> www/angie-module-auth-jwt
> www/angie-module-jwt
> www/apache24
… (truncated long list)

> Now I've never heard of 'jansson'. Apparently it's a C library for
> handling JSON data. As to why that has so many dependencies, I have no
> clue.
…

Packages of that long list are dependent on “jansson”, not the other way around.

- ax61