Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Nov 2014 21:50:55 -0800
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Henry Hu <henry.hu.sh@gmail.com>
Cc:        Hans Petter Selasky <hps@selasky.org>, Freddie Cash <fjwcash@gmail.com>, "current@freebsd.org" <current@freebsd.org>
Subject:   Re: pkg 1.4 freeze please test test test!
Message-ID:  <CAN6yY1sSB7dSbmiPy-JY1tFh7RTiV83HewXzHzZiSX1xzW9Y2Q@mail.gmail.com>
In-Reply-To: <CAEJt7hZUAogrpN7pzQXv%2B=Ay3xx%2ByA%2Bs2-EZSbOuDR%2BXQA-90g@mail.gmail.com>
References:  <20141028231933.GG26796@ivaldir.etoilebsd.net> <20141101161332.b9c8fc19bf9fc54f73bc5c00@gmail.com> <20141101224549.GG15967@ivaldir.etoilebsd.net> <20141102102455.30d42f85ff81e079788eae06@gmail.com> <5457F64F.6090408@selasky.org> <CAOjFWZ4hEb%2B83A5vypXMM50y7Z8tunLOE6wgcwrqzY1AV1WLww@mail.gmail.com> <CAEJt7hZUAogrpN7pzQXv%2B=Ay3xx%2ByA%2Bs2-EZSbOuDR%2BXQA-90g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--
R. Kevin Oberman, Network Engineer, Retired
E-mail: rkoberman@gmail.comOn Mon, Nov 3, 2014 at 5:09 PM, Henry Hu <
henry.hu.sh@gmail.com> wrote:

> On Mon, Nov 3, 2014 at 4:48 PM, Freddie Cash <fjwcash@gmail.com> wrote:
>
> > On Mon, Nov 3, 2014 at 1:40 PM, Hans Petter Selasky <hps@selasky.org>
> > wrote:
> >
> > > Is it possible when upgrading a system via "pkg" to selectivly switch
> > > upgrades ON/OFF. For example I have a custom ffmpeg install and would
> > like
> > > to keep it every time I do a binary upgrade?
> > >
> >
> >
> > =E2=80=8B# man pkg-lock
> >
> > ;)
> >
> > I believe that's what you are looking for.=E2=80=8B  No idea how well i=
t works
> > long-term, though, or if you lock a large number of packages.
> >
>
> I also use pkg-lock, but it has several problems:
> * You may miss updates. They are skipped during pkg upgrade
> * "xxx is locked and may not be modified" is displayed every time you do
> something like pkg upgrade. If you have multiple pkgs locked, it may be
> annoying.
>
> It would be easier to update the pkgs by having something like portmaster
> -P.
> --
> Cheers,
> Henry


I simply do periodic(8) weekly runs of "pkg version -vRl\<" to catch any
port that has not been updated due to being locked. On option to only
report locked packages would simplify this and looks to me like it would be
pretty easy to add, but unless you have a lot of locked packages, it's not
a problem.
--
R. Kevin Oberman, Network Engineer, Retired
E-mail: rkoberman@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1sSB7dSbmiPy-JY1tFh7RTiV83HewXzHzZiSX1xzW9Y2Q>