Menu

#4964 Failed dependencies: perl(Encode::Detect) is needed by webmin-1.840-1.noarch

1.840
closed-fixed
nobody
None
5
2020-04-17
2017-05-29
ZenithTeq
No

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.

Discussion

  • Jamie Cameron

    Jamie Cameron - 2017-05-29

    This is expected - we added that module as a dependeny in the 1.840 release.

     
  • ZenithTeq

    ZenithTeq - 2017-05-29

    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?

     
  • Jamie Cameron

    Jamie Cameron - 2017-05-29

    Good idea - I've done that

     
  • Jamie Cameron

    Jamie Cameron - 2017-05-29
    • status: open --> closed-fixed
     
  • Aria Bamdad

    Aria Bamdad - 2017-07-12

    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.

     
  • Jamie Cameron

    Jamie Cameron - 2017-07-13

    That seems like an RPM bug if it's failing the dependency check even if the module is installed.

     
  • Jamie Cameron

    Jamie Cameron - 2017-07-13

    Do you get any error message if you run perl -e "use Encode::Detect"

     
  • Aria Bamdad

    Aria Bamdad - 2017-07-13

    No error running the perl -e "use Encode::Detect" command.

     
  • Aria Bamdad

    Aria Bamdad - 2017-07-13

    I should mention that this bug is similar to what is reported in bug #4960. https://sourceforge.net/p/webadmin/bugs/4960/

     
  • Jamie Cameron

    Jamie Cameron - 2017-07-14

    This seems like an RPM bug then - it should detect that the perl module is installed, even if it's from a different source.

     
  • Aria Bamdad

    Aria Bamdad - 2017-07-14

    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?

     
  • Peter VARGA

    Peter VARGA - 2018-02-04

    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.

     
  • Mrespin

    Mrespin - 2020-04-17

    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.

     
  • Ilia

    Ilia - 2020-04-17

    It's recommended to have perl-Encode-Detect package installed.

     
  • Mrespin

    Mrespin - 2020-04-17

    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

Log in to post a comment.

MongoDB Logo MongoDB