Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2018 17:33:48 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Tatsuki Makino <tatsuki_makino@hotmail.com>
Cc:        "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   Re: xproto merge
Message-ID:  <CAN6yY1sSL2ndoEb=rhtG4HDRtDP%2BJcJ4dtQOSM_6EV9XobJawQ@mail.gmail.com>
In-Reply-To: <CAN6yY1ufiypB3MVdkYAmQ-xrXeQReozmcGzjNnnHd0HGeHdn_A@mail.gmail.com>
References:  <dceed5ff-d246-a937-2d41-e61631fea9ad@utanet.at> <949ee823-3a20-4809-8468-0859c692aeef@utanet.at> <KL1PR0601MB1992441EE92BF1A01BCC00B8FA2E0@KL1PR0601MB1992.apcprd06.prod.outlook.com> <CAN6yY1ufiypB3MVdkYAmQ-xrXeQReozmcGzjNnnHd0HGeHdn_A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 31, 2018 at 5:30 PM, Kevin Oberman <rkoberman@gmail.com> wrote:

> On Tue, Jul 31, 2018 at 3:25 PM, Tatsuki Makino <
> tatsuki_makino@hotmail.com> wrote:
>
>> How about this?
>>
>> pkg version -l \? | cut -f 1 -w | xargs pkg delete -f
>
>
> Thanks! Simple and almost works. First, it prompts "Proceed with
> deinstalling packages? [y/N]: " and exits. Also, any other orphaned ports
> will be deleted which will delete many people's compat ports.
> Unfortunately, the compat ports are only indexed for i386 and show up as
> orphaned on amd64. I complained long ago. It started when FLAVORS were
> added. I'm told that it is really working as designed and this is an
> unfortunate corner case.
>
> > pkg version -l \? | cut -f 1 -w
> bigreqsproto-1.1.2
> compat10x-amd64-10.3.1003000.20170608
> compat9x-amd64-9.3.903000.20170608
> compositeproto-0.4.2
> damageproto-1.2.1
> dmxproto-2.3.1
> dri2proto-2.8
> dri3proto-1.0
> fixesproto-5.0
> [...]
>
> Try:
> pkg version -l \? | cut -f 1 -w | grep -v compat | xargs pkg delete -fy
>
> I have tested that and it worked for me.
>
> And, I agree with Walter. Any time you update over 100 ports due to
> changes in a dependency, "pkg check -B" is an excellent idea.
>

Well, not quite. I forgot  evieext-1.1.1. It did not show up as orphaned. I
think that this needs to be fixed as it certainly should have been. Once I
deleted evieext, the install went smoothly.

> --
> 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?CAN6yY1sSL2ndoEb=rhtG4HDRtDP%2BJcJ4dtQOSM_6EV9XobJawQ>