Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Apr 2022 15:35:16 +0200
From:      Stefan Esser <se@FreeBSD.org>
To:        tech-lists <tech-lists@zyxst.net>
Cc:        freebsd-pkg@freebsd.org
Subject:   Re: removing a pkg from pkg database without deleting the pkg itself
Message-ID:  <5dcfff1f-4cbd-992e-0ddc-b923b06c74e1@FreeBSD.org>
In-Reply-To: <Ykrx7YW9rmCez2LC@cloud9.zyxst.net>
References:  <Ykrx7YW9rmCez2LC@cloud9.zyxst.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5dcfff1f-4cbd-992e-0ddc-b923b06c74e1>