What am I doing wrong?
It looks like my 2 errors at this point are:
[code:1]rhinov:~# apt-get install libapache2-mod-ruby: Reading package lists... Done Building dependency tree... Done E: Couldn't find package libapache2-mod-ruby: rhinov:~# apt-get install libcrypt-ssleay-perl Reading package lists... Done Building dependency tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation:
The following packages have unmet dependencies: libcrypt-ssleay-perl: Depends: libc6 (>= 2.5-5) but 2.3.6.ds1-13etch7 is to be installed Depends: libssl0.9.8 (>= 0.9.8e-1) but 0.9.8c-4etch3 is to be installed E: Broken packages [/code:1]
I have a lisence and am using the copy pasted command line to install Virtual min and it fails as such, what am I missing? It was failing worse until I added universe repos:
deb http://ca.archive.ubuntu.com/ubuntu/ hardy universe deb-src http://ca.archive.ubuntu.com/ubuntu/ hardy universe deb http://ca.archive.ubuntu.com/ubuntu/ hardy-updates universe deb-src http://ca.archive.ubuntu.com/ubuntu/ hardy-updates universe
And imported the keys for those repos. It got to the same point but with more errors. So now I am at this: [code:1] Resolving software.virtualmin.com... 70.86.4.226 Connecting to software.virtualmin.com|70.86.4.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/plain]
[ <=> ] 40,697 144.46K/s
04:05:35 (144.04 KB/s) - `install.sh' saved [40697]
Welcome to the Virtualmin Professional installer, version 1.0.0
The installation is quite stable and functional when run on a freshly installed supported Operating System, but upgrades from existing .wbm- based systems, or systems that already have Apache VirtualHost directives or mail users, will very likely run into numerous problems. Please read the Virtualmin Installation guide before proceeding if your system is not a freshly installed and supported OS.
This script is not intended to update your system! It should only be used to install Virtualmin Professional, on a supported OS. If you have previously installed Virtualmin via this script or the GPL version of this script, upgrades and updates should be handled within Virtualmin itself. Once Virtualmin is installed, you never need to run this script again.
The systems currently supported by install.sh are: Fedora Core 5-8 on i386 and x86_64 CentOS and RHEL 3-5 on i386 and x86_64 OpenSUSE 10.0 on i586 and x86_64 Debian 3.1 and 4.0 on i386 and amd64 Ubuntu 6.06 LTS and 8.04 LTS on i386 and amd64 FreeBSD 7-RELEASE on i386 and amd64
If your OS is not listed above, this script will fail. More details about the systems supported by the script can be found here:
http://www.virtualmin.com/os-support.html
Continue? (y/n) y Checking for HTTP client...found /usr/bin/wget -nv Checking for perl...found /usr/bin/perl 04:05:40 URL:http://software.virtualmin.com/lib/spinner [579/579] -> "spinner" [1] Loading log4sh logging library... 04:05:41 URL:http://software.virtualmin.com/lib/log4sh [21395/21395] -> "log4sh" [1] INFO - Started installation log in /root/virtualmin-install.log INFO - Checking for fully qualified hostname... INFO - Hostname OK: fully qualified as rhinov.rhinov.myabitat.net INFO - Installing serial number and license key into /etc/virtualmin-license INFO - Loading OS selection library... 04:05:47 URL:http://software.virtualmin.com/lib/oschooser.pl [4448/4448] -> "oschooser.pl" [1] INFO - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded. INFO - Loading OS list... 04:05:48 URL:http://software.virtualmin.com/lib/os_list.txt [3549/3549] -> "os_list.txt" [1] INFO - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded. INFO - Operating system name: Debian Linux INFO - Operating system version: 4.0 INFO - Configuring package manager for Debian Linux 4.0... INFO - Enabling universe repositories, if not already available... INFO - Disabling cdrom repositories... Get:1 http://ftp3.nrc.ca etch Release.gpg [386B] Hit http://ftp3.nrc.ca etch Release Get:2 http://security.debian.org etch/updates Release.gpg [189B] Get:3 http://packages.medibuntu.org hardy Release.gpg [189B] Ign http://ftp3.nrc.ca etch/main Packages/DiffIndex Hit http://security.debian.org etch/updates Release Ign http://ftp3.nrc.ca etch/main Sources/DiffIndex Hit http://ftp3.nrc.ca etch/main Packages Ign http://security.debian.org etch/updates/main Packages/DiffIndex Hit http://ftp3.nrc.ca etch/main Sources Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex Ign http://security.debian.org etch/updates/main Sources/DiffIndex Get:4 http://packages.medibuntu.org hardy Release [9335B] Ign http://security.debian.org etch/updates/contrib Sources/DiffIndex Hit http://security.debian.org etch/updates/main Packages Hit http://security.debian.org etch/updates/contrib Packages Hit http://security.debian.org etch/updates/main Sources Hit http://security.debian.org etch/updates/contrib Sources Ign http://packages.medibuntu.org hardy/free Packages/DiffIndex Ign http://packages.medibuntu.org hardy/non-free Packages/DiffIndex Hit http://packages.medibuntu.org hardy/free Packages Hit http://packages.medibuntu.org hardy/non-free Packages Get:5 http://ca.archive.ubuntu.com hardy Release.gpg [189B] Get:6 http://ca.archive.ubuntu.com hardy-updates Release.gpg [189B] Hit http://ca.archive.ubuntu.com hardy Release Hit http://ca.archive.ubuntu.com hardy-updates Release Ign http://ca.archive.ubuntu.com hardy/universe Packages/DiffIndex Ign http://ca.archive.ubuntu.com hardy/universe Sources/DiffIndex Hit http://ca.archive.ubuntu.com hardy/universe Packages Hit http://ca.archive.ubuntu.com hardy/universe Sources Ign http://ca.archive.ubuntu.com hardy-updates/universe Packages/DiffIndex Ign http://ca.archive.ubuntu.com hardy-updates/universe Sources/DiffIndex Hit http://ca.archive.ubuntu.com hardy-updates/universe Packages Hit http://ca.archive.ubuntu.com hardy-updates/universe Sources Fetched 9340B in 1m40s (93B/s) Reading package lists... Done INFO - Cleaning up apt headers and packages, so we can start fresh... INFO - 04:07:33 URL:http://software.virtualmin.com/lib/apt.conf.noninteractive [243/243] -> "apt.conf.noninteractive" [1] INFO - Download of http://software.virtualmin.com/lib/apt.conf.noninteractive Succeeded. INFO - Installing Webmin and Virtualmin package signing keys... 04:07:34 URL:http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin [1690/1690] -> "RPM-GPG-KEY-virtualmin" [1] INFO - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin Succeeded. 04:07:35 URL:http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin [1320/1320] -> "RPM-GPG-KEY-webmin" [1] INFO - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin Succeeded. INFO - OK INFO - OK INFO - Get:1 INFO - Removing Debian standard Webmin package, if they exist (because they're broken)... INFO - Removing Debian apache packages... INFO - Installing dependencies using command: /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip ...in progress, please wait... |E: Broken packages /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip failed. Error (if any): 0
Displaying the last 15 lines of /root/virtualmin-install.log to help troubleshoot this problem: ruby is already the newest version. libxml-simple-perl is already the newest version. unzip is already the newest version. zip is already the newest version. Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:
The following packages have unmet dependencies: libapache2-mod-ruby: Depends: libc6 (>= 2.7-1) but 2.3.6.ds1-13etch7 is to be installed Depends: libruby1.8 (>= 1.8.6.111) but 1.8.5-4etch2 is to be installed libcrypt-ssleay-perl: Depends: libc6 (>= 2.5-5) but 2.3.6.ds1-13etch7 is to be installed Depends: libssl0.9.8 (>= 0.9.8e-1) but 0.9.8c-4etch3 is to be installed
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
FATAL - File a ticket in the Virtualmin bugs and issues tracker for further assistance. [/code:1]
Post edited by: AbitatSupport, at: 2008/10/31 07:26
Post edited by: AbitatSupport, at: 2008/10/31 07:27<br><br>Post edited by: AbitatSupport, at: 2008/10/31 08:25
Hello,
I'd go ahead and post the above over in the ticket tracker:
http://www.virtualmin.com/bug-tracker/
Whenever you do that, be sure to include what distribution you're using.
It looks like something on your system is a bit confused, I see references to both Etch (which is Debian) and Hardy (which is Ubuntu). I suspect that confusion is causing some trouble in resolving what packages to install.
Thanks,
-Eric
Okay, I've fixed that issue, my fault:
Anyway, here is the new output if Virtualmin commandline installation:
[code:1]
Building dependency tree...
The following extra packages will be installed:
webmin-security-updates webmin-virtual-server-theme
webmin-virtualmin-awstats webmin-virtualmin-dav webmin-virtualmin-htpasswd
webmin-virtualmin-mailman webmin-virtualmin-svn
The following NEW packages will be installed:
virtualmin-base webmin-security-updates webmin-virtual-server-theme
webmin-virtualmin-awstats webmin-virtualmin-dav webmin-virtualmin-htpasswd
webmin-virtualmin-mailman webmin-virtualmin-svn
0 upgraded, 8 newly installed, 0 to remove and 8 not upgraded.
Need to get 2355kB of archives.
After unpacking 320MB disk space will be freed.
Get:1 http://software.virtualmin.com virtualmin-etch/main webmin-security-updates 3.1 [21.7kB]
Get:2 http://software.virtualmin.com virtualmin-etch/main webmin-virtual-server-theme 6.4 [2221kB]
Get:3 http://software.virtualmin.com virtualmin-etch/main webmin-virtualmin-awstats 3.8 [22.2kB]
Get:4 http://software.virtualmin.com virtualmin-etch/main webmin-virtualmin-dav 2.8 [9376B]
Get:5 http://software.virtualmin.com virtualmin-etch/main webmin-virtualmin-htpasswd 1.7 [8142B]
Get:6 http://software.virtualmin.com virtualmin-etch/main webmin-virtualmin-mailman 5.1 [29.6kB]
Get:7 http://software.virtualmin.com virtualmin-etch/main webmin-virtualmin-svn 3.6 [32.1kB]
Get:8 http://software.virtualmin.com virtualmin-etch/main virtualmin-base 1.0-19 [11.0kB]
Fetched 2355kB in 5s (442kB/s)
(Reading database ... 62721 files and directories currently installed.)
Unpacking webmin-security-updates (from .../webmin-security-updates_3.1_all.deb) ...
This Webmin module is already installed on your system.
Unpacking webmin-virtual-server-theme (from .../webmin-virtual-server-theme_6.4_all.deb) ...
This Webmin module is already installed on your system.
Unpacking webmin-virtualmin-awstats (from .../webmin-virtualmin-awstats_3.8_all.deb) ...
This Webmin module is already installed on your system.
Unpacking webmin-virtualmin-dav (from .../webmin-virtualmin-dav_2.8_all.deb) ...
This Webmin module is already installed on your system.
Unpacking webmin-virtualmin-htpasswd (from .../webmin-virtualmin-htpasswd_1.7_all.deb) ...
This Webmin module is already installed on your system.
Unpacking webmin-virtualmin-mailman (from .../webmin-virtualmin-mailman_5.1_all.deb) ...
This Webmin module is already installed on your system.
Unpacking webmin-virtualmin-svn (from .../webmin-virtualmin-svn_3.6_all.deb) ...
This Webmin module is already installed on your system.
Selecting previously deselected package virtualmin-base.
Unpacking virtualmin-base (from .../virtualmin-base_1.0-19_all.deb) ...
FATAL - 2008-10-31 08:06:30 - Fatal Error Occurred: Installation failed: 0
FATAL - 2008-10-31 08:06:30 - Cannot continue installation.
FATAL - 2008-10-31 08:06:30 - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - 2008-10-31 08:06:30 - re-attempted after any problems have been resolved.
FATAL - 2008-10-31 08:06:30 - Removing temporary directory and files.
FATAL - 2008-10-31 08:06:30 - If you are unsure of what went wrong, you may wish to review the log
FATAL - 2008-10-31 08:06:30 - in /root/virtualmin-install.log
FATAL - 2008-10-31 08:06:30 - File a ticket in the Virtualmin bugs and issues tracker for further assistance.
[/code:1]
It also asked me to to apt-get -f install which I did, and reran the install command and now I have different output:
[code:1]Fetched 2B in 1s (2B/s)
Reading package lists... Done
INFO - Cleaning up apt headers and packages, so we can start fresh...
INFO -
08:10:02 URL:http://software.virtualmin.com/lib/apt.conf.noninteractive [243/243] -> "apt.conf.noninteractive" [1]
INFO - Download of http://software.virtualmin.com/lib/apt.conf.noninteractive Succeeded.
INFO - Installing Webmin and Virtualmin package signing keys...
08:10:02 URL:http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin [1690/1690] -> "RPM-GPG-KEY-virtualmin" [1]
INFO - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin Succeeded.
08:10:03 URL:http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin [1320/1320] -> "RPM-GPG-KEY-webmin" [1]
INFO - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin Succeeded.
INFO - OK
INFO - OK
INFO - Get:1
INFO - Removing Debian standard Webmin package, if they exist (because they're broken)...
INFO - Removing Debian apache packages...
INFO - Installing dependencies using command: /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip
...in progress, please wait... INFO - /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip: Succeeded.
INFO - Succeeded.
INFO - Installing Virtualmin and all related packages now using the command:
INFO - /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install virtualmin-base
...in progress, please wait... -dpkg: error processing /var/cache/apt/archives/webmin-security-updates_3.1_all.deb (--unpack):
subprocess pre-installation script returned error exit status 1
dpkg: error processing /var/cache/apt/archives/webmin-virtual-server-theme_6.4_all.deb (--unpack):
subprocess pre-installation script returned error exit status 1 \dpkg: error processing /var/cache/apt/archives/webmin-virtualmin-awstats_3.8_all.deb (--unpack):
subprocess pre-installation script returned error exit status 1
dpkg: error processing /var/cache/apt/archives/webmin-virtualmin-dav_2.8_all.deb (--unpack):
subprocess pre-installation script returned error exit status 1
dpkg: error processing /var/cache/apt/archives/webmin-virtualmin-htpasswd_1.7_all.deb (--unpack):
subprocess pre-installation script returned error exit status 1
dpkg: error processing /var/cache/apt/archives/webmin-virtualmin-mailman_5.1_all.deb (--unpack):
subprocess pre-installation script returned error exit status 1
dpkg: error processing /var/cache/apt/archives/webmin-virtualmin-svn_3.6_all.deb (--unpack):
subprocess pre-installation script returned error exit status 1 |Errors were encountered while processing:
/var/cache/apt/archives/webmin-security-updates_3.1_all.deb
/var/cache/apt/archives/webmin-virtual-server-theme_6.4_all.deb
/var/cache/apt/archives/webmin-virtualmin-awstats_3.8_all.deb
/var/cache/apt/archives/webmin-virtualmin-dav_2.8_all.deb
/var/cache/apt/archives/webmin-virtualmin-htpasswd_1.7_all.deb
/var/cache/apt/archives/webmin-virtualmin-mailman_5.1_all.deb
/var/cache/apt/archives/webmin-virtualmin-svn_3.6_all.deb
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:
This Webmin module is already installed on your system.
Unpacking webmin-virtual-server-theme (from .../webmin-virtual-server-theme_6.4_all.deb) ...
This Webmin module is already installed on your system.
Unpacking webmin-virtualmin-awstats (from .../webmin-virtualmin-awstats_3.8_all.deb) ...
This Webmin module is already installed on your system.
Unpacking webmin-virtualmin-dav (from .../webmin-virtualmin-dav_2.8_all.deb) ...
This Webmin module is already installed on your system.
Unpacking webmin-virtualmin-htpasswd (from .../webmin-virtualmin-htpasswd_1.7_all.deb) ...
This Webmin module is already installed on your system.
Unpacking webmin-virtualmin-mailman (from .../webmin-virtualmin-mailman_5.1_all.deb) ...
This Webmin module is already installed on your system.
Unpacking webmin-virtualmin-svn (from .../webmin-virtualmin-svn_3.6_all.deb) ...
This Webmin module is already installed on your system.
Selecting previously deselected package virtualmin-base.
Unpacking virtualmin-base (from .../virtualmin-base_1.0-19_all.deb) ...
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
FATAL - File a ticket in the Virtualmin bugs and issues tracker for further assistance.
[/code:1]
It also asked me to to apt-get -f install which I did, and reran the install command and now I have different output:
[code:1]Fetched 2B in 1s (2B/s)
Reading package lists... Done
INFO - Cleaning up apt headers and packages, so we can start fresh...
INFO -
08:10:02 URL:http://software.virtualmin.com/lib/apt.conf.noninteractive [243/243] -> "apt.conf.noninteractive" [1]
INFO - Download of http://software.virtualmin.com/lib/apt.conf.noninteractive Succeeded.
INFO - Installing Webmin and Virtualmin package signing keys...
08:10:02 URL:http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin [1690/1690] -> "RPM-GPG-KEY-virtualmin" [1]
INFO - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin Succeeded.
08:10:03 URL:http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin [1320/1320] -> "RPM-GPG-KEY-webmin" [1]
INFO - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin Succeeded.
INFO - OK
INFO - OK
INFO - Get:1
INFO - Removing Debian standard Webmin package, if they exist (because they're broken)...
INFO - Removing Debian apache packages...
INFO - Installing dependencies using command: /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip
...in progress, please wait... INFO - /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip: Succeeded.
INFO - Succeeded.
INFO - Installing Virtualmin and all related packages now using the command:
INFO - /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install virtualmin-base
...in progress, please wait... -dpkg: error processing /var/cache/apt/archives/webmin-security-updates_3.1_all.deb (--unpack):
subprocess pre-installation script returned error exit status 1
dpkg: error processing /var/cache/apt/archives/webmin-virtual-server-theme_6.4_all.deb (--unpack):
subprocess pre-installation script returned error exit status 1 \dpkg: error processing /var/cache/apt/archives/webmin-virtualmin-awstats_3.8_all.deb (--unpack):
subprocess pre-installation script returned error exit status 1
dpkg: error processing /var/cache/apt/archives/webmin-virtualmin-dav_2.8_all.deb (--unpack):
subprocess pre-installation script returned error exit status 1
dpkg: error processing /var/cache/apt/archives/webmin-virtualmin-htpasswd_1.7_all.deb (--unpack):
subprocess pre-installation script returned error exit status 1
dpkg: error processing /var/cache/apt/archives/webmin-virtualmin-mailman_5.1_all.deb (--unpack):
subprocess pre-installation script returned error exit status 1
dpkg: error processing /var/cache/apt/archives/webmin-virtualmin-svn_3.6_all.deb (--unpack):
subprocess pre-installation script returned error exit status 1 |Errors were encountered while processing:
/var/cache/apt/archives/webmin-security-updates_3.1_all.deb
/var/cache/apt/archives/webmin-virtual-server-theme_6.4_all.deb
/var/cache/apt/archives/webmin-virtualmin-awstats_3.8_all.deb
/var/cache/apt/archives/webmin-virtualmin-dav_2.8_all.deb
/var/cache/apt/archives/webmin-virtualmin-htpasswd_1.7_all.deb
/var/cache/apt/archives/webmin-virtualmin-mailman_5.1_all.deb
/var/cache/apt/archives/webmin-virtualmin-svn_3.6_all.deb
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:
This Webmin module is already installed on your system.
Unpacking webmin-virtual-server-theme (from .../webmin-virtual-server-theme_6.4_all.deb) ...
This Webmin module is already installed on your system.
Unpacking webmin-virtualmin-awstats (from .../webmin-virtualmin-awstats_3.8_all.deb) ...
This Webmin module is already installed on your system.
Unpacking webmin-virtualmin-dav (from .../webmin-virtualmin-dav_2.8_all.deb) ...
This Webmin module is already installed on your system.
Unpacking webmin-virtualmin-htpasswd (from .../webmin-virtualmin-htpasswd_1.7_all.deb) ...
This Webmin module is already installed on your system.
Unpacking webmin-virtualmin-mailman (from .../webmin-virtualmin-mailman_5.1_all.deb) ...
This Webmin module is already installed on your system.
Unpacking webmin-virtualmin-svn (from .../webmin-virtualmin-svn_3.6_all.deb) ...
This Webmin module is already installed on your system.
Selecting previously deselected package virtualmin-base.
Unpacking virtualmin-base (from .../virtualmin-base_1.0-19_all.deb) ...
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
FATAL - File a ticket in the Virtualmin bugs and issues tracker for further assistance.
[/code:1]
SO being so new to this, how long can I expect to see this ticket to be worked on?
Thanks again for all your help on this, at least I know I was doing something wrong and found out where.
Wade
Hi Wade,
Well, I'm hoping the exact problem will stand out to Joe or Jamie. They're generally pretty quick to respond. If they don't, though, I'll look into it a bit more myself.
Have a good one!
-Eric
It also asked me to to apt-get -f install which I did, and reran the install command and now I have different output:
[code:1]Fetched 2B in 1s (2B/s)
Reading package lists... Done
INFO - Cleaning up apt headers and packages, so we can start fresh...
INFO -
08:10:02 URL:http://software.virtualmin.com/lib/apt.conf.noninteractive [243/243] -> "apt.conf.noninteractive" [1]
INFO - Download of http://software.virtualmin.com/lib/apt.conf.noninteractive Succeeded.
INFO - Installing Webmin and Virtualmin package signing keys...
08:10:02 URL:http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin [1690/1690] -> "RPM-GPG-KEY-virtualmin" [1]
INFO - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin Succeeded.
08:10:03 URL:http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin [1320/1320] -> "RPM-GPG-KEY-webmin" [1]
INFO - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin Succeeded.
INFO - OK
INFO - OK
INFO - Get:1
INFO - Removing Debian standard Webmin package, if they exist (because they're broken)...
INFO - Removing Debian apache packages...
INFO - Installing dependencies using command: /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip
...in progress, please wait... INFO - /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip: Succeeded.
INFO - Succeeded.
INFO - Installing Virtualmin and all related packages now using the command:
INFO - /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install virtualmin-base
...in progress, please wait... -dpkg: error processing /var/cache/apt/archives/webmin-security-updates_3.1_all.deb (--unpack):
subprocess pre-installation script returned error exit status 1
dpkg: error processing /var/cache/apt/archives/webmin-virtual-server-theme_6.4_all.deb (--unpack):
subprocess pre-installation script returned error exit status 1 \dpkg: error processing /var/cache/apt/archives/webmin-virtualmin-awstats_3.8_all.deb (--unpack):
subprocess pre-installation script returned error exit status 1
dpkg: error processing /var/cache/apt/archives/webmin-virtualmin-dav_2.8_all.deb (--unpack):
subprocess pre-installation script returned error exit status 1
dpkg: error processing /var/cache/apt/archives/webmin-virtualmin-htpasswd_1.7_all.deb (--unpack):
subprocess pre-installation script returned error exit status 1
dpkg: error processing /var/cache/apt/archives/webmin-virtualmin-mailman_5.1_all.deb (--unpack):
subprocess pre-installation script returned error exit status 1
dpkg: error processing /var/cache/apt/archives/webmin-virtualmin-svn_3.6_all.deb (--unpack):
subprocess pre-installation script returned error exit status 1 |Errors were encountered while processing:
/var/cache/apt/archives/webmin-security-updates_3.1_all.deb
/var/cache/apt/archives/webmin-virtual-server-theme_6.4_all.deb
/var/cache/apt/archives/webmin-virtualmin-awstats_3.8_all.deb
/var/cache/apt/archives/webmin-virtualmin-dav_2.8_all.deb
/var/cache/apt/archives/webmin-virtualmin-htpasswd_1.7_all.deb
/var/cache/apt/archives/webmin-virtualmin-mailman_5.1_all.deb
/var/cache/apt/archives/webmin-virtualmin-svn_3.6_all.deb
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:
This Webmin module is already installed on your system.
Unpacking webmin-virtual-server-theme (from .../webmin-virtual-server-theme_6.4_all.deb) ...
This Webmin module is already installed on your system.
Unpacking webmin-virtualmin-awstats (from .../webmin-virtualmin-awstats_3.8_all.deb) ...
This Webmin module is already installed on your system.
Unpacking webmin-virtualmin-dav (from .../webmin-virtualmin-dav_2.8_all.deb) ...
This Webmin module is already installed on your system.
Unpacking webmin-virtualmin-htpasswd (from .../webmin-virtualmin-htpasswd_1.7_all.deb) ...
This Webmin module is already installed on your system.
Unpacking webmin-virtualmin-mailman (from .../webmin-virtualmin-mailman_5.1_all.deb) ...
This Webmin module is already installed on your system.
Unpacking webmin-virtualmin-svn (from .../webmin-virtualmin-svn_3.6_all.deb) ...
This Webmin module is already installed on your system.
Selecting previously deselected package virtualmin-base.
Unpacking virtualmin-base (from .../virtualmin-base_1.0-19_all.deb) ...
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
FATAL - File a ticket in the Virtualmin bugs and issues tracker for further assistance.
[/code:1]
Well Im a newb so here is where the confusion probably lies
[code:1]
#
# deb cdrom:[Debian GNU/Linux 4.0 r3 _Etch_ - Official i386 NETINST Binary-1 20$
#deb cdrom:[Debian GNU/Linux 4.0 r3 _Etch_ - Official i386 NETINST Binary-1 200$
deb http://ftp3.nrc.ca/debian/ etch main
deb-src http://ftp3.nrc.ca/debian/ etch main
deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib
deb http://ca.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://ca.archive.ubuntu.com/ubuntu/ hardy universe
deb http://ca.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://ca.archive.ubuntu.com/ubuntu/ hardy-updates universe
[/code:1]
I am runnind debian 4.0 according to /etc/debian_versions
Well, those last 4 lines are probably the issue.
So, I'd start off by commenting those out :-)
Also, I see a reference in your output above to "packages.medibuntu.org" -- I'd also comment that out as well.
Then, if you run "apt-get update" from the command line, and re-run the installation, does that help? You had said you ran into issues prior to adding those "universe" lines -- if you run into those again, let us know what they are, that's something we should be able to resolve :-)
-Eric
okay my only sources are now:
[code:1]
deb http://ftp3.nrc.ca/debian/ etch main
deb-src http://ftp3.nrc.ca/debian/ etch main
deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib
[/code:1]
But when I try and clean my apt-get and update it, it still does the hardy updates :(
[code:1]Get:1 http://ftp3.nrc.ca etch Release.gpg [386B]
Get:2 http://ftp3.nrc.ca etch Release [58.2kB]
Get:3 http://security.debian.org etch/updates Release.gpg [189B]
Get:4 http://security.debian.org etch/updates Release [37.6kB]
Get:5 http://packages.medibuntu.org hardy Release.gpg [189B]
Get:6 http://security.debian.org etch/updates/main Packages [374kB]
Get:7 http://packages.medibuntu.org hardy Release [9335B]
Get:8 http://ftp3.nrc.ca etch/main Packages [5624kB]
Get:9 http://packages.medibuntu.org hardy/free Packages [6001B]
Get:10 http://security.debian.org etch/updates/contrib Packages [8934B]
Get:11 http://security.debian.org etch/updates/main Sources [56.5kB]
Get:12 http://security.debian.org etch/updates/contrib Sources [1283B]
Get:13 http://packages.medibuntu.org hardy/non-free Packages [7183B]
[/code:1]
What did I do wrong there? :|
Well, it's seeing a medibuntu repository in there somewhere (which wasn't one of the 4 lines you commented out).
What output do you get if you type the following from the command line:
find /etc/apt/ | xargs grep medibuntu
[code:1]
rhinov:/var/lib/apt# find /etc/apt/ | xargs grep medibuntu
/etc/apt/sources.list.d/medibuntu.list:## Please report any bug on https://bugs.launchpad.net/medibuntu/
/etc/apt/sources.list.d/medibuntu.list:deb http://packages.medibuntu.org/ hardy free non-free
/etc/apt/sources.list.d/medibuntu.list:#deb-src http://packages.medibuntu.org/ hardy free non-free
Binary file /etc/apt/trusted.gpg matches
Binary file /etc/apt/trusted.gpg~ matches
rhinov:/var/lib/apt#
[/code:1]
Ahhhh, I've commented out:
deb http://packages.medibuntu.org/ hardy free non-free
I will apt-update and try install and post my results.
Well I don't understand, I've commented out that one line you found for me, and tried to totally clean out the apt-get and it is still pulling hardy updates for some reason:
any ideas?
Thanks for this I really appreciate your help :):)
[code:1]
rhinov:/# find /etc/apt/ | xargs grep medibuntu
/etc/apt/sources.list.d/medibuntu.list:## Please report any bug on https://bugs.
/etc/apt/sources.list.d/medibuntu.list:#deb http://packages.medibuntu.org/ hardy
/etc/apt/sources.list.d/medibuntu.list:#deb-src http://packages.medibuntu.org/ h
Binary file /etc/apt/trusted.gpg matches
Binary file /etc/apt/trusted.gpg~ matches
rhinov:/# apt-get clean
rhinov:/# cd /var/lib/apt
rhinov:/var/lib/apt# mv lists lists.old4
rhinov:/var/lib/apt# mkdir -p lists/partial
rhinov:/var/lib/apt# apt-get clean
rhinov:/var/lib/apt# apt-get update
Get:1 http://security.debian.org etch/updates Release.gpg [189B]
Get:2 http://ftp3.nrc.ca etch Release.gpg [386B]
Get:3 http://security.debian.org etch/updates Release [37.6kB]
Get:4 http://ftp3.nrc.ca etch Release [58.2kB]
Get:5 http://security.debian.org etch/updates/main Packages [374kB]
Get:6 http://ftp3.nrc.ca etch/main Packages [5624kB]
Get:7 http://security.debian.org etch/updates/contrib Packages [8934B]
Get:8 http://security.debian.org etch/updates/main Sources [56.5kB]
Get:9 http://security.debian.org etch/updates/contrib Sources [1283B]
Get:10 http://ca.archive.ubuntu.com hardy Release.gpg [189B]
Get:11 http://ca.archive.ubuntu.com hardy-updates Release.gpg [189B]
Get:12 http://ca.archive.ubuntu.com hardy Release [65.9kB]
Get:13 http://ca.archive.ubuntu.com hardy-updates Release [58.5kB]
Get:14 http://ca.archive.ubuntu.com hardy/universe Packages [5607kB]
[/code:1]
Wait sorry, my bad, I didn't properly comment them out.
Will be back with more results. (Edit post errors out for me so sorry for multiple replies)
Okay, there we go, we're closer to the root of the problem :-)
So, here's what you should do --
Open a new ticket in the ticket tracker:
http://www.virtualmin.com/bug-tracker/
Post the above error, a link to this forum post, and most importantly, attach a copy of this file:
/root/virtualmin-install.log
It will hopefully contain some further info on what's going on.
Thanks!
-Eric
This looks like a combination of problems, caused by the multiple failed installs when you were starting out with a botched repo configuration. But, I think the most obvious issue is that our module packaging script for debian is still broken (it ignores the --allow-overwrite flag, and refuses to overwrite existing modules...I was sure Jamie fixed this months ago, so I'm baffled that it persists...or maybe I forgot to include that option when I was building the packages...but that would mean it's my fault, and I don't like to think about that, so let's keep blaming Jamie).
To fix it...I guess uninstall those modules individually using dpkg and then start again. If you've filed a ticket, I'll get to it shortly, and I can fix things for you, if you like.
--
Check out the forum guidelines!
I can take a look at that Joe. Thanks for the input.
I'll respond in the ticket tracker:
http://www.virtualmin.com/index.php?option=com_flyspray&do=details&a...