Menu

issue when trying to install modules/packages

Webmin
anwoke8204
2018-11-28
2018-12-08
  • anwoke8204

    anwoke8204 - 2018-11-28

    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.

     
  • Ilia

    Ilia - 2018-11-28

    This issue has been fixed and the fix will be included in the next Webmin .

     
  • rj elleray

    rj elleray - 2018-11-28

    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
  • Ilia

    Ilia - 2018-11-28

    Yes, in time it will.

     
  • anwoke8204

    anwoke8204 - 2018-11-29

    ok, so how do we fix it for now to resolve the issue?

     
  • Ilia

    Ilia - 2018-11-29

    You could simply apply this patch to the changed file.

    https://github.com/webmin/webmin/commit/5d0bd909f0bfe45092ab783f95e4e989e5ed8b8f

     
    • anwoke8204

      anwoke8204 - 2018-11-30

      ok, how do I apply that patch?

       
  • Ilia

    Ilia - 2018-12-05

    Simply update package-updates/package-updates-lib.pl with provided fixes.

     
    • anwoke8204

      anwoke8204 - 2018-12-05

      so just edit the file with those changes?

       
  • Sunil Kumar

    Sunil Kumar - 2018-12-08

    I would be glad if you provide steps to do it !!
    Trying file file but not able to get that file name on server.

     
  • Ilia

    Ilia - 2018-12-08

    What is your OS where you're running Webmin on?

     
  • Ilia

    Ilia - 2018-12-08

    Okay, you can open Dropdown Command Line for Webmin by clicking an icon in navigation menu or using hotkey Alt+K and 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.pl

    For 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.pl

    In case you don't have curl installed, then install it. To install it run for Debian/Ubuntu the following command:

    apt-get -y install curl

    and for RHEL :

    yum -y install curl

    Then Package Manager will work just fine.

     

Log in to post a comment.

Auth0 Logo