hello I am getting the follwoign when I am trying to install modules:
Building complete list of packages ..
Now installing httpd mod_.* ..
HTTP/1.0 500 Perl execution failed Server: MiniServ/1.900 Date: Wed, 28 Nov 2018 11:52:16 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close
Error - Perl execution failed
Undefined subroutine &package_updates::update_system_install called at ./package-updates-lib.pl line 391.
also webmin is black and white, instead of the usual colors. this is on a fresh server install. I have tried via the repo as well as the rpm, and I get the same error when I try to install modules.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hello I am getting the follwoign when I am trying to install modules:
Building complete list of packages ..
Now installing httpd mod_.* ..
HTTP/1.0 500 Perl execution failed Server: MiniServ/1.900 Date: Wed, 28 Nov 2018 11:52:16 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close
Error - Perl execution failed
Undefined subroutine &package_updates::update_system_install called at ./package-updates-lib.pl line 391.
also webmin is black and white, instead of the usual colors. this is on a fresh server install. I have tried via the repo as well as the rpm, and I get the same error when I try to install modules.
This issue has been fixed and the fix will be included in the next Webmin .
thanks on behalf of your users for the prompt response.
presumably this would be available on the webmin beta/nightly's ?
Last edit: rj elleray 2018-11-28
Yes, in time it will.
ok, so how do we fix it for now to resolve the issue?
You could simply apply this patch to the changed file.
https://github.com/webmin/webmin/commit/5d0bd909f0bfe45092ab783f95e4e989e5ed8b8f
ok, how do I apply that patch?
Simply update
package-updates/package-updates-lib.plwith provided fixes.so just edit the file with those changes?
Yes, or you could update file completely:
https://raw.githubusercontent.com/webmin/webmin/5d0bd909f0bfe45092ab783f95e4e989e5ed8b8f/package-updates/package-updates-lib.pl
I would be glad if you provide steps to do it !!
Trying file file but not able to get that file name on server.
What is your OS where you're running Webmin on?
Okay, you can open Dropdown Command Line for Webmin by clicking an icon in navigation menu or using hotkey
Alt+Kand run the following command:For Ubuntu/Debian:
curl https://raw.githubusercontent.com/webmin/webmin/5d0bd909f0bfe45092ab783f95e4e989e5ed8b8f/package-updates/package-updates-lib.pl | cat > /usr/share/webmin/package-updates/package-updates-lib.plFor RHEL based (CentOS/Fedora):
curl https://raw.githubusercontent.com/webmin/webmin/5d0bd909f0bfe45092ab783f95e4e989e5ed8b8f/package-updates/package-updates-lib.pl | cat > /usr/libexec/webmin/package-updates/package-updates-lib.plIn case you don't have
curlinstalled, then install it. To install it run forDebian/Ubuntuthe following command:apt-get -y install curland for
RHEL:yum -y install curlThen Package Manager will work just fine.