Please try this sequence of commands below and show us the results:
$ sudo su - # export APACHE2_MAINTSCRIPT_DEBUG=1 # apt install --reinstall libapache2-mod-perl2
Thanks
Please try this sequence of commands below and show us the results:
$ sudo su - MAINTSCRIPT_ DEBUG=1 mod-perl2
# export APACHE2_
# apt install --reinstall libapache2-
Thanks