Error trying install virtualmin on Ubuntu 10.04

Hello all… After isntall webmin on a Ubuntu 10.04 server, I’m trying to install virtualming, but I don’t get it.

When I run the script install.sh I get this error message:


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…
.E: Broken packages

/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:
Depends: libdbd-pg-perl but it is not going to be installed
Depends: ri but it is not going to be installed
Depends: webmin (>= 1.346) but it is not going to be installed
Depends: usermin
Depends: webmin-virtual-server but it is not going to be installed
Depends: libcrypt-ssleay-perl but it is not going to be installed
Depends: webmin-virtual-server-theme but it is not going to be installed
Depends: webmin-virtualmin-dav but it is not going to be installed
Depends: webmin-virtualmin-svn but it is not going to be installed
Depends: webmin-virtualmin-awstats but it is not going to be installed
Depends: webmin-virtualmin-mailman but it is not going to be installed
Depends: webmin-virtualmin-htpasswd but it is not going to be installed
Depends: apache2-suexec-custom but it is not installable
Depends: usermin-virtual-server-theme but it is not going to be installed
Depends: webmin-security-updates but it is not going to be installed
WARN - apt-get seems to have failed. Are you sure your OS and version is supported?
WARN - http://www.virtualmin.com/os-support

This is the content of the sources.list file:

deb cdrom:[Ubuntu-Server 8.04 Hardy Heron - Release amd64 (20080423.2)]/ hardy main restricted

#deb cdrom:[Ubuntu-Server 8.04 Hardy Heron - Release amd64 (20080423.2)]/ hardy main restricted

See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to

newer versions of the distribution.

deb http://update.onlinehome-server.info/ubuntu/ hardy main restricted
deb-src http://update.onlinehome-server.info/ubuntu/ hardy main restricted

Major bug fix updates produced after the final release of the

distribution.

deb http://update.onlinehome-server.info/ubuntu/ hardy-updates main restricted
deb-src http://update.onlinehome-server.info/ubuntu/ hardy-updates main restricted

N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

team, and may not be under a free licence. Please satisfy yourself as to

your rights to use the software. Also, please note that software in

universe WILL NOT receive any review or updates from the Ubuntu security

team.

deb http://update.onlinehome-server.info/ubuntu/ hardy universe
deb-src http://update.onlinehome-server.info/ubuntu/ hardy universe
deb http://update.onlinehome-server.info/ubuntu/ hardy-updates universe
deb-src http://update.onlinehome-server.info/ubuntu/ hardy-updates universe

N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

team, and may not be under a free licence. Please satisfy yourself as to

your rights to use the software. Also, please note that software in

multiverse WILL NOT receive any review or updates from the Ubuntu

security team.

deb http://update.onlinehome-server.info/ubuntu/ hardy multiverse
deb-src http://update.onlinehome-server.info/ubuntu/ hardy multiverse
deb http://update.onlinehome-server.info/ubuntu/ hardy-updates multiverse
deb-src http://update.onlinehome-server.info/ubuntu/ hardy-updates multiverse

Uncomment the following two lines to add software from the ‘backports’

repository.

N.B. software from this repository may not have been tested as

extensively as that contained in the main release, although it includes

newer versions of some applications which may provide useful features.

Also, please note that software in backports WILL NOT receive any review

or updates from the Ubuntu security team.

deb http://update.onlinehome-server.info/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://update.onlinehome-server.info/ubuntu/ hardy-backports main restricted universe multiverse

Uncomment the following two lines to add software from Canonical’s

‘partner’ repository. This software is not part of Ubuntu, but is

offered by Canonical and the respective vendors as a service to Ubuntu

users.

deb http://archive.canonical.com/ubuntu hardy partner
deb-src http://archive.canonical.com/ubuntu hardy partner

#deb http://update.onlinehome-server.info/ubuntu/ hardy-security main restricted
#deb-src http://update.onlinehome-server.info/ubuntu/ hardy-security main restricted
#deb http://update.onlinehome-server.info/ubuntu/ hardy-security universe
#deb-src http://update.onlinehome-server.info/ubuntu/ hardy-security universe
#deb http://update.onlinehome-server.info/ubuntu/ hardy-security multiverse
#deb-src http://update.onlinehome-server.info/ubuntu/ hardy-security multiverse
deb http://archive.ubuntu.com/ubuntu lucid main restricted multiverse
deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib


Any suggestions?? I’ve been trying this for several days with differents options, but I don’t get it to work.
Any help will be greatly appreciated… Thanks for your time.

Hmm, can you attach your entire /root/virtualmin-install.log file? I’m not sure what’s wrong from the above, but it might contain more clues that help us figure out what’s going awry :slight_smile: Thanks!

-Eric

Hello, andrey… Thanks a lot for your fast reply. This is the entire error message, taken from /root/virtualmin-install.log:

INFO - 2011-09-25 18:39:58 - Started installation log in /root/virtualmin-install.log

DEBUG - 2011-09-25 18:39:58 - Install mode: full

DEBUG - 2011-09-25 18:39:59 - Product: Virtualmin GPL

DEBUG - 2011-09-25 18:39:59 - Virtualmin Meta-Package list: virtualmin-base

DEBUG - 2011-09-25 18:39:59 - install.sh version: 1.0.6

INFO - 2011-09-25 18:39:59 - Checking for fully qualified hostname…

INFO - 2011-09-25 18:39:59 - Hostname OK: fully qualified as s15391388.onlinehome-server.info

INFO - 2011-09-25 18:39:59 - Installing serial number and license key into /etc/virtualmin-license

INFO - 2011-09-25 18:39:59 - Loading OS selection library…

INFO - 2011-09-25 18:39:59 - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded.

INFO - 2011-09-25 18:39:59 - Loading OS list…

INFO - 2011-09-25 18:39:59 - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded.

INFO - 2011-09-25 18:40:00 - Operating system name: Ubuntu Linux

INFO - 2011-09-25 18:40:00 - Operating system version: 10.04

INFO - 2011-09-25 18:40:00 - Configuring package manager for Ubuntu Linux 10.04…

INFO - 2011-09-25 18:40:00 - Enabling universe repositories, if not already available…

INFO - 2011-09-25 18:40:00 - Disabling cdrom repositories…

INFO - 2011-09-25 18:40:03 - Cleaning up apt headers and packages, so we can start fresh…

INFO - 2011-09-25 18:40:03 -

INFO - 2011-09-25 18:40:03 - Download of http://software.virtualmin.com/lib/apt.conf.noninteractive Succeeded.

INFO - 2011-09-25 18:40:03 - Installing Webmin and Virtualmin package signing keys…

INFO - 2011-09-25 18:40:04 - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin Succeeded.

INFO - 2011-09-25 18:40:04 - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin Succeeded.

INFO - 2011-09-25 18:40:04 - OK

INFO - 2011-09-25 18:40:04 - OK

INFO - 2011-09-25 18:40:08 - Hit

INFO - 2011-09-25 18:40:08 - Removing Debian standard Webmin package, if they exist…

INFO - 2011-09-25 18:40:08 - Removing Debian apache packages…

DEBUG - 2011-09-25 18:40:08 - Reading

INFO - 2011-09-25 18:40:08 - 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 quota

Reading package lists…

Building dependency tree…

Reading state information…

postfix is already the newest version.

postfix-pcre is already the newest version.

webmin is already the newest version.

usermin is already the newest version.

ruby is already the newest version.

libapache2-mod-ruby is already the newest version.

libxml-simple-perl is already the newest version.

libcrypt-ssleay-perl is already the newest version.

unzip is already the newest version.

zip is already the newest version.

quota is already the newest version.

0 upgraded, 0 newly installed, 0 to remove and 64 not upgraded.

INFO - 2011-09-25 18:40:10 - /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 quota: Succeeded.

INFO - 2011-09-25 18:40:10 - Succeeded.

INFO - 2011-09-25 18:40:10 - Installing Virtualmin and all related packages now using the command:

INFO - 2011-09-25 18:40:10 - /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install virtualmin-base

Reading package lists…

Building dependency tree…

Reading state information…

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:

virtualmin-base: Depends: libnet-ssleay-perl but it is not going to be installed

Depends: libpg-perl but it is not going to be installed

Depends: libdbd-pg-perl but it is not going to be installed

Depends: ri but it is not going to be installed

Depends: webmin (>= 1.346) but it is not going to be installed

Depends: usermin

Depends: webmin-virtual-server but it is not going to be installed

Depends: libcrypt-ssleay-perl but it is not going to be installed

Depends: webmin-virtual-server-theme but it is not going to be installed

Depends: webmin-virtualmin-dav but it is not going to be installed

Depends: webmin-virtualmin-svn but it is not going to be installed

Depends: webmin-virtualmin-awstats but it is not going to be installed

Depends: webmin-virtualmin-mailman but it is not going to be installed

Depends: webmin-virtualmin-htpasswd but it is not going to be installed

Depends: apache2-suexec-custom but it is not installable

Depends: usermin-virtual-server-theme but it is not going to be installed

Depends: webmin-security-updates but it is not going to be installed

WARN - 2011-09-25 18:40:12 - apt-get seems to have failed. Are you sure your OS and version is supported?

WARN - 2011-09-25 18:40:12 - http://www.virtualmin.com/os-support

FATAL - 2011-09-25 18:40:12 - Fatal Error Occurred: Installation failed: 0

FATAL - 2011-09-25 18:40:12 - Cannot continue installation.

FATAL - 2011-09-25 18:40:12 - Attempting to remove virtualmin repository configuration, so the installation can be

FATAL - 2011-09-25 18:40:12 - re-attempted after any problems have been resolved.

FATAL - 2011-09-25 18:40:12 - Removing temporary directory and files.

FATAL - 2011-09-25 18:40:12 - If you are unsure of what went wrong, you may wish to review the log

FATAL - 2011-09-25 18:40:12 - in /root/virtualmin-install.log

Thanks again for your time…

Howdy,

I did some testing on the mirrors in your sources.list file, and I don’t seem to be able to connect to some of them.

That may explain why the install is failing, it may not be able to find a place to download the dependencies Virtualmin is looking for.

My suggestion would be to try a different set of mirrors, and see if things work better at that point.

-Eric

Hello again, Eric… and thanks a lot for your time. I have not been able to make it work and I’m very interested in use virtualmin…

I’ve changed some of the repositories in my sources.list file with no result. E.g., if I uncomment all hardy-security repositories like this:

deb http://update.onlinehome-server.info/ubuntu/ hardy-security main restricted

deb-src http://update.onlinehome-server.info/ubuntu/ hardy-security main restricted

deb http://update.onlinehome-server.info/ubuntu/ hardy-security universe

deb-src http://update.onlinehome-server.info/ubuntu/ hardy-security universe

deb http://update.onlinehome-server.info/ubuntu/ hardy-security multiverse

deb-src http://update.onlinehome-server.info/ubuntu/ hardy-security multiverse

#deb http://archive.ubuntu.com/ubuntu lucid main restricted multiverse

deb http://download.webmin.com/download/repository sarge contrib

deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib

I get this error messege:


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…

.E: Broken packages

/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:

Building dependency tree…

Reading state information…

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:
virtualmin-base: Depends: apache2-suexec-custom but it is not installable
Depends: php5-cgi but it is not going to be installed

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


I don’t know what I’m doing wrong. Looks like the problem is in this file, but I don’t see it.

Sorry, Eric… what do you mean when you say ‘try a different set of mirrors’? Simply try to comment or uncomment the repositories of the ‘sources.list’ file, or write a diferent ‘sources.list’ file? I think that is the original file.
Thank you very much for your time… I’ll continue trying it…

Howdy,

My recommendation is to make sure none of your mirrors is using “update.onlinehome-server.info” – that particular mirror doesn’t seem to be working correctly.

-Eric

Hello again, Eric… I’ve replaced the file sources.list by another one from a ‘clean’ ubuntu 10.04 and it looks to works fine.
I’ve yet installed virtualmin, but now I’ve some troubles whith disk quotes… I’ll continue…

Thanks again for your time…

wrong places sorry…