Error installing Pro on Ubuntu 12.04


I’m attempting an install of the Pro version of Virtualmin on a Ubuntu 12.04 system but am running into an error I can’t work around. Any help on this matter available would be appreciated.

Below is part of the output.

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…
…No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
.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-virtual-server-theme (from …/webmin-virtual-server-theme_8.7_all.deb) …
This Webmin module is already installed on your system.
dpkg: error processing /var/cache/apt/archives/webmin-virtual-server-theme_8.7_all.deb (–unpack):
subprocess new pre-installation script returned error exit status 1
Selecting previously unselected package webmin-virtualmin-awstats.
Unpacking webmin-virtualmin-awstats (from …/webmin-virtualmin-awstats_4.9_all.deb) …
Selecting previously unselected package webmin-virtualmin-htpasswd.
Unpacking webmin-virtualmin-htpasswd (from …/webmin-virtualmin-htpasswd_2.6_all.deb) …
Selecting previously unselected package webmin-virtualmin-mailman.
Unpacking webmin-virtualmin-mailman (from …/webmin-virtualmin-mailman_6.2_all.deb) …
Selecting previously unselected package virtualmin-base.
Unpacking virtualmin-base (from …/virtualmin-base_1.0-33vm_all.deb) …
Errors were encountered while processing:
WARN - apt-get seems to have failed. Are you sure your OS and version is supported?

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


Hmm, that’s an odd error… I haven’t run into that before!

Poking around on Google, it sounds like that means apt/dpkg is crashing for some reason.

Is this by chance an OpenVZ-based VPS? We’ve seen some unusual issues on OpenVZ.

Also, what does the command “df -h” output?

Additionally, you can see an AskUbuntu question on what that issue is here:

The system in running on VMware vSphere.

root@indus:~# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 9.4G 3.2G 5.9G 35% / udev 493M 12K 493M 1% /dev tmpfs 201M 284K 200M 1% /run none 5.0M 0 5.0M 0% /run/lock none 501M 0 501M 0% /run/shm /dev/sdb1 25G 17G 6.6G 73% /data1

I had read the AskUbuntu article as well but don’t thinks its relevant as our kernel list only has a couple entries in it.

Just thought I’d post this in case anyone else runs into the same issue.

I ran:

dpkg-reconfigure -a

and it seemed to correct whatever issue there was with the packages database.