These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for How to update Virtualmin? on the new forum.
Hello everybody. I'm using Webmin 1.480 and Virtualmin 3.50 GPL. Updating Webmin was a breeze since it has a simple update button. Updating Virtualmin however seems harder. I cant find an update button and googling around and visiting forums hasn't given me a clear answer. Please tell me:
How do I update Virtualmin 3.50 GPL to the latest version? I have a Debian Linux 4.0 webserver.
How did you perform the initial installation -- did you use the install.sh script?
Personally, I just use "apt-get update && apt-get upgrade" on the command line to upgrade Webmin/Virtualmin -- but if installed with the install script, it should appear as an available upgrade on the System Information screen when you log into Virtualmin.
-Eric
Hi Eric, thanks for your time. I think I used the install.sh script, because there is nothing about an available upgrade in my systeminfo. Problem is, when I do an apt-get update/upgrade it doesn't upgrade Virtualmin. Should there be something in my sources list to make that happen?
Yeah, installation via the install.sh script would generate some entries in your sources.list file that have it use Virtualmin's repository.
Can you post the contents of /etc/apt/sources.list?
Also, what does this command show:
dpkg -l 'webmin*'
Thanks,
-Eric
how to update virtualmin installed on CentOS via install.sh is there any option in virtulmin or by command line please tell in details
Thanks
Tahir Atique
Well, you should probably open a new forum post for things like this...
However, you wouldn't use the install.sh to update Virtualmin, that's only to perform new installations.
To update/upgrade Virtualmin, you could use "yum update" from the command line, or log into Virtualmin, and on the System Information screen, view the available updates in the "Package Updates" section on the screen.
From there, you can click "Install All Updates Now" to perform an upgrade.
-Eric
Hi Eric,
The command shows the following:
Also my sourceslist shows this:
deb http://ftp.nluug.nl/pub/os/Linux/distr/debian/ etch main deb-src http://ftp.nluug.nl/pub/os/Linux/distr/debian/ etch main
deb http://security.debian.org/ etch/updates main contrib deb-src http://security.debian.org/ etch/updates main contrib
Regards,
Robert
Hrm, yeah, you do seem to be missing Virtualmin from the sources.list...
However, you also don't have a Virtualmin .dpkg package installed, from the looks of it.
Typically, you would have the webmin-virtual-server, webmin-virtual-server-mobile, and webmin-virtual-server-theme packages installed (amongst others).
So, it's beginning to look like either you didn't install with the install.sh, or something somehow got corrupted along the way.
If you didn't use the install.sh, it may mean you manually installed .wbm modules from the Webmin or Virtualmin site... in which case, you may be able to go into the Webmin area, and have it upgrade the Virtualmin and Virtualmin-Theme modules.
-Eric
Ok, sounds good. How do I do that Eric?
I was afraid you'd ask that :-)
Do you happen to see an option along the lines of "Module Updates" in Webmin -> Webmin -> Webmin Configuration?
If not, I may need to chat with Jamie about the best way to get you upgraded :-)
-Eric
Nope, I dont see anything called Module Updates. I see Webmin Modules, but nothing about updating the modules. Ive added a captured screen so you can see what is in my webmin config.
Should I do a new install using install.sh?
Any tips for me Eric? Can I just install over the existing copy?
Well, I had to talk to Jamie, as I don't have much experience with your predicament...
He suggests that it can be done in just a few steps --
Add the Virtualmin repo information to /etc/apt/sources.list (I don't have one off-hand for Virtualmin GPL, but I'll see if I can dig one up), and run "apt-get update"
Move /usr/share/webmin/virtual-server to /usr/share/webmin/virtual-server.orig
Run: apt-get install webmin-virtual-server
Do the above for the webmin-virtual-server-theme, webmin-security-updates, and any other webmin-* modules you may be interested in
Wondefull Eric, thanks for helping me out. I'd be lost without tips from forums here and there. Its nice to know I'm gonna be able to install Virtualmin the proper way now. I'll just wait for the repo info.
Regards,
Robert
Googling around I found this line about Virtualmin in the sources list:
deb http://software.virtualmin.com/gpl/debian/ virtualmin-etch main
Would this be the right repo information to add to my /etc/apt/sources.list ?
Nuts, I'm sorry, I did a pretty poor job in getting back to you about all that :-)
Yeah, the above looks correct if you're using Debian Etch (Debian 4.0).
If you're using Debian Lenny (Debian 5), you'd want to to substitute "virtualmin-lenny" for "vrtualmin-etch" above.
After you add that, run an "apt-get update", and then you should be ready to start installing packages from the Virtualmin repo!
-Eric