On Wed, Aug 08, 2018 at 11:49:54AM -0400, Mason Loring Bliss wrote:
> To confirm the original poster's observations, this still exists as of August
> 2018. Removing libjson-xs-perl causes libcpanel-json-xs-perl to be installed
> instead, and per https://rt.cpan.org/Public/Bug/Display.html?id=94784 and
> discussion in 
> https://forum.bestpractical.com/t/perl-upgrade-on-debian-9-causes-json-error/31524/5
> this works.
> 
> It would be nice if this weren't broken out of the box. Making this package
> substitution would do the trick.

The package substitution isn't something we can do at the package level,
because conflicting on that package would prevent coinstallation of
RT and many other packages which depend on JSON::XS.

However it was pointed out to me that we could force the version to
use via an environment variable:

https://sources.debian.org/src/libjson-perl/2.97001-1/lib/JSON.pm/#L488

This should be possible to ship in default configurations: I'll look at 
that when I have a moment.

Best,
Dominic.

Reply via email to