I had some system updates that I ran using Webmin. After the updates finished Webmin was no longer running and I never able to get it running again because somehow the /etc/webmin/miniserv.conf file (or rather the webmin directory no longer existed). I am guessing as I wasn't paying attention to the installs that webmin was uninstalled by the package updates.
Now I am trying to reinstall Webmin but am running into issues:
root@fenrir:~/tmp# dpkg -i webmin*.deb
Selecting previously unselected package webmin.
(Reading database ... 171219 files and directories currently installed.)
Preparing to unpack webmin_1.770_all.deb ...
Unpacking webmin (1.770) ...
dpkg: dependency problems prevent configuration of webmin:
webmin depends on libnet-ssleay-perl; however:
Package libnet-ssleay-perl is not installed.
webmin depends on libauthen-pam-perl; however:
Package libauthen-pam-perl is not installed.
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 package webmin (--install):
dependency problems - leaving unconfigured
Processing triggers for systemd (228-2) ...
Errors were encountered while processing:
webmin
root@fenrir:~/tmp# apt-get install libnet-ssleay-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libnet-ssleay-perl : Depends: perlapi-5.20.2
webmin : Depends: libauthen-pam-perl but it is not going to be installed
Depends: libio-pty-perl but it is not going to be installed
Depends: apt-show-versions but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@fenrir:~/tmp# apt-get install libauthen-pam-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libauthen-pam-perl : Depends: perlapi-5.20.0
webmin : Depends: libnet-ssleay-perl but it is not going to be installed
Depends: libio-pty-perl but it is not going to be installed
Depends: apt-show-versions but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@fenrir:~/tmp# apt-get install libio-pty-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libio-pty-perl : Depends: perlapi-5.20.2
webmin : Depends: libnet-ssleay-perl but it is not going to be installed
Depends: libauthen-pam-perl but it is not going to be installed
Depends: apt-show-versions but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@fenrir:~/tmp# apt-get install apt-show-versions
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
apt-show-versions : Depends: libapt-pkg-perl (>= 0.1.21) but it is not going to be installed
webmin : Depends: libnet-ssleay-perl but it is not going to be installed
Depends: libauthen-pam-perl but it is not going to be installed
Depends: libio-pty-perl but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@fenrir:~/tmp# apt-get install libapt-pkg-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libapt-pkg-perl : Depends: perlapi-5.20.2
webmin : Depends: libnet-ssleay-perl but it is not going to be installed
Depends: libauthen-pam-perl but it is not going to be installed
Depends: libio-pty-perl but it is not going to be installed
Depends: apt-show-versions but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Here is my Debian version information:
root@fenrir:~/tmp# cat /etc/issue
Debian GNU/Linux stretch/sid \n \l
root@fenrir:~/tmp# cat /etc/debian_version
stretch/sid
root@fenrir:~/tmp# lsb_release -da
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 7.9 (wheezy)
Release: 7.9
Codename: wheezy
root@fenrir:~/tmp# hostnamectl
Static hostname: fenrir
Icon name: computer-vm
Chassis: vm
Machine ID: 0ce57212cf30f446c839874c5127d5dc
Boot ID: 6c13f6b4129b4d81897d74a92ecff949
Virtualization: kvm
Operating System: Debian GNU/Linux stretch/sid
Kernel: Linux 4.1.5-x86_64-linode61
Architecture: x86-64
Do you have any special APT configuration or pinning on your system that is holding back some packages? It looks like the real issue here is that packages like
apt-show-versionsaren't installing.Nothing is being held back. I'm dealing with the fact that the perl update has components that can't be updated because they rely on older versions that were installed on the system. Just updated my package list this morning and was finally able to get those perl item reinstalled and thus webmin was finally able to be reinstalled.
Ok, sounds like this is fixed then.
I have a half-dozen servers running webmin successfully. However, after a recent install of Xubuntu 16.04 on a different machine, I am unable to install webmin there due to:
"The following packages have unmet dependencies:
webmin : Depends: libauthen-pam-perl but it is not installable
Depends: apt-show-versions but it is not installable
E: unable to correct problems, you have held broken packages.
I tried installing apt-show-versions, but got:
E: Package 'apt-show-versions' has no installation candidate
I have run all the aptitude cleanup utilities, and it reports no problems.
Any suggestions appreciated.