Checksum errors and Undefined subroutine virtual_server::licence_warning_message after update

After updating I'm now receiving this error message in Webmin:

HTTP/1.0 500 Perl execution failed Server: MiniServ/1.760 Date: Fri, 31 Jul 2015 16:00:57 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close
Error - Perl execution failed

Undefined subroutine &virtual_server::licence_warning_message called at /usr/share/webmin/virtual-server-theme/right.cgi line 115.

So I decided to try to update the packages from the command line. I am unable to update Webmin/Usermin though due to Checksum errors:

  root@host:~# apt-get upgrade --fix-missing
  Reading package lists... Done
  Building dependency tree      
  Reading state information... Done
  The following packages have been kept back:
    linux-generic linux-headers-generic linux-image-generic
  The following packages will be upgraded:
    webmin-security-updates webmin-virtual-server-theme webmin-virtualmin-awstats webmin-virtualmin-dav webmin-virtualmin-htpasswd webmin-virtualmin-mailman webmin-virtualmin-svn
  7 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
  Need to get 2,508kB of archives.
  After this operation, 1,552MB disk space will be freed.
  Do you want to continue [Y/n]? y
  Get:1 virtualmin-universal/main webmin-security-updates 4.5 [26.0kB]
  Get:2 virtualmin-universal/main webmin-virtual-server-theme 9.0-2 [2,327kB]
  Get:3 virtualmin-universal/main webmin-virtualmin-awstats 5.1 [37.2kB]
  Get:4 virtualmin-universal/main webmin-virtualmin-dav 3.7 [21.1kB]
  Get:5 virtualmin-universal/main webmin-virtualmin-htpasswd 2.6 [14.7kB]
  Get:6 virtualmin-universal/main webmin-virtualmin-mailman 6.3 [39.8kB]
  Get:7 virtualmin-universal/main webmin-virtualmin-svn 5.1 [42.2kB]
  Fetched 2,508kB in 2s (972kB/s)         
  Failed to fetch  Hash Sum mismatch
  Failed to fetch  Hash Sum mismatch
  Failed to fetch  Hash Sum mismatch
  Failed to fetch  Hash Sum mismatch
  Failed to fetch  Hash Sum mismatch
  Failed to fetch  Hash Sum mismatch
  Failed to fetch  Hash Sum mismatch


Howdy -- unfortunately, there is no longer a repository for Ubuntu 10.04, as that distribution reached it's end of life earlier this year.

We would highly recommend upgrading to a supported distribution, as that one isn't receiving any updates from Ubuntu or from Virtualmin.

In the meantime, you may need to manually download .deb files from other repositories in order to update Webmin and Virtualmin.

You could see if manually updating Webmin, Virtualmin, and the Virtualmin theme resolves the error you're currently seeing when accessing Webmin.

@andreychek Ah, okay, thanks.