Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Nov 2014 23:54:05 -0800
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Matthias Andree <matthias.andree@gmx.de>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: pkg 1.4 freeze please test test test!
Message-ID:  <CAN6yY1u_4HzN9N=ugUTLsNigWa2JOqO=1KtGH8fX0Y97s5vnjg@mail.gmail.com>
In-Reply-To: <54606CB9.4070305@gmx.de>
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> <54606CB9.4070305@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 9, 2014 at 11:43 PM, Matthias Andree <matthias.andree@gmx.de>
wrote:

> Am 03.11.2014 um 22:48 schrieb Freddie Cash:
> > 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.
>
> It used to refuse portmaster upgrades of a locked port and was thus
> useless for mixed binary packages + portmaster use.  I haven't yet
> checked if pkg 1.4 has fixed this.
>

I don't think that this is considered to be a bug, so it is not fixed. Easy
work-around:
pkg unlock PACKAGE
portmaster PACKAGE
pkg lock PACKAGE

Personally I would prefer if portmaster did the unlock and lock, perhaps
tied to an option, but it's not a big issue as far as I can see. Just an
annoyance.
--
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?CAN6yY1u_4HzN9N=ugUTLsNigWa2JOqO=1KtGH8fX0Y97s5vnjg>