Issue with Perl file missing when installing Cloudmin

9 posts / 0 new
Last post
#1 Sun, 06/10/2012 - 23:24
chiefguerra

Issue with Perl file missing when installing Cloudmin

Hello, I'm trying to install Cloudmin but if fails because it's trying to find libdigest-sha1-perl. I looked online and this file is not within the Ubuntu 12.04, is there a fix for this? or a work around it to install Cloudmin.

I really would appreciate the help with this matter.

Thanks, Ben

Mon, 06/11/2012 - 09:36
andreychek

Hmm, reading this Launchpad bug report:

https://bugs.launchpad.net/ubuntu/+source/libdigest-sha1-perl/+bug/993648

It sounds like they're saying that the functionality is now provided by the "libdigest-sha-perl" package, which is part of perl-base.

It sounds like that may require some tweaks in Cloudmin. Could you file a bug report, using the "Support" link above -- and then Jamie will be able to add the appropriate tweaks.

Thanks!

-Eric

Sun, 08/05/2012 - 04:53 (Reply to #2)
netizen

Has this been fixed? I am facing the same issue and I cannot proceed to setup a new server :(

Sun, 08/05/2012 - 06:20
aubs

I had the same problem.

A possible workaround ...

Install Webmin as normal.

Try and install Cloudmin (- It failed for me, don't know if you need to do this step).

Log in to Webmin (https://YourServer:10000/)

Click on All installed packages are up to date from the 'Package updates' section.

From 'States to display', select Only new.

In 'Find packages matching', type in Cloudmin and click Search.

This should give you the option to install Cloudmin.

Sun, 08/05/2012 - 10:22
netizen

Thanks for the reply but.... >

"No new packages for installation were found"

Are you actually running Ubuntu 12.04 with Cloudmin without issues?

Sun, 08/05/2012 - 10:56 (Reply to #5)
aubs

NOTE: Towards the bottom step by step example how you might be able to install.

I'm running 12.04, but I keep getting an issue which I've posted about in a separate post,

http://www.virtualmin.com/node/22983

When it searched for 'States to display', select Only new, it found the following:

Package name webmin-server-manager
Update system APT
Package description Webmin module for 'Cloudmin GPL for KVM'
Current state Running latest 6.4.kvm
Installed version 6.4.kvm
Available version 6.4.kvm
Installation source Virtualmin

Uninstalling, I get:

The following modules have been successfully deleted from your Webmin installation :
Cloudmin GPL for KVM in /usr/share/webmin/server-manager (6896 kB)

On trying to re-install, I get what you get! :(

Looking at the log from when I installed previously, it shows:

Building complete list of updates ..
Now installing webmin-server-manager ..
Installing package(s) with command apt-get -y install webmin-server-manager ..

Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  linux-headers-3.2.0-23-generic linux-headers-3.2.0-23
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  webmin-server-manager
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1295 kB of archives.
After this operation, 7168 B of additional disk space will be used.
Get:1 http://cloudmin.virtualmin.com/kvm/debian/ binary/ webmin-server-manager 6.4.kvm [1295 kB]
Fetched 1295 kB in 1s (700 kB/s)
Selecting previously unselected package webmin-server-manager.
(Reading database ... 177090 files and directories currently installed.)
Unpacking webmin-server-manager (from .../webmin-server-manager_6.4.kvm_all.deb) ...
Setting up webmin-server-manager (6.4.kvm) ...
server-manager
.. install complete.

Ok, so I tried sudo apt-get install webmin-server-manager and it says webmin-server-manager is already the newest version..

I tried re-install from sudo ./cloudmin-kvm-debian-install.sh and got Unable to locate package libdigest-sha1-perl.

sudo reboot

sudo apt-get remove webmin-server-manager

Logged out of Webmin and back in.

Clicked on System Information on the left.

Clicked on All installed packages are up to date.

Clicked on Only new

Typed in cloudmin and pressed Search.

Found 1 matching packages ..
Select all. | Invert selection.
   Package   Description   Status   Source  
webmin-server-manager Webmin module for 'Cloudmin GPL for KVM' Available for installation Virtualmin
Sun, 08/05/2012 - 11:24
netizen

I am not getting that and most probably because I am using XEN and not KVM. I don't know.....I'm very frustrated

Sun, 08/05/2012 - 12:11
aubs

Might have it for you.

sudo apt-get remove webmin-server-manager

wget http://cloudmin.virtualmin.com/gpl/debian/binary/webmin-server-manager_6.4.gpl_all.deb

sudo dpkg -i webmin-server-manager_6.4.gpl_all.deb

..............

Refresh Webmin Modules (list on the left)

Re-load web browser.

Look in Webmin >> Cloudmin GPL for Xen

... Let me know if this helps.

Tue, 08/21/2012 - 12:36
r0bu

Well, i just edited the script at line 147 and changed libdigest-sha1-perl to libdigest-sha-perl. This fixed install script for me.

Topic locked