Virtualmin install problem

Hello,
I am trying to install Virtualmin from automated script on Ubuntu 12.04 (new VPS) but there are some errors :

INFO - 2014-11-25 11:14:23 - Started installation log in /root/virtualmin-install.log DEBUG - 2014-11-25 11:14:23 - Install mode: full DEBUG - 2014-11-25 11:14:23 - Product: Virtualmin GPL DEBUG - 2014-11-25 11:14:23 - Virtualmin Meta-Package list: virtualmin-base DEBUG - 2014-11-25 11:14:23 - install.sh version: 1.1.1 INFO - 2014-11-25 11:14:23 - Checking for fully qualified hostname... INFO - 2014-11-25 11:14:23 - Hostname OK: fully qualified as vps118032.ovh.net INFO - 2014-11-25 11:14:23 - Installing serial number and license key into /etc/virtualmin-license INFO - 2014-11-25 11:14:23 - Loading OS selection library... INFO - 2014-11-25 11:14:23 - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded. INFO - 2014-11-25 11:14:23 - Loading OS list... INFO - 2014-11-25 11:14:23 - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded. INFO - 2014-11-25 11:14:24 - Operating system name: Ubuntu Linux INFO - 2014-11-25 11:14:24 - Operating system version: 12.04.5 INFO - 2014-11-25 11:14:24 - Configuring package manager for Ubuntu Linux 12.04.5... INFO - 2014-11-25 11:14:24 - Enabling universe repositories, if not already available... INFO - 2014-11-25 11:14:24 - Disabling cdrom repositories... INFO - 2014-11-25 11:14:27 - Cleaning up apt headers and packages, so we can start fresh... INFO - 2014-11-25 11:14:27 - INFO - 2014-11-25 11:14:28 - Download of http://software.virtualmin.com/lib/apt.conf.noninteractive Succeeded. INFO - 2014-11-25 11:14:28 - Installing Webmin and Virtualmin package signing keys... INFO - 2014-11-25 11:14:28 - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin Succeeded. INFO - 2014-11-25 11:14:28 - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin Succeeded. INFO - 2014-11-25 11:14:28 - OK INFO - 2014-11-25 11:14:28 - OK INFO - 2014-11-25 11:14:33 - Hit INFO - 2014-11-25 11:14:33 - Removing Debian standard Webmin package, if they exist... INFO - 2014-11-25 11:14:33 - Removing Debian apache packages... DEBUG - 2014-11-25 11:14:33 - INFO - 2014-11-25 11:14:33 - Installing dependencies using command: /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install 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 FATAL - 2014-11-25 11:14:34 - Fatal Error Occurred: Something went wrong during installation: 0 FATAL - 2014-11-25 11:14:34 - Cannot continue installation. FATAL - 2014-11-25 11:14:34 - Attempting to remove virtualmin repository configuration, so the installation can be FATAL - 2014-11-25 11:14:34 - re-attempted after any problems have been resolved. FATAL - 2014-11-25 11:14:34 - Removing temporary directory and files. FATAL - 2014-11-25 11:14:34 - If you are unsure of what went wrong, you may wish to review the log FATAL - 2014-11-25 11:14:34 - in /root/virtualmin-install.log

Solved !
dpkg --configure -a then apt-get -f install