ASSP mod_inst.pl Error After Upgrading Fedora 42 to 43

I recently upgraded my system from Fedora 42 to Fedora 43 after Fedora 42 reached end-of-life.

When I started ASSP, I received errors indicating that the required Perl modules were incorrect or missing, so I decided to run mod_inst.pl again to reinstall the necessary modules.

I downloaded the latest mod_inst.pl from the ASSP website and ran it, but it immediately failed with the following error:

error calling required module LWP::Simple - Proxy must be specified as absolute URI; 'proxyuser' is not at /usr/local/share/perl5/5.42/LWP/Simple.pm line 30.

After spending quite a while searching for solutions, most references pointed towards issues with the proxy settings. However, my assp.cfg file had blank values for proxyserver, proxyuser, and proxypass, and this configuration had worked fine before the Fedora upgrade.

While debugging mod_inst.pl and mod_inst_ocr.pl, I noticed the following commented-out section around line 722:

###########################################
# please change the following to your needs
#
# uncomment and change the following line(s) if you use a HTTP-Proxy and ENV is not set
#$ENV{HTTP_proxy} = 'http://yourproxy:port';
#$ENV{HTTP_proxy_user} = 'proxy-user';
#$ENV{HTTP_proxy_pass} = 'proxy-user-password';
###########################################

To resolve the issue, I uncommented the HTTP_proxy line and set it to my proxy server:

$ENV{HTTP_proxy} = 'http://10.0.0.1:765';

After making this change, mod_inst.pl ran successfully and installed the required modules without any further errors.

This information may already exist somewhere in the documentation, but I couldn’t find it. Hopefully this helps anyone else who encounters the same issue after upgrading Fedora or Perl.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.