lozaria's picture


I'm trying to install Webmin modules but I'm getting this error:

Failed to install standard module : Module samba requires Webmin version 1.900 or above

Is there a way to update Webmin to 1.900?

I'm using Turnkey LAMP 15.1

Many thanks in advance!


Jeremy Davis's picture

We package Webmin ourselves (to keep the size down). So if you want to install individual modules that aren't included by default (that will be compatible with the installed version) then you can do that via apt. E.g. to install the samba module:

apt update
apt install webmin-samba

If you'd rather update to the latest upstream Webmin, then I suggest that you remove the existing installation like this:

apt remove webmin

Then install the upstream version as noted on the relevant page. Please note that the upstream version includes all the available default modules. I'm not sure if the TKLBAM module is compatible with that or not, but that will likely only be an issue if you're using TKLBAM (our built-in backup tool).

I tried the above ie apt remove webmin  then from webmin site followed this



apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python

But get errors

You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
apt-show-versions : Depends: libapt-pkg-perl (>= 0.1.21) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Any idea how to update webmin this is Nginx 14 appliance.


Jeremy Davis's picture

Unless I'm missing something, running 'apt-get -f install' (as noted in the error message you've posted) should resolve the issue. There is a possibility that you may need rerun the dpkg line, although I'm pretty sure that in more recent Debian versions that isn't required. TBH I would have expected it to "just work" without requiring anything further than the wget and dpkg lines (although obviously that's not the case...).

Unfortunately I don't have a v14.x appliance handy but I would assume that the running the apt-get with the '--fix-broken' switch ('-f-' is the short option) would resolve the issue. If that still fails, then it may be worth trying an 'apt-get update' and rerunning 'apt-get -f install'.

I.e this should do the trick (you can likely skip the first 2 lines; and assuming Webmin v1.900):

wget http://prdownloads.sourceforge.net/webadmin/webmin_1.900_all.deb
dpkg --install webmin_1.900_all.deb
apt-get update
apt-get -f install

Having said that, whilst doing some research to double check my understanding of how it should work in more recent versions of Debian, I discovered that 'apt' can install downloaded deb packages itself in newer versions (should work in v14.x; but definitely works in v15.x). Note the use of 'apt' - not 'apt-get' ('apt' is a newer front end that is designed to be more user friendly). I haven't tested this, but according to my research, the following should work OOTB:

wget http://prdownloads.sourceforge.net/webadmin/webmin_1.900_all.deb
apt update
apt install ./webmin_1.900_all.deb

I also tried to install virtualmin on v15 core. It fails a this step.

wget http://software.virtualmin.com/gpl/scripts/install.sh

/bin/sh install.sh


Installing virtualmin-lamp-stack [ OK! ]
Installing Virtualmin and plugins [-<===]
[ERROR] Something went wrong with the previous command. Exiting.


Any ideas ?

The error is

Error while processing /etc/awstats/awstats.conf
Error: SiteDomain parameter not defined in your config/domain file. You must edit it for using this version of AWStats.
Setup ('/etc/awstats/awstats.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).

Jeremy Davis's picture

Ah ok, I probably should have read the whole thread before I posted my previous post (re the Virtualmin install error being related to the previous Webmin install errors - although I suspect that is still true...).

Re this awstats error, that appears to be an issue directly related to Virtualmin setup itself. Or perhaps it's an issue with the awstats package in Debian? I have no experience with Virtualmin (or awstats) so I'm not really sure about that.

One thing that might be worth trying is reinstalling awstats. You can do that like this:

apt update
apt install --reinstall awstats

But as previously noted, the initial error you reported will need to be fixed first, before any of the rest of this will work.

Once you have the initial issue resolved, if you still continue to have problems with Virtualmin, please feel free to post back, although I'm not sure how much help I will be able to provide...

Jeremy Davis's picture

My guess is that unless you fixed the previous error (I.e. the missing dependency when trying to install a newer version of Webmin) it's just that issue rearing it's head again. And I assume that the Virtualmin install script doesn't expect it, nor know how to handle it.

Although, FWIW, there is also something else worth being aware of. I've just had a look at the Virtualmin install script. Besides the fact that it configures the repos in a sub-optimal fashion, it appears to also configure the Webmin apt repo too. That may also cause issues (if not immediately, then likely at some point in the future when an upgrade of Virtualmin requires a newer version of Webmin). That is because the TurnKey apt repo (which as you know, also provides Webmin) is pinned to a fairly high number (so TurnKey packages take preference over ones also provided by Debian). So it will never install Webmin from the Webmin apt repo, unless you also adjust the Webmin and/or TurnKey apt repo pinning.

Add new comment