Help wanted: Install of p5-JSON-Parse removes Perl ???

Ronald F. Guilmette rfg at tristatelogic.com
Fri Nov 1 05:50:40 UTC 2019


In message <a25ca19b-a574-0102-607e-46518383014e at gmail.com>, 
MJ <mafsys1234 at gmail.com> wrote:

>On 1/11/2019 2:07 pm, Ronald F. Guilmette wrote:
>> I found I needed to install the p5-JSON-Parse package for some work I'm
>> doing at present.  No problem, I thought, I'll su'd to root and then
>> just type:
>>
>> pkg install p5-JSON-Parse
>>
>> I did that and the log is shown below.  I REALLY don't understand it.
>> I don't understand why this simple thing caused pkg to attempt to install
>> a fresh new Perl (5.30.0) *and* at the same time try to reinstall the
>> one I already had installed which was apparently perl-5.28.2.
>>
>> What's up with that?
>
>
>It (obviously?) thinks you've got some other package that depends on 5.28.2.

Yeabut is that a good excuse to render my already installed Perl
non-functional, which is exactly what happened?

Something is very very wrong here.

>Have you tried performing a package update/upgrade?

I have now.  I ended up doing a forced pkg delete on both Perl versions
and then a fresh install on 5.30.0 and now at least my Perl scripts seem
to be working again, for which I am greatful, but of course, I am
eternally worried about there being some subtle version skew problem
that will only show up later.

But that seems like a minor concern at this point.  Far more troubling
is the fact that pkg, in its infinite wisdom, somehow decided to install
two versions of Perl at the same time, breaking both in the process.

I hope that somebody will look at that.


Regards,
rfg


More information about the freebsd-questions mailing list