Ubuntu 22.04 upgrade from 20.04 / PERL 5.30.x - 5.34.y + CWAF

SYSTEM INFORMATION
OS type and version Ubuntu 22.04.1
Webmin version 2.001
Authentic Theme version 20.02

Howdy there,

CWAF server (int.) breaks after Ubuntu upgrade, missing PERL modules that cannot be reinstalled from CPAN.

  • YAML::Syck
  • Template
  • LWP

ERROR — PERL EXECUTION FAILED

Can’t locate Template.pm in @INC (you may need to install the Template module)
Can’t locate YAML/Syck.pm in @INC
Can’t locate LWP.pm in @INC

Also, re-running the CWAF installer script, but does not install the missing modules, as I assume it is an old version.

I got some great help here in the past THX to @Ilia I’d love to have a similar one now :slight_smile:

CWAF:

PERL 5.34:

CWAF .sh out:

PERL 5.30 (on another installation which is 20.04):

BTW:
Can’t locate LWP.pm in @INC (you may need to install the LWP module) (@INC contains: /usr

LWP is also missing, but can be solved by…

perl -MCPAN -e ‘install LWP::UserAgent::Cached’

Thanks in advance.
cwaf_install.log.zip (2.9 KB)

Do not build anything on production system! Those could be simply installed from package repositories:

apt-get install libyaml-syck-perl libtemplate-perl libwww-perl
2 Likes

No it is not yet a production environment, but it is still handled with care. (if all goes well for a few days, it will be again)
Just testing on 22.04 here and Ubuntu PRO with ESM.

All went well it’s only issue was that it broke the PERL packages with the “do-release-upgrade”

We’d rather ask than get in trouble, thanks for your quick help again @Ilia

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.