Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2017 22:47:08 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        bob prohaska <fbsd@www.zefox.net>
Cc:        Tatsuki Makino <tatsuki_makino@hotmail.com>, "Herbert J. Skuhra" <herbert@mailbox.org>,  Jan Beich <jbeich@freebsd.org>,  "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>, "Jack L." <xxjack12xx@gmail.com>
Subject:   Re: mesa libs issue
Message-ID:  <CAN6yY1tBX-JzwaT033bb_e6WovgAW--M8Gy8u=ND_kKQJpZDWw@mail.gmail.com>
In-Reply-To: <20170516163934.GA98474@www.zefox.net>
References:  <20170513235410.GA56717@doctor.nl2k.ab.ca> <KL1PR0601MB19924CD92FF65B7A7DB94C21FAE00@KL1PR0601MB1992.apcprd06.prod.outlook.com> <inl3-t5cw-wny@FreeBSD.org> <CALeGphxD_%2BejB-9D5jLW07v3FFVESzCwSfYZmYUp%2BmJJv-pbkA@mail.gmail.com> <KL1PR0601MB199215814F14E4483E8108EEFAE60@KL1PR0601MB1992.apcprd06.prod.outlook.com> <20170516023132.GA95995@www.zefox.net> <CAN6yY1vJNxBV-pYJQsqhWEP_BH09CjOWkJfkyn%2BQPn1F%2B_fNBA@mail.gmail.com> <20170516163934.GA98474@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 16, 2017 at 9:39 AM, bob prohaska <fbsd@www.zefox.net> wrote:

> On Mon, May 15, 2017 at 10:57:28PM -0700, Kevin Oberman wrote:
> > On Mon, May 15, 2017 at 7:31 PM, bob prohaska <fbsd@www.zefox.net>
> wrote:
> >
> > > On Tue, May 16, 2017 at 12:33:28AM +0000, Tatsuki Makino wrote:
> > > >
> > > > Probably, pkg set -[no] cannot combine records of multiple packages
> > > (libglapi, libGL, gbm, libEGL and libglesv2) into one (mesa-libs).
> > > > It means that pkg delete is mandatory.
> > > > After deleting, the dependency needs to be reconnected by something.
> > >
> > > In playing a little with deleting libEGL it appears to demolish much
> > > of the GUI infrastructure, deleting something like 4G of applications
> > > and libraries. At that declaration I hesitated, and hit n. 8-)
> > >
> > > If it's really the only way to update the system please indicate so,
> > > and I'll give it a try. I'm on RPI2, running -current.
> > >
> >
> > Do NOT 'pkg delete libEGL" or and of the others! You need to "pkg delete
> -f
> > libEGL". If you don't use '-f' when deleting a port, all ports dependent
> on
> > that port will also be deleted, as you saw. '-f' will force deletion of
> the
> > port WITHOUT touching anything else.
>
> Ok, thank you very much! When I saw the -f, I mistakenly surmised it
> meant something like "force".
>
> bob prohaska
>
> Actually, '-f' DOES mean force. But, in this context "force" just means to
force deletion even though there are still dependent ports/packages
installed. This is documented in the pkg-delete(8) man page (in two places):
     "If the set of packages to be deleted would leave installed packages
with
     unfulfilled dependencies, pkg delete will add the packages with
     unfulfilled dependencies to the list of packages to be deleted, unless
     forced to proceed without deleting any other packages by the -f
option."
and
     "-f, --force
                Forces packages to be removed despite leaving unresolved
                dependencies.  In combination with the -a or --all flag,
                causes pkg(8) to be removed as well as all other packages."

Unfortunately, reading the man pages is usually the last resort. (Common
expression is "When all else fails, read the instructions".)
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1tBX-JzwaT033bb_e6WovgAW--M8Gy8u=ND_kKQJpZDWw>