Menu

#5167 PERL dependency not recognized after it is installed

1.890
open
nobody
None
5
2018-07-27
2018-07-24
No

opensuse LEAP 15.0
linux 4.12.14-lp150.12.4-default x86_64
perl v5.26.1

$ rpm -i webmin-1.890-1.noarch.rpm
error: Failed dependencies:
perl(Encode::Detect) is needed by webmin-1.890-1.noarch

$ cpan Encode::Detect
... blah blah blah ...
Encode::Detect is up to date (1.01).

$ rpm -i webmin-1.890-1.noarch.rpm
error: Failed dependencies:
perl(Encode::Detect) is needed by webmin-1.890-1.noarch

I suspect that Encode::Detect is not the real culprit here.

Discussion

  • Jamie Cameron

    Jamie Cameron - 2018-07-25

    Can you try installing Encode::Detect from an RPM package using whatever command SuSE has for this?

     
    • James M. Moe

      James M. Moe - 2018-07-27

      On 07/25/2018 03:24 PM, Jamie Cameron wrote:

      Can you try installing Encode::Detect from an RPM package using whatever
      command SuSE has for this?


      perl v5.26.1
      Here is the result

      $ zypper install
      /t/jimstuff/web-progs/perl-Encode-Detect-1.01-24.11.x86_64.rpm
      Loading repository data...
      Reading installed packages...
      Resolving package dependencies...

      Problem: nothing provides perl(:MODULE_COMPAT_5.18.2) needed by
      perl-Encode-Detect-1.01-24.11.x86_64
      Solution 1: do not install perl-Encode-Detect-1.01-24.11.x86_64
      Solution 2: break perl-Encode-Detect-1.01-24.11.x86_64 by ignoring some
      of its dependencies

      Choose from above solutions by number or cancel [1/2/c] (c): 1
      Resolving dependencies...
      Resolving package dependencies...

      Nothing to do.
      ----[ end ]----

      I am rather confused. When Encode::Detect is installed with cpan,
      there is no problem. The RPM installation expects an earlier version of
      PERL, and fails.

      --
      James Moe
      moe dot james at sohnen-moe dot com
      520.743.3936
      Think.

       
  • Ilia Rostovtsev

    Ilia Rostovtsev - 2018-07-27

    Maybe package version mismatch?

    Check it out:
    https://software.opensuse.org/package/perl-Encode-Detect

     
    • James M. Moe

      James M. Moe - 2018-07-27

      On 07/27/2018 01:00 PM, Ilia Rostovtsev wrote:

      Maybe package version mismatch?

      Yes, my mistake. I had downloaded the 42.3 version rather than the
      15.0. After installing the correct module, the webmin installation
      succeeded.
      Thank you.

      --
      James Moe
      moe dot james at sohnen-moe dot com
      520.743.3936
      Think.

       

Log in to post a comment.

MongoDB Logo MongoDB