Menu

upgrading to 1.850 from 1.840 fails due to perl perl(Encode::Detect) missing dependency

Webmin
2017-06-29
2017-07-01
  • Rich Painter

    Rich Painter - 2017-06-29

    OS is CentOs 5.11, 32 bit, kernel 2.6.18-419.el5PAE #1 SMP
    Running fine with webmin 1.840
    upgrading to 1.850 fails with
    --> Running transaction check
    ---> Package webmin.noarch 0:1.850-1 set to be updated
    --> Processing Dependency: perl(Encode::Detect) for package: webmin
    --> Finished Dependency Resolution
    webmin-1.850-1.noarch from Webmin has depsolving problems
    --> Missing Dependency: perl(Encode::Detect) is needed by package webmin-1.850-1.noarch (Webmin)
    Error: Missing Dependency: perl(Encode::Detect) is needed by package webmin-1.850-1.noarch (Webmin)

    uninstalled webmin 1.840
    yum install webmin fails with the same error for 1.850
    tried yum clean all
    no change when attempting to yum install (1.850) again.

    I have the "standard" perl installed that comes with CentOs 5.11 but I can't see in the list of packages anything that resembles perl(Encode::Detect). If someone knows which "perl" package this component resides I can try re-installing that one...

    Suggestions to fix would be greatly appreciated.

    thanks
    rich

     
  • Al McCann

    Al McCann - 2017-07-01

    In Centos 7 it's the "perl-Encode-Detect" rpm in the base repo, not sure if 5 has that or not, Epel should have it if the base repo does not.

    I'm sure that you are aware of this, but Centos 5.x has gone End of Life, and is no longer supported.

     
    • Rich Painter

      Rich Painter - 2017-07-03

      I understand the EoL with CentOS 5. BUT an important amateur radio system only runs on Centos 5 and it is used around the world on these radio servers. We are stuck with C5.

      Many of us have been using webmin to manage these systems. Many of these systems are in high mountain remote locations where using webmin is a big help.

      Several important new items to report...

      1. I get the same dependency error when attempting to install webmin 1.840! I dont understand this since I had no problem upgrading from an earlier webmin TO 1.840... So 1.840 worked.... BUT I can't go back to 1.840 because I get this same error as with 1.850.

      2. I took a blank server and installed centos 5.11 (last of the 5) and ran all the updates. Then tried to install webmin and I get the same error.

      3. I monkeyed around with trying different perl attempts to install parts that might help. No luck but I was shotgunning it since I can't really find the specific component that it is asking for.

      4. Because the centos 5 has gone EoL it is hard to find the repos. Maybe the EPEL repo is missing this piece?

      How did 1.840 work in the past if 1.840 won't work now?

      So, we are stuck on Centos 5.x and now webmin apparently any version will not now work. This is really bad and we need this fixed or some instructions on a work around.

      Edit:
      Because many of the repos have "moved" something is not working with yum/rpm with respect to EPEL. Apparently it was working BEFORE the EoL on 3 April. Contrary to the ascertions by the fedora powers the EPEL repo has to be manually edited to find the new location... Even when I did this the dependency for this perl module does not resolve and get pulled from EPEL. I can see the module in the "new" repo.... it is here https://dl.fedoraproject.org/pub/archive/epel/5/i386/perl-Encode-Detect-1.00-4.el5.i386.rpm I just have to figure out how to get yum to suck this in when trying to install 1.840 or 1.850. Any suggestions are welcomed.

      I tried this:
      wget https://dl.fedoraproject.org/pub/archive/epel/5/i386/perl-Encode-Detect-1.00-4.el5.i386.rpm
      rpm -Uh perl-Encode-Detect-1.00-4.el5.i386.rpm
      which worked

      then yum install webmin. but this had errors:
      Downloading Packages:
      webmin-1.850-1.noarch.rpm | 27 MB 00:52
      Running rpm_check_debug
      Running Transaction Test
      Finished Transaction Test
      Transaction Test Succeeded
      Running Transaction
      Operating system is CentOS Linux
      Port 10000 is already in use
      Error in PREIN scriptlet in rpm package webmin-1.850-1.noarch
      error: %pre(webmin-1.850-1.noarch) scriptlet failed, exit status 2
      error: install: %pre scriptlet failed (2), skipping webmin-1.850-1

      Failed:
      webmin.noarch 0:1.850-1

      Complete!

      How do I interpret this? Did it install or not? and what is this scrange error?

      regards
      rich

       

      Last edit: Rich Painter 2017-07-03
      • Al McCann

        Al McCann - 2017-07-08

        To see what is hogging port 10000, do:

        netstat -tanp | grep 10000

        On my system (C7) that is shown as

        tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 3384/perl

        which is the webmin process.

        If it shows perl, then do

        service wemin stop

        and try the upgade again.

         
  • Jan Grill

    Jan Grill - 2017-07-03

    Google search for "perl encode detect centos 5" gives many links for download missing rpm package, so may be one of them will be the right. For my Centos 6.9 was this way for obtaining missing perl package successfull.
    Jan

     

Log in to post a comment.

MongoDB Logo MongoDB