Sorry if this is a duplicate posting.
In Dec 2016 deployed LightSail Ubuntu 16.04.1 instance using virtualmin install.sh version 1.1.5
-rw-r--r-- 1 root root 184458 Dec 9 2016 virtualmin-install.log
-rwxrwxr-x 1 root root 49112 Nov 6 2016 install.sh
root@ip-172-26-74-73:~# sh install.sh --version
Checking for Perl
found Perl at /usr/bin/perl
Welcome to the Virtualmin GPL installer, version 1.1.5
The installation is quite stable and functional when run on a freshly
installed supported Operating System.
As of today virtualmin/webmin packages not updated.
Other installed packages are updated.
Operating system Ubuntu Linux 16.04.1
Webmin version 1.831
Usermin version 1.690
Virtualmin version 5.06
Theme version Authentic Theme 18.49-9
Time on system Tuesday, September 19, 2017 10:44 PM
sources.list apparently missing needed repos
grep virtual /etc/apt/sources.list
What is safest way to upgrade to current webmin/virtualmin ?
Add the repos back, and don’t remove them again.
I think it’d look like this:
deb http://software.virtualmin.com/gpl/ubuntu/ virtualmin-xenial main
deb http://software.virtualmin.com/gpl/ubuntu/ virtualmin-universal main
If you think AWS is replacing your sources.list, you could add it as a separate file in sources.list.d (we should probably do it that way anyway…we just have to fix it in a lot of places).
I usually work with CentOS.
Pasted the missing repos into sources.list.d file.
Something must have happened during original Dec 2016 install :<
-rw-r–r-- 1 root root 3335 Jun 14 04:29 sources.list
-rw-r–r-- 1 root root 14326 Dec 9 2016 trusted.gpg
-rw-r–r-- 1 root root 13427 Dec 9 2016 trusted.gpg~
-rw-r–r-- 1 root root 3335 Dec 9 2016 sources.liste
drwxr-xr-x 2 root root 4096 Apr 14 2016 preferences.d
drwxr-xr-x 2 root root 4096 Apr 14 2016 sources.list.d
drwxr-xr-x 2 root root 4096 Apr 14 2016 trusted.gpg.d
ubuntu:/etc/apt$ diff sources.liste sources.list