mesa libs issue
rkoberman at gmail.com
Wed May 17 05:47:10 UTC 2017
On Tue, May 16, 2017 at 9:39 AM, bob prohaska <fbsd at 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 at www.zefox.net>
> > > 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
> > libEGL". If you don't use '-f' when deleting a port, all ports dependent
> > that port will also be deleted, as you saw. '-f' will force deletion of
> > 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
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
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 at gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
More information about the freebsd-ports