Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2019 22:50:37 -0700
From:      "Ronald F. Guilmette" <rfg@tristatelogic.com>
To:        MJ <mafsys1234@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Help wanted: Install of p5-JSON-Parse removes Perl ???
Message-ID:  <60023.1572587437@segfault.tristatelogic.com>
In-Reply-To: <a25ca19b-a574-0102-607e-46518383014e@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <a25ca19b-a574-0102-607e-46518383014e@gmail.com>, 
MJ <mafsys1234@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?60023.1572587437>