Hi, installing the RPM on a clean install of CentOS 7 (1611) minimal gives me the following error:
warning: webmin-current.rpm: Header V3 DSA/SHA1 Signature, key ID 11f63c51: NOKEY
error: Failed dependencies:
perl(Encode::Detect) is needed by webmin-1.840-1.noarch
Adding perl-Encode-Detect to the optional dependencies resolves the issue.
Installing Webmin using YUM repository works fine on CentOS 7 (1611) minimal.
This is expected - we added that module as a dependeny in the 1.840 release.
Thanks for the reply Jamie, perhaps the info for the optional dependencies on http://www.webmin.com/rpm.html can be updated to include the perl-Encode-Detect?
Good idea - I've done that
Hi,
Installing Webmin 1.850 on SUSE SLES 12 SP2, I am still receiving this dependency error:
error: Failed dependencies:
perl(Encode::Detect) is needed by webmin-1.850-1.noarch
SUSE does not provide an RPM based module for this perl function. I have however installed the Encode:Detect via cpanm Encode::Detect and therefore have the function availabe. Yet, I receive this dependency error.
That seems like an RPM bug if it's failing the dependency check even if the module is installed.
Do you get any error message if you run
perl -e "use Encode::Detect"No error running the perl -e "use Encode::Detect" command.
I should mention that this bug is similar to what is reported in bug #4960. https://sourceforge.net/p/webadmin/bugs/4960/
This seems like an RPM bug then - it should detect that the perl module is installed, even if it's from a different source.
Even though the module was not installed via an RPM? Seems to me that RPM will only know about RPM installed packages and not others. Since this package is not available via an RPM from my distribution, why not test for it via the method you oulined above rather than via RMP?
For me the only one solution is to install webmin 1.830 - where this dependency did not exist yet - and then run the update inside of webmin.
To install Webmin I have to install on top of the optional dependencies:
wget, unzip and perl-Data-Dumper
Meantime I installed perl-Encode-Detect but unsure it was necessary.
after that Webmin 1.194-1 on fresh CentOS 7 installed correctly.
It's recommended to have
perl-Encode-Detectpackage installed.Installing perl-Encode-Detect didn't help in my case I still needed to install perl-Data-Dumper to continue installing Webmin.
Last edit: Mrespin 2020-04-17