Installing Webmin on Debian...

jimphreak

[H]ard|Gawd
Joined
Nov 27, 2012
Messages
1,714
I'm trying to get webmin installed on ProxMox and I'm having some serious issues.

First I do the following after downloading the webmin installer and I get the following message:

root@pve:/options# dpkg -i webmin_1.750_all.deb

Selecting previously unselected package webmin.
(Reading database ... 31133 files and directories currently installed.)
Unpacking webmin (from webmin_1.750_all.deb) ...
dpkg: dependency problems prevent configuration of webmin:
webmin depends on libio-pty-perl; however:
Package libio-pty-perl is not installed.
webmin depends on apt-show-versions; however:
Package apt-show-versions is not installed.


dpkg: error processing webmin (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
webmin
So I then try and install the missing dependancy packages by typing apt-get install -f and get the following:

root@pve:/options# apt-get install -f

Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
webmin
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 146 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 55999 files and directories currently installed.)
Removing webmin ...
If I try to install the packages one by one I get the following:

root@pve:/options# apt-get install libio-pty-perl

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libio-pty-perl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source


E: Package 'libio-pty-perl' has no installation candidate

I feel like I'm going in circles here and nothing is working. What am I doing wrong?
 
Have you tried following the instructions for dependencies?

http://www.webmin.com/deb.html

Also, I would probably try installing it by using their apt repo (see "Using the Webmin APT repository"), which should solve the dependencies properly for you.
 
Have you tried following the instructions for dependencies?

http://www.webmin.com/deb.html

Also, I would probably try installing it by using their apt repo (see "Using the Webmin APT repository"), which should solve the dependencies properly for you.

+1 for repo install. Unless you're a bit of masochist and want to start to hunt the dependencies.
 
What exactly are you even trying to do here? Proxmox has its own GUI for managing the features of the system relevant to the hypervisor. If you're installing Webmin to manage a service, you should spin up a fresh Debian VM inside Proxmox, install your service, and then install Webmin on it. If you do that, you'll find Webmin will install seamlessly from the default repos.

The reason Webmin won't install on Proxmox out of the box is because Proxmox is a stripped down bare-metal Debian that's missing packages essential to installing more general packages (which should have been apparent from the missing apt-show-packages, a default component of Debian's APT stack). If you want to install it anyway, you'll need to add some new repos or compile it from source. Better yet, just don't do it at all, since it will provide only redundant functionality, will allow you to modify properties of the system that could cause Proxmox to unexpectedly break, and will add a wide attack surface to a distro that is fairly secure out of the box.
 
Back
Top