Re: removing a pkg from pkg database without deleting the pkg itself

From: tech-lists <tech-lists_at_zyxst.net>
Date: Mon, 04 Apr 2022 15:27:45 UTC
On Mon, Apr 04, 2022 at 03:35:16PM +0200, Stefan Esser wrote:
>Am 04.04.22 um 15:26 schrieb tech-lists:
>> Hi,
>>
>> I'd like to remove a pkg entry from the database so it's not managed by pkg.
>
>The simplest way to exclude an installed package from being managed
>by pkg is to use "pkg lock":
>
># pkg lock -y <pkgname>
>
>See "man pkg-lock" for more details.

That will work for a time, but won't it stop other packages linked to it from being updated?

The packages in question are nextcloud and drupal.

The other thing is that even with pkg lock, I seem to recollect it'll still show up in packages-that-
need-upgrading in the daily cronjob. I might be wrong about that though.
-- 
J.