root@panel:~# apt-get update
Ign:1 http://dl.google.com/linux/mod-pagespeed/deb stable InRelease
Get:2 http://dl.google.com/linux/mod-pagespeed/deb stable Release [2154 B]
Get:3 http://dl.google.com/linux/mod-pagespeed/deb stable Release.gpg [819 B]
Ign:3 http://dl.google.com/linux/mod-pagespeed/deb stable Release.gpg
Ign:4 http://software.virtualmin.com/gpl/ubuntu virtualmin-precise InRelease
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:6 http://ppa.launchpad.net/ondrej/apache2/ubuntu bionic InRelease
Ign:8 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal InRelease
Get:7 http://mirrors.ubuntu.com/mirrors.txt Mirrorlist [139 B]
Hit:9 http://download.nus.edu.sg/mirror/ubuntu bionic InRelease
Hit:10 http://mirror.aktkn.sg/ubuntu bionic-updates InRelease
Get:12 http://software.virtualmin.com/gpl/ubuntu virtualmin-precise Release [7269 B]
Get:11 http://download.nus.edu.sg/mirror/ubuntu bionic-backports InRelease [74.6 kB]
Hit:13 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
Get:14 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal Release [6553 B]
Hit:15 https://apt.bitninja.io/debian bitninja InRelease
Get:16 http://software.virtualmin.com/gpl/ubuntu virtualmin-precise Release.gpg [198 B]
Ign:16 http://software.virtualmin.com/gpl/ubuntu virtualmin-precise Release.gpg
Get:17 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal Release.gpg [198 B]
Ign:17 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal Release.gpg
Reading package lists... Done
W: GPG error: http://dl.google.com/linux/mod-pagespeed/deb stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6494C6D6997C215E
E: The repository 'http://dl.google.com/linux/mod-pagespeed/deb stable Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://software.virtualmin.com/gpl/ubuntu virtualmin-precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E8DD3FA0A0BDBCF9
E: The repository 'http://software.virtualmin.com/gpl/ubuntu virtualmin-precise Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://software.virtualmin.com/gpl/ubuntu virtualmin-universal Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E8DD3FA0A0BDBCF9
E: The repository 'http://software.virtualmin.com/gpl/ubuntu virtualmin-universal Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@panel:~# apt-get install --reinstall webmin-virtual-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reinstallation of webmin-virtual-server is not possible, it cannot be downloaded.
The following packages were automatically installed and are no longer required:
linux-headers-4.15.0-32 linux-headers-4.15.0-32-generic linux-image-4.15.0-32-generic linux-modules-4.15.0-22-generic linux-modules-4.15.0-32-generic
linux-modules-extra-4.15.0-32-generic
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Hmm, it looks like there’s a few errors when running “apt-get update”.
One of those looks like an issue with an older Virtualmin repo – I’ve modified the instructions to show the newer apt repository for those two sources.list lines… can you try those? It’s pointing to “/gpl/vm/6/apt” now rather than “/gpl/ubuntu”.
Note that the “mod-pagespeed” repository there also has a similar problem, you may want to consider commenting that out or updating it.
Once the above is done, are you able to perform the update?
I was able to perform the update and install the webmin-virtual-server. No error message so far.
However, the error message still returns:
An error occurred checking the licence : Invalid host or serial number A renewal can be purchased at http://www.virtualmin.com/shop
I tried to run apt-get update again, this returns:
root@panel:~# apt-get update
Ign:1 http://dl.google.com/linux/mod-pagespeed/deb stable InRelease
Hit:2 http://dl.google.com/linux/mod-pagespeed/deb stable Release
Ign:4 http://software.virtualmin.com/gpl/ubuntu virtualmin-precise InRelease
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:6 http://ppa.launchpad.net/ondrej/apache2/ubuntu bionic InRelease
Ign:7 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal InRelease
Get:9 http://software.virtualmin.com/gpl/ubuntu virtualmin-precise Release [7269 B]
Hit:10 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
Get:8 http://mirrors.ubuntu.com/mirrors.txt Mirrorlist [139 B]
Get:14 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal Release [6553 B]
Hit:12 http://mirror.aktkn.sg/ubuntu bionic-updates InRelease
Get:15 http://software.virtualmin.com/gpl/ubuntu virtualmin-precise Release.gpg [198 B]
Get:16 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal Release.gpg [198 B]
Hit:11 http://archive.ubuntu.com/ubuntu bionic InRelease
Ign:15 http://software.virtualmin.com/gpl/ubuntu virtualmin-precise Release.gpg
Ign:16 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal Release.gpg
Hit:13 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:17 https://apt.bitninja.io/debian bitninja InRelease
Reading package lists... Done
W: GPG error: http://software.virtualmin.com/gpl/ubuntu virtualmin-precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E8DD3FA0A0BDBCF9
E: The repository 'http://software.virtualmin.com/gpl/ubuntu virtualmin-precise Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://software.virtualmin.com/gpl/ubuntu virtualmin-universal Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E8DD3FA0A0BDBCF9
E: The repository 'http://software.virtualmin.com/gpl/ubuntu virtualmin-universal Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Please be patient, troubleshooting issues can take some time
We have minimal availability over the weekend (there’s only 4 of us working at Virtualmin), and your posts were coming through while we were all asleep.
I had modified the documentation when I posted Comment #4… it doesn’t look like your sources.list file is using the updated repo path that I mentioned though.
My recommendation would be to review the updated sources.list mentioned in the documentation, and to ensure it matches what’s on your system: