xproto merge

Kevin Oberman rkoberman at gmail.com
Wed Aug 1 00:33:50 UTC 2018


On Tue, Jul 31, 2018 at 5:30 PM, Kevin Oberman <rkoberman at gmail.com> wrote:

> On Tue, Jul 31, 2018 at 3:25 PM, Tatsuki Makino <
> tatsuki_makino at 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 at gmail.com
> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
>
>


More information about the freebsd-ports mailing list