Submitted by wocul on Wed, 09/03/2014 - 21:27
Distributor ID: Debian
Description: Debian GNU/Linux 7.2 (wheezy)
Release: 7.2
Codename: wheezy
Getting these errors when trying to run the scripted installer on Debian 7.2:
Errors were encountered while processing:
/var/cache/apt/archives/webmin-security-updates_4.4_all.deb
/var/cache/apt/archives/webmin-virtual-server_4.09.gpl_all.deb
/var/cache/apt/archives/webmin-virtualmin-awstats_4.9_all.deb
/var/cache/apt/archives/webmin-virtualmin-dav_3.6_all.deb
/var/cache/apt/archives/webmin-virtualmin-htpasswd_2.6_all.deb
/var/cache/apt/archives/webmin-virtualmin-mailman_6.2_all.deb
/var/cache/apt/archives/webmin-virtualmin-svn_5.0_all.deb
WARN - apt-get seems to have failed. Are you sure your OS and version is supported?
WARN - http://www.virtualmin.com/os-support
FATAL - Fatal Error Occurred: Installation failed: 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
Is this to be expected (i.e. 7.2. unsupported-the script says only debian 7.0 ?) or is there anything I can do to troubleshoot this further and maybe help get the script updated accordingly ?
I am seeing a bunch of unresolved dependencies in the log file that would seem possible to satisfy/update manually:
This Webmin module depends on the module mailboxes, which is^M
not installed on your system.^M
dpkg: error processing /var/cache/apt/archives/webmin-security-updates_4.4_all.deb (--unpack):^M
subprocess new pre-installation script returned error exit status 1^M
Unpacking webmin-virtual-server (from .../webmin-virtual-server_4.09.gpl_all.deb) ...^M
This Webmin module depends on the module quota, which is^M
not installed on your system.^M
dpkg: error processing /var/cache/apt/archives/webmin-virtual-server_4.09.gpl_all.deb (--unpack):^M
subprocess new pre-installation script returned error exit status 1^M
Unpacking webmin-virtualmin-awstats (from .../webmin-virtualmin-awstats_4.9_all.deb) ...^M
This Webmin module depends on the module virtual-server, which is^M
not installed on your system.^M
dpkg: error processing /var/cache/apt/archives/webmin-virtualmin-awstats_4.9_all.deb (--unpack):^M
subprocess new pre-installation script returned error exit status 1^M
Unpacking webmin-virtualmin-dav (from .../webmin-virtualmin-dav_3.6_all.deb) ...^M
This Webmin module depends on the module virtual-server, which is^M
not installed on your system.^M
dpkg: error processing /var/cache/apt/archives/webmin-virtualmin-dav_3.6_all.deb (--unpack):^M
subprocess new pre-installation script returned error exit status 1^M
Unpacking webmin-virtualmin-htpasswd (from .../webmin-virtualmin-htpasswd_2.6_all.deb) ...^M
This Webmin module depends on the module htaccess-htpasswd, which is^M
not installed on your system.^M
dpkg: error processing /var/cache/apt/archives/webmin-virtualmin-htpasswd_2.6_all.deb (--unpack):^M
subprocess new pre-installation script returned error exit status 1^M
Unpacking webmin-virtualmin-mailman (from .../webmin-virtualmin-mailman_6.2_all.deb) ...^M
This Webmin module depends on the module virtual-server, which is^M
not installed on your system.^M
Thanks
Status:
Active
Comments
Submitted by andreychek on Wed, 09/03/2014 - 22:06 Comment #1
Howdy -- you're likely seeing an issue with TurnKey, as we haven't done any testing with it.
Out of curiosity though, what is the output of this command:
cat /etc/issue
Submitted by wocul on Thu, 09/04/2014 - 11:27 Comment #2
Hi,
thanks for getting back in touch. You seem to be right that this must be TKL specific, because I am successfully running virtualmin (GPL) on Debian 7.6 on another server using the same install script.
/etc/issue is: "Debian GNU/Linux 7"
# lsb_release -a
Distributor ID: Debian
Description: Debian GNU/Linux 7.2 (wheezy)
Release: 7.2
Codename: wheezy
TKL can be easily downloaded/deployed in a VM, so testing should be straightforward because I can easily test different configurations.
There's an old blog article on the Turnkey blog about installing virtualmin in Turnkey, highlighting some issues back then (5 yrs ago): http://www.turnkeylinux.org/forum/general/20090604/step-step-installing-...
And several TKL users seem interested in using virtualmin on TKL: https://blueprints.launchpad.net/turnkeylinux/+spec/lamp-with-virtualmin
Some of the TKL/virtualmin related pitfalls are mentioned here: http://www.turnkeylinux.org/forum/general/20120507/older-appliance-packages
Please let me know if there is anything else to help troubleshoot/fix this - given that TKL is debian-based, this would actually seem feasible:
Thanks
Submitted by wocul on Thu, 09/04/2014 - 13:43 Comment #3
Update: the script seem to fail at different stages depending on which "appliance" is used as the baseline - to start off with a bare setup I am now testing against corelinux-core, which is based on debian7 minimal. Will report back ...
E: Sub-process /usr/bin/dpkg returned an error code (1)
/usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install virtualmin-base failed. Error (if any): 0
Displaying the last 15 lines of /root/virtualmin-install.log to help troubleshoot this problem:
Unpacking webmin-virtualmin-svn (from .../webmin-virtualmin-svn_5.0_all.deb) ...
This Webmin module depends on the module virtual-server, which is
not installed on your system.
dpkg: error processing /var/cache/apt/archives/webmin-virtualmin-svn_5.0_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Selecting previously unselected package virtualmin-base.
Unpacking virtualmin-base (from .../virtualmin-base_1.0-29_all.deb) ...
Errors were encountered while processing:
/var/cache/apt/archives/webmin-security-updates_4.4_all.deb
/var/cache/apt/archives/webmin-virtual-server_4.10.gpl_all.deb
/var/cache/apt/archives/webmin-virtualmin-awstats_4.9_all.deb
/var/cache/apt/archives/webmin-virtualmin-dav_3.6_all.deb
/var/cache/apt/archives/webmin-virtualmin-htpasswd_2.6_all.deb
/var/cache/apt/archives/webmin-virtualmin-mailman_6.2_all.deb
/var/cache/apt/archives/webmin-virtualmin-svn_5.0_all.deb
WARN - apt-get seems to have failed. Are you sure your OS and version is supported?
WARN - http://www.virtualmin.com/os-support
FATAL - Fatal Error Occurred: Installation failed: 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
Selecting previously unselected package usermin-virtual-server-theme.^M
(Reading database ... ^M(Reading database ... 5%^M(Reading database ... 10%^M(Reading database ... 15%^M(Reading database ... 20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading database ... 35%^M(Reading database ... 40%^M(Reading database ... 45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading database ... 60%^M(Reading database ... 65%^M(Reading database ... 70%^M(Reading database ... 75%^M(Reading database ... 80%^M(Reading database ... 85%^M(Reading database ... 90%^M(Reading database ... 95%^M(Reading database ... 100%^M(Reading database ... 54149 files and directories currently installed.)^M
Unpacking usermin-virtual-server-theme (from .../usermin-virtual-server-theme_6.8_all.deb) ...^M
Selecting previously unselected package webmin-security-updates.^M
Unpacking webmin-security-updates (from .../webmin-security-updates_4.4_all.deb) ...^M
This Webmin module depends on the module mailboxes, which is^M
not installed on your system.^M
dpkg: error processing /var/cache/apt/archives/webmin-security-updates_4.4_all.deb (--unpack):^M
subprocess new pre-installation script returned error exit status 1^M
Selecting previously unselected package webmin-virtual-server.^M
Unpacking webmin-virtual-server (from .../webmin-virtual-server_4.10.gpl_all.deb) ...^M
This Webmin module depends on the module quota, which is^M
not installed on your system.^M
dpkg: error processing /var/cache/apt/archives/webmin-virtual-server_4.10.gpl_all.deb (--unpack):^M
subprocess new pre-installation script returned error exit status 1^M
Selecting previously unselected package webmin-virtual-server-theme.^M
Unpacking webmin-virtual-server-theme (from .../webmin-virtual-server-theme_8.7_all.deb) ...^M
Selecting previously unselected package webmin-virtualmin-awstats.^M
Unpacking webmin-virtualmin-awstats (from .../webmin-virtualmin-awstats_4.9_all.deb) ...^M
This Webmin module depends on the module virtual-server, which is^M
not installed on your system.^M
dpkg: error processing /var/cache/apt/archives/webmin-virtualmin-awstats_4.9_all.deb (--unpack):^M
subprocess new pre-installation script returned error exit status 1^M
Selecting previously unselected package webmin-virtualmin-dav.^M
Unpacking webmin-virtualmin-dav (from .../webmin-virtualmin-dav_3.6_all.deb) ...^M
This Webmin module depends on the module virtual-server, which is^M
not installed on your system.^M
dpkg: error processing /var/cache/apt/archives/webmin-virtualmin-dav_3.6_all.deb (--unpack):^M
subprocess new pre-installation script returned error exit status 1^M
Selecting previously unselected package webmin-virtualmin-htpasswd.^M
Unpacking webmin-virtualmin-htpasswd (from .../webmin-virtualmin-htpasswd_2.6_all.deb) ...^M
dpkg: error processing /var/cache/apt/archives/webmin-virtualmin-htpasswd_2.6_all.deb (--unpack):^M
subprocess new pre-installation script returned error exit status 1^M
Selecting previously unselected package webmin-virtualmin-mailman.^M
Unpacking webmin-virtualmin-mailman (from .../webmin-virtualmin-mailman_6.2_all.deb) ...^M
This Webmin module depends on the module virtual-server, which is^M
not installed on your system.^M
dpkg: error processing /var/cache/apt/archives/webmin-virtualmin-mailman_6.2_all.deb (--unpack):^M
subprocess new pre-installation script returned error exit status 1^M
Selecting previously unselected package webmin-virtualmin-svn.^M
Unpacking webmin-virtualmin-svn (from .../webmin-virtualmin-svn_5.0_all.deb) ...^M
This Webmin module depends on the module virtual-server, which is^M
not installed on your system.^M
dpkg: error processing /var/cache/apt/archives/webmin-virtualmin-svn_5.0_all.deb (--unpack):^M
subprocess new pre-installation script returned error exit status 1^M
Selecting previously unselected package virtualmin-base.^M
Unpacking virtualmin-base (from .../virtualmin-base_1.0-29_all.deb) ...^M
Errors were encountered while processing:^M
/var/cache/apt/archives/webmin-security-updates_4.4_all.deb^M
/var/cache/apt/archives/webmin-virtual-server_4.10.gpl_all.deb^M
/var/cache/apt/archives/webmin-virtualmin-awstats_4.9_all.deb^M
/var/cache/apt/archives/webmin-virtualmin-dav_3.6_all.deb^M
/var/cache/apt/archives/webmin-virtualmin-htpasswd_2.6_all.deb^M
/var/cache/apt/archives/webmin-virtualmin-mailman_6.2_all.deb^M
/var/cache/apt/archives/webmin-virtualmin-svn_5.0_all.deb^M
WARN - 2014-09-04 18:31:52 - apt-get seems to have failed. Are you sure your OS and version is supported?
WARN - 2014-09-04 18:31:52 - http://www.virtualmin.com/os-support
FATAL - 2014-09-04 18:31:52 - Fatal Error Occurred: Installation failed: 0
FATAL - 2014-09-04 18:31:52 - Cannot continue installation.
FATAL - 2014-09-04 18:31:52 - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - 2014-09-04 18:31:52 - re-attempted after any problems have been resolved.
FATAL - 2014-09-04 18:31:52 - Removing temporary directory and files.
FATAL - 2014-09-04 18:31:52 - If you are unsure of what went wrong, you may wish to review the log
FATAL - 2014-09-04 18:31:52 - in /root/virtualmin-install.log
According to the TKL forum, these seem to be primarily packaging problems - they're using an unmodified debian-minimal profile and ship webmin itself as part of every virtual appliance - it's apparently just virtualmin that needs additional integration work ?