Date: Mon, 4 Apr 2022 16:27:45 +0100 From: tech-lists <tech-lists@zyxst.net> To: freebsd-pkg@freebsd.org Subject: Re: removing a pkg from pkg database without deleting the pkg itself Message-ID: <YksOcSkt8Ar%2B7eqk@cloud9.zyxst.net> In-Reply-To: <5dcfff1f-4cbd-992e-0ddc-b923b06c74e1@FreeBSD.org> References: <Ykrx7YW9rmCez2LC@cloud9.zyxst.net> <5dcfff1f-4cbd-992e-0ddc-b923b06c74e1@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--vPeDglMxc7EBM8wX Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 fr= om 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. --=20 J. --vPeDglMxc7EBM8wX Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmJLDmgACgkQs8o7QhFz NAVUQw//d2Ov7KPhGumTFUoVlwA16PwLYcd+4WFTU++ojap417rs4HY3c+jp6g+m jE0EGNqn7hptJ7rVqm8RBJMSMWlsJWabfKENiKL0eL0PojhpX9jwvgIHEnZprBe1 IYjNexTn6DDWm38CIMzZ04s2bta/XOMxufD2rZhbWzu9fhoqtNET4t/txF5X0M+F Yd7QMW5F5e9zg/TINDTIfHjZ4rcAztEPfqkq3x2o6NQMyhfTWBVI0Potaqs6k+K5 O6d4pTnedIw8cxtvNQWYdkKjWXGfwKFgu+DBXp0AGmPJJYLK23+jgyxEdz44kaFK rmHK+TtXMykXmyWufsVJh3geDhKUYnUYdIeBSbf+zKCLFxSgx1MVy8De0SW8PSIm 0WYB/nftvgzTdxa3t4hVSmUvmxd7+5bE/7z2j0PtghlxUJ4Ry1sXolA5almiKs1H RFaPJWcrumVz0gB1qzlVSmlaPtdDkqNC05iwHGqQTsom+kQPKseWyGrvfCIIMZuZ 6Zf083PVCnKO16QsVe4SWdnDZRc+LzA8CbkPw+gNx8I2BofV9Pfz0g5o9GwxVSj1 vdvWNm2k0P/NQAXmjpsKCXvLl/4TDfCIACUdGCWMcNxwxfQ0oPrPYwqw9xrgNK7U YQIeaHhqzPsGB5eeTjj3c19/LmYUfIGgEhFin9Z1EhmFDRM7J7o= =3FZ4 -----END PGP SIGNATURE----- --vPeDglMxc7EBM8wX--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YksOcSkt8Ar%2B7eqk>