Koozali.org: home of the SME Server

smeserver-GeoIP2 install perl issue

Offline smeghead

  • *
  • 557
  • +0/-0
smeserver-GeoIP2 install perl issue
« on: March 24, 2019, 06:45:03 PM »
Howdy brainstrust

Just built a fresh SME9.2, yum'd up to date, & then started adding my std contribs.

When I try to install using:  yum install smeserver-geoip2 --enablerepo=smecontribs,openfusion I get dependency errors that can be traced back to perl-App-cpanminus; these required me to download the perl rpms manually as yum couldn't resolve.

After working my way through the various dependencies I'm left with needing to update perl-ExtUtils-MakeMaker, current version is 6.55, it needs >= 6.58

Error: Package: perl-App-cpanminus-1.7006-1.el6.noarch (openfusion)
           Requires: perl(ExtUtils::MakeMaker) >= 6.58
           Installed: perl-ExtUtils-MakeMaker-6.55-144.el6.x86_64 (@anaconda-base-201704272247.x86_64/9.2)
               perl(ExtUtils::MakeMaker) = 6.55

When I scout around to find a newer version I find one in Openfusion, perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch.rpm

When I try to install this with yum I get a comment to say its an update to 6.55 & then it says nothing to do.

When I get a the rpm & try to install I get:

[root@gateway tmp]# rpm -ivh perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch.rpm
Preparing...                ########################################### [100%]
  file /usr/bin/instmodsh from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64
  file /usr/share/man/man1/instmodsh.1.gz from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64
  file /usr/share/man/man3/ExtUtils::Command::MM.3pm.gz from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64
  file /usr/share/man/man3/ExtUtils::Liblist.3pm.gz from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64
  file /usr/share/man/man3/ExtUtils::MM.3pm.gz from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64
  file /usr/share/man/man3/ExtUtils::MM_AIX.3pm.gz from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64
  file /usr/share/man/man3/ExtUtils::MM_Any.3pm.gz from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64
  file /usr/share/man/man3/ExtUtils::MM_BeOS.3pm.gz from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64
  file /usr/share/man/man3/ExtUtils::MM_Cygwin.3pm.gz from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64
  file /usr/share/man/man3/ExtUtils::MM_DOS.3pm.gz from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64
  file /usr/share/man/man3/ExtUtils::MM_Darwin.3pm.gz from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64
  file /usr/share/man/man3/ExtUtils::MM_MacOS.3pm.gz from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64
  file /usr/share/man/man3/ExtUtils::MM_NW5.3pm.gz from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64
  file /usr/share/man/man3/ExtUtils::MM_OS2.3pm.gz from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64
  file /usr/share/man/man3/ExtUtils::MM_QNX.3pm.gz from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64
  file /usr/share/man/man3/ExtUtils::MM_UWIN.3pm.gz from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64
  file /usr/share/man/man3/ExtUtils::MM_Unix.3pm.gz from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64
  file /usr/share/man/man3/ExtUtils::MM_VMS.3pm.gz from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64
  file /usr/share/man/man3/ExtUtils::MM_VOS.3pm.gz from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64
  file /usr/share/man/man3/ExtUtils::MM_Win32.3pm.gz from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64
  file /usr/share/man/man3/ExtUtils::MM_Win95.3pm.gz from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64
  file /usr/share/man/man3/ExtUtils::MY.3pm.gz from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64
  file /usr/share/man/man3/ExtUtils::MakeMaker.3pm.gz from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64
  file /usr/share/man/man3/ExtUtils::MakeMaker::Config.3pm.gz from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64
  file /usr/share/man/man3/ExtUtils::MakeMaker::FAQ.3pm.gz from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64
  file /usr/share/man/man3/ExtUtils::MakeMaker::Tutorial.3pm.gz from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64
  file /usr/share/man/man3/ExtUtils::Mkbootstrap.3pm.gz from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64
  file /usr/share/man/man3/ExtUtils::Mksymlists.3pm.gz from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64
  file /usr/share/man/man3/ExtUtils::testlib.3pm.gz from install of perl-ExtUtils-MakeMaker-6.98-1.of.el6.noarch conflicts with file from package perl-ExtUtils-MakeMaker-0:6.55-144.el6.x86_64

So what to do?

Could someone check this & see if they get the same result as me.

Ta muchly
..................

Offline Jean-Philippe Pialasse

  • *
  • 2,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: smeserver-GeoIP2 install perl issue
« Reply #1 on: March 25, 2019, 04:53:54 AM »
perl(ExtUtils::MakeMaker) >= 6.58 tells me  you have certainly missed an important step in the setting :
Code: [Select]
db yum_repositories delprop openfusion Exclude
signal-event yum-modify

You may then go ahead with the following to either install or update a v2 DB package

Code: [Select]
yum install smeserver-geoip2 --enablerepo=smecontribs,openfusion
yum update --enablerepo=smecontribs,openfusion
config set UnsavedChanges no

source: https://wiki.contribs.org/GeoIP#Fresh_Installation_of_geoip_v2_DBs


Offline smeghead

  • *
  • 557
  • +0/-0
Re: smeserver-GeoIP2 install perl issue
« Reply #2 on: March 27, 2019, 03:41:46 AM »
Thanks JPP, I'm such a muppett missing the Exclude off the line was the issue.

I will appropriately chastise myself :)
..................

Offline Jean-Philippe Pialasse

  • *
  • 2,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: smeserver-GeoIP2 install perl issue
« Reply #3 on: March 27, 2019, 11:26:54 AM »
Do not be too rude with yourself, this is quite an uncommon trick for a contrib. ;)