pkg lock

LuMiWa lumiwa at dismail.de
Mon Aug 16 22:07:18 UTC 2021


On Sun, 15 Aug 2021 16:28:18 -0700
Kevin Oberman <rkoberman at gmail.com> wrote:

> On Sat, Aug 14, 2021 at 5:14 AM LuMiWa via freebsd-questions <
> freebsd-questions at freebsd.org> wrote:
> 
> > On Sat, 14 Aug 2021 11:14:52 +0100
> > Mike Clarke <jmc-freebsd2 at milibyte.co.uk> wrote:
> >
> > > On Thursday, 12 August 2021 17:54:24 BST LuMiWa via freebsd-
> > > questions wrote:
> > >
> > > > I am using binary packages (latest) on FreeBSD 13.0-RELEASE.
> > > > I have 8 applications where I have my own settings. Is it
> > > > correct
> > > when
> > > > I built the and install that I should use "pkg lock name" of
> > > > port/package, please? Or is something other.
> > >
> > > Yes, that's the way to go but if you rebuild the port for any
> > > reason you will need to unlock it for the duration of the build
> > > otherwise the final stage of installing the package will fail.
> > >
> >
> > Thank you, I did and I wrote which ports I locked :).
> >
> If you build ports with portmaster, it will report the locked port if
> it attempts to rebuild it and ask if you want to update anyway. If
> you reply 'Y', it will unlock the port, rebuild and install it and
> re-lock the port. --
> Kevin Oberman, Part time kid herder and retired Network Engineer
> E-mail: rkoberman at gmail.com
> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683

Thank you. Yes, I am a portmaster user :).

-- 
"Everyone thinks of changing the world, but no one thinks of changing
himself.”

Leo Tolstoy


More information about the freebsd-questions mailing list