Debian9/stretch support

According to the various sources debian 9 is expected to be released mid June as stable.

I was playing with installing on a clean debian stetch testing install. Since I saw a few people had successfully dist-upgraded, once installed it should just work?

Looks like the installer is referencing older package names though, eg * use instead php7.0-* instead of php5-* * libapache2-mod-svn instead of libapache2-svn * libapache2-mod-php instead of libapache2-mod-php5.

Additionally need to add shortcuts to repos for stretch?

Output from the installer looks like below...

Please enter y or n: y
Checking for HTTP client...found /usr/bin/curl -s -O
Checking for perl...found /usr/bin/perl
Loading log4sh logging library...
INFO - Started installation log in /root/virtualmin-install.log
INFO - Checking for fully qualified hostname...
INFO - Hostname OK: fully qualified as server1.thepocketsite.com
INFO - Installing serial number and license key into /etc/virtualmin-license
INFO - Loading OS selection library...
INFO - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded.
INFO - Loading OS list...
INFO - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded.
INFO - Operating system name:    Debian Linux
INFO - Operating system version: 9
INFO - Configuring package manager for Debian Linux 9...
INFO - Enabling universe repositories, if not already available...
INFO - Disabling cdrom repositories...
Hit:1 http://security.debian.org stretch/updates InRelease
Hit:2 http://cdn-fastly.deb.debian.org/debian stretch InRelease       
Hit:3 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
Reading package lists... Done
INFO - Cleaning up apt headers and packages, so we can start fresh...
INFO -
INFO - Download of http://software.virtualmin.com/lib/apt.conf.noninteractive Succeeded.
INFO - Installing Webmin and Virtualmin package signing keys...
INFO - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin Succeeded.
INFO - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin Succeeded.
Warning: apt-key output should not be parsed (stdout is not a terminal)
INFO - OK
Warning: apt-key output should not be parsed (stdout is not a terminal)
INFO - OK
INFO - Hit:1
INFO - Removing Debian standard Webmin package, if they exist...
INFO - Removing Debian apache packages...
E: Unable to locate package webmin-core
INFO - Installing dependencies using command: /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install bsdutils postfix postfix-pcre webmin usermin ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip libfcgi-dev bind9 spamassassin spamc procmail procmail-wrapper libnet-ssleay-perl libpg-perl libdbd-pg-perl libdbd-mysql-perl quota iptables openssl python mailman subversion ruby irb rdoc ri mysql-server mysql-client mysql-common postgresql postgresql-client awstats webalizer dovecot-common dovecot-imapd dovecot-pop3d proftpd libcrypt-ssleay-perl awstats clamav-base clamav-daemon clamav clamav-freshclam clamav-docs clamav-testfiles libapache2-mod-fcgid apache2-suexec-custom scponly apache2 apache2-doc libapache2-svn libsasl2-2 libsasl2-modules sasl2-bin php-pear php5 php5-cgi libapache2-mod-php5 php5-mysql ntpdate
...in progress, please wait...
.E: Unable to locate package webmin
E: Unable to locate package usermin
E: Unable to locate package procmail-wrapper
E: Unable to locate package scponly
E: Unable to locate package libapache2-svn
E: Package 'php5' has no installation candidate
E: Package 'php5-cgi' has no installation candidate
E: Package 'libapache2-mod-php5' has no installation candidate
E: Package 'php5-mysql' has no installation candidate

/usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install bsdutils postfix postfix-pcre webmin usermin ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip libfcgi-dev bind9 spamassassin spamc procmail procmail-wrapper libnet-ssleay-perl libpg-perl libdbd-pg-perl libdbd-mysql-perl quota iptables openssl python mailman subversion ruby irb rdoc ri mysql-server mysql-client mysql-common postgresql postgresql-client awstats webalizer dovecot-common dovecot-imapd dovecot-pop3d proftpd libcrypt-ssleay-perl awstats clamav-base clamav-daemon clamav clamav-freshclam clamav-docs clamav-testfiles libapache2-mod-fcgid apache2-suexec-custom scponly apache2 apache2-doc libapache2-svn libsasl2-2 libsasl2-modules sasl2-bin php-pear php5 php5-cgi libapache2-mod-php5 php5-mysql ntpdate failed.  Error (if any): 0

Displaying the last 15 lines of /root/virtualmin-install.log to help troubleshoot this problem:
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package php5-mysql is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package php5-cgi is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libapache2-mod-php5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source


FATAL - Fatal Error Occurred: Something went wrong during installation: 0
FATAL - Cannot continue installation.
FATAL - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - re-attempted after any problems have been resolved.
FATAL - Removing temporary directory and files.
FATAL - If you are unsure of what went wrong, you may wish to review the log
FATAL - in /root/virtualmin-install.log
Status: 
Active

Comments

Howdy -- thanks for contacting us, and we're glad to hear you're interested in Debian 9!

We generally shoot for having distro support available shortly after it comes out.

Debian 9 has a lot of similarities to Ubuntu 16.04, so we'll likely be borrowing from the Ubuntu 16.04 section to get all that up and running.

And you're right we do indeed need to get the repo setup, I'll be talking to Joe about that shortly.

I'll also be writing up instructions on how to migrate from Debian 8 to 9, and that may very well be done before Debian 9 is available.

Joe's picture
Submitted by Joe on Wed, 05/31/2017 - 21:54 Pro Licensee

We historically have support for new distros available within a week of it being marked stable by the vendor (sometimes faster, rarely slower).

I've just released an entirely re-designed installer, however, that makes adding new distro support easier, but also makes it possible to install without using the install script...but, still getting a lot of the same benefits just by installing metapackages (on Debian/Ubuntu) or yum groups (on CentOS/Fedora). The idea being folks who want to work with distros we don't support would be able to do so by running their own repos and would only need a one or two line tweak to the install script itself (or to write their own Puppet or Chef or whatever recipe to do the install without the install script at all). That won't be necessary for Debian 9, however, as we'll be on top of that one quickly.

I've just made a video explaining the technical details of the new installer, some comments on how to add new distros and how to customize the install process, but haven't edited it or gotten captions done for it yet. Hopefully, it will be done in a day or two.

So...I think we can count this as you encouraging us to move fast on Debian 9 support when it goes stable? Is there something else to this, other than the question of whether it'll work if you dist-upgrade (it probably will, but might need some tweaking afterward)?

Joe's picture
Submitted by Joe on Wed, 05/31/2017 - 21:58 Pro Licensee

To be clear, with the new thing, you could probably just add the virtualmin-universal repo and the Debian 8 or Ubuntu 16.04 repo, and use apt-get to install the "virtualmin-lamp-stack" and "virtualmin-core" metapackages, and then use the virtualmin-config package to configure everything. That'd skip all the detection stuff and force it to use whatever distro you think matches most closely to the new version.

Those new repos are in https://software.virtualmin.com/vm/6/gpl/apt (or without the gpl for licensed installs). I'll be writing up documentation for a non-install.sh but still mostly automated install in a day or two.

When I try to update my Debian package list with the new source added, it complains that pub key D9F9010760D62A6B isn't present. I've added RPM-GPG-KEY-virtualmin and RPM-GPG-KEY-virtualmin to apt though.

Should I add another one?

Joe's picture
Submitted by Joe on Sun, 06/18/2017 - 15:45 Pro Licensee

Yes, there's a new vm6 key here: http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin-6

I'll be rolling new repo keys with each major version going forward, so we can keep up with key strength and so we can begin to retire keys that have been in use for something like 10 years.

I'll be working on Debian 9 support in the new VM 6 installer over the next couple of days now that it's been released. It should be supported pretty quickly, as most of the hard changes (systemd, mariadb 10, php7) have already been dealt with in other distros.

@joe is this documentation up yet or any news on an updated install.sh script ?

Hi, as asked before is there a timeframe for support on Virtualmin under Debian 9?

Thanks