How to update Virtualmin?

17 posts / 0 new
Last post
#1 Tue, 01/05/2010 - 08:03
Romac35

How to update Virtualmin?

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.

Tue, 01/05/2010 - 09:10
andreychek

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

Wed, 01/06/2010 - 06:14
Romac35

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?

Wed, 01/06/2010 - 09:40
andreychek

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

Thu, 01/07/2010 - 03:30 (Reply to #4)
mtahir04july

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

Thu, 01/07/2010 - 10:04 (Reply to #5)
andreychek

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

Thu, 01/07/2010 - 02:03
Romac35

Hi Eric,

The command shows the following:

dpkg -l 'webmin*' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-=======================-==============-====================================================== ii webmin 1.480 A web-based administration interface for Unix systems. un webmin-adsl (no description available) un webmin-apache (no description available) un webmin-bandwidth (no description available) un webmin-bind (no description available) un webmin-burner (no description available) un webmin-cfengine (no description available) un webmin-cluster (no description available) un webmin-core (no description available) un webmin-cpan (no description available) un webmin-dhcpd (no description available) un webmin-exim (no description available) un webmin-exports (no description available) un webmin-fetchmail (no description available) un webmin-firewall (no description available) un webmin-freeswan (no description available) un webmin-frox (no description available) un webmin-fsdump (no description available) un webmin-grub (no description available) un webmin-heartbeat (no description available) un webmin-htaccess (no description available) un webmin-inetd (no description available) un webmin-jabber (no description available) un webmin-ldap-netgroups (no description available) un webmin-ldap-user-simple (no description available) un webmin-ldap-useradmin (no description available) un webmin-lilo (no description available) un webmin-logrotate (no description available) un webmin-lpadmin (no description available) un webmin-lvm (no description available) un webmin-mailboxes (no description available) un webmin-mon (no description available) un webmin-mysql (no description available) un webmin-nis (no description available) un webmin-openslp (no description available) un webmin-postfix (no description available) un webmin-postgresql (no description available) un webmin-ppp (no description available) un webmin-pptp-client (no description available) un webmin-pptp-server (no description available) un webmin-procmail (no description available) un webmin-proftpd (no description available) un webmin-pserver (no description available) un webmin-quota (no description available) un webmin-samba (no description available) un webmin-sarg (no description available) un webmin-sendmail (no description available) un webmin-shorewall (no description available) un webmin-slbackup (no description available) un webmin-smart-status (no description available) un webmin-snort (no description available) un webmin-software (no description available) un webmin-spamassassin (no description available) un webmin-squid (no description available) un webmin-sshd (no description available) un webmin-status (no description available) un webmin-stunnel (no description available) un webmin-updown (no description available) un webmin-usermin (no description available) un webmin-vgetty (no description available) un webmin-webalizer (no description available) un webmin-wuftpd (no description available) un webmin-wvdial (no description available) un webmin-xinetd (no description available)

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

Thu, 01/07/2010 - 09:03
andreychek

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

Fri, 01/08/2010 - 03:03
Romac35

Ok, sounds good. How do I do that Eric?

Fri, 01/08/2010 - 08:50
andreychek

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

Fri, 01/08/2010 - 11:08
Romac35

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.

Tue, 01/12/2010 - 05:20
Romac35

Should I do a new install using install.sh?

Fri, 01/15/2010 - 05:08
Romac35

Any tips for me Eric? Can I just install over the existing copy?

Fri, 01/15/2010 - 22:28
andreychek

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

  1. 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"

  2. Move /usr/share/webmin/virtual-server to /usr/share/webmin/virtual-server.orig

  3. Run: apt-get install webmin-virtual-server

  4. Do the above for the webmin-virtual-server-theme, webmin-security-updates, and any other webmin-* modules you may be interested in

Sat, 01/16/2010 - 09:17
Romac35

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

Mon, 01/18/2010 - 02:00
Romac35

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 ?

Mon, 01/18/2010 - 09:21
andreychek

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

Topic locked