Virtualmin Cloudmin will not install error libdigest-sha1-perl on Ubuntu 12.04 Precise Pangolin
When recently installing Cloudmin on a server running Ubuntu 12.04 I came across an error saying that Cloudmin could not install due to libdigest-sha1-perl not being installed. Even if you try running apt-get install libdigest-sha1-perl you will not find it in any repositories because the version of Perl used for Ubuntu 12.04 already includes Digest::SHA. Nevertheless there are some applications that still call libdigest-sha1-perl, inlcuding Cloudmin. In order to install libdigest-sha1-perl you need to do a manual installation using the files below.
PREFACE: I got this error when attempting to install cloudmin with xen. After going further with the installation I found out there are a few problems running Xen with the AMD Bulldozer FX8150, and i’ve been able to get it to boot but still finding one issue after another. I’ve almost got most of the problems worked out, but for the sake of time i’m going to go straight to KVM. KVM is definately the way to go if you have the choice, so just keep that in mind if you’re installing Xen on an AMD Bulldozer.
Instructions for x86 (32 bit):
First we change to our /tmp directory, which is not necessary but just a personal preference, then wget the deb file from LaunchPad
1 |
sudo cd /tmp && wget http://launchpadlibrarian.net/85191561/libdigest-sha1-perl_2.13-2build2_i386.deb |
Install the deb file, -i is used for install, you can also use -r to remove if need be. Use sudo man dpkg for more information.
1 |
sudo dpkg -i libdigest-sha1-perl_2.13-2build2_i386.deb |
Instructions for x64 (64 bit):
First we change to our /tmp directory, which is not necessary but just a personal preference, then wget the deb file from LaunchPad
1 |
sudo cd /tmp && wget http://launchpadlibrarian.net/85191944/libdigest-sha1-perl_2.13-2build2_amd64.deb |
Install the deb file, -i is used for install, you can also use -r to remove if need be. Use sudo man dpkg for more information.
1 |
sudo dpkg -i libdigest-sha1-perl_2.13-2build2_amd64.deb |
This should install the missing dependency for Cloudmin, just restart the installation file and you should be good to go.
-
Bill