After upgrading to Stretch, upon trying to enter webmin via the www, it gives an error instead:
Error - Perl execution failed
Can't locate WebminCore.pm in @INC (you may need to install the WebminCore module) (@INC contains: /etc/perl /usr/local/lib/i386-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/i386-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/i386-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/i386-linux-gnu/perl-base ..) at /usr/share/webmin/blue-theme/index.cgi line 4.
BEGIN failed--compilation aborted at /usr/share/webmin/blue-theme/index.cgi line 4.
Tried to add PERLLIB=/usr/share/webmin to ~root/.profile, it did not work.
Interestingly enough, when calling the webmin perl binary from the command line, it does not seem to throw any error.
What is happening?