Yes, I was just thinking of doing. I moved old perl out of the way and
created a sym link to the new version in /usr/local/bin and now have
portupgrade working normally. Showing many packages deleted of course.
Is there a way to delete and put back all the packages currently installed?
> Mon, 30 Apr 2018 17:00:02 -0400 tarihinde
> Robert Fitzpatrick via freebsd-questions
> <freebsd-...@freebsd.org> yazmış:
>
> > root@dev:~ # portupgrade -a
> > [Reading data from pkg(8) ... - 150 packages found - done]
> > ** Port marked as IGNORE: www/apache24:
> > Invalid perl5 version 5.18
> > ** Port marked as IGNORE: textproc/aspell:
> > Invalid perl5 version 5.18
> > ...
> >
> > Getting the Invalid perl5 for all the packages, I tried doing pkg
> > upgrade perl5 and ended up adding /usr/local/bin/perl and the ports
> > still looking at perl5.18 in /usr/bin/perl. Have I done something
> > wrong or need to handle Perl separate first?
> >
> Default PERL version changed. So you have to upgrade to default PERL
> version which is 5.26.
Aside from the perl problem, "portupgrade -a" probably wont work anyway
because portupgrade doesn't supports flavors