Re: pkg upgrade odity

From: Miroslav Lachman <000.fbsd_at_quip.cz>
Date: Tue, 30 Apr 2024 10:25:23 UTC
On 30/04/2024 11:59, Baptiste Daroussin wrote:
> On Tue 30 Apr 12:23, Tatsuki Makino wrote:
[...]
>>> pkg check -d is rootdir safe pkg check -B is another beast I haven yet looked at it.
>>
>> If that another beast of -B is what you are referring to there, there is this report in Bugzilla.
>> https: //bugs.freebsd.org/ bugzilla/show_bug.cgi?id=261550
>> I combat that to some extent :)
>>
>> The games/0ad/Makefile seems to have a do-install target that could cause that problem.
>> But if it is a shared library, such as a plugin used by dynamic loading, then pkg is probably doing too much checking.
>> But, I don't know anything about games/0ad, so this opinion of mine is most likely a hazardous guess.
>>
>> Regards.
>>
> 
> now on the issue, first question regarding both the PR and Miroslav usage why
> are you running pkg check -B
> 
> There are 0 reason to use it 99% of the time, this is a very specific option
> which from what I can read from this PR (and many others) and people notes,
> people tends to misused it.
> 
> I will probably just remove the -B options from the next release of pkg.

I can't remember where it came from. I used to use it after upgrades, 
because in the past it occasionally found problems, but it was years ago.

I will use pkg check -da next time :)

Kind regards
Miroslav Lachman