You are here
lozaria - Thu, 2019/02/14 - 00:37
Hello,
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!
Forum:
We package Webmin.
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:
If you'd rather update to the latest upstream Webmin, then I suggest that you remove the existing installation like this:
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).
Webmin Update Latest version
I tried the above ie apt remove webmin then from webmin site followed this
http://www.webmin.com/deb.html
and
apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python
But get errors
Did you run 'apt-get -f install'?
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):
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:
Clean Install VirtualMin
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
The error is
The error is
This particular error is something up with Virtualmin
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:
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...
Did you fix the previous error first?
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