Updating perl modules used by OTRS

Moderator: crythias

Post Reply
cgl
Znuny newbie
Posts: 9
Joined: 15 Oct 2013, 23:37
Znuny Version: 4.0.23
Real Name: Charles Lambrecht
Company: University of Tennessee College of Vet Med

Updating perl modules used by OTRS

Post by cgl »

Hello,
I just upgraded OTRS on RH6 to 4.0.23 and all works. I'm looking to upgrade to 5 soon.
I noticed my cpan gives different version numbers of perl modules than the the otrs.CheckModules.pl. I'm at perl 5.10

What is the best practice or path to update the perl modules used by OTRS? I have a feeling I'm in the dark on how to manage different installations of perl on this system. Not a super RH type either.

Thanks,
Charles
----------
Charles Lambrecht
IT Manager
UT CVM
OTRS 3.2.17
Perl 5.10
MySQL 5.1.73
root
Administrator
Posts: 3965
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Updating perl modules used by OTRS

Post by root »

With an RHEL6 and enabled EPEL repository all required Perl modules can be installed via yum. As long there is no bug or security issue I would not update any module - especially by manually installing/compiling them.
Was there a specific reason to maintain some modules via cpan?
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
cgl
Znuny newbie
Posts: 9
Joined: 15 Oct 2013, 23:37
Znuny Version: 4.0.23
Real Name: Charles Lambrecht
Company: University of Tennessee College of Vet Med

Re: Updating perl modules used by OTRS

Post by cgl »

Hello,
It took awhile to remember, but I think I had to use cpan at some point to get some of the perl packages loaded/installed.

I have epel installed and it is listed as one of my repo's using yum repolist and is enabled.

But when I do (for example)
[root@utiacvmrh1 ~]# yum -y install "perl(Archive::Zip)"
Loaded plugins: product-id, refresh-packagekit, rhnplugin, search-disabled-
: repos, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
No package perl(Archive::Zip) available.
Error: Nothing to do

But, using otrs.CheckModules, I see:

o Archive::Zip.....................ok (v1.59)

I can get some of the packages I need via yum, but not all. I guess that package isn't in epel (I can't see it in the list) but it is in Cpan.
What repo am I missing?


Thanks,
Charles
----------
Charles Lambrecht
IT Manager
UT CVM
OTRS 3.2.17
Perl 5.10
MySQL 5.1.73
root
Administrator
Posts: 3965
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Updating perl modules used by OTRS

Post by root »

This is my result of

Code: Select all

yum info perl-Archive-Zip

Code: Select all

[root@mx1 ~]#
Installed Packages
Name        : perl-Archive-Zip
Arch        : noarch
Version     : 1.30
Release     : 2.el6
Size        : 300 k
Repo        : installed
From repo   : base
Summary     : Perl library for accessing Zip archives
URL         : http://search.cpan.org/dist/Archive-Zip/
License     : GPL+ or Artistic
Description : The Archive::Zip module allows a Perl program to create, manipulate,
            : read, and write Zip archive files.
            : Zip archives can be created, or you can read from existing zip files.
            : Once created, they can be written to files, streams, or strings.
            : Members can be added, removed, extracted, replaced, rearranged, and
            : enumerated.  They can also be renamed or have their dates, comments,
            : or other attributes queried or modified.  Their data can be compressed
            : or uncompressed as needed.  Members can be created from members in
            : existing Zip files, or from existing directories, files, or strings.
Looks like your version is really installed from cpan, I checked multiple systems EL6/EL7 and on all of them is Archive::Zip 1.30 installed via yum.
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
cgl
Znuny newbie
Posts: 9
Joined: 15 Oct 2013, 23:37
Znuny Version: 4.0.23
Real Name: Charles Lambrecht
Company: University of Tennessee College of Vet Med

Re: Updating perl modules used by OTRS

Post by cgl »

Hi,
Wow, yes, when I do the yum info perl-Archive-zip, I get no results. I've gone to out to the epel site /6/ and don't see it, but anyway, I do believe I've got perl somewhat mauled on my system. I've installed a lot of rpm's from the RH repository -others I've used cpan.

I guess I could download the rpm's from Cpan and then install them via yum?

Regards,
Charles
----------
Charles Lambrecht
IT Manager
UT CVM
OTRS 3.2.17
Perl 5.10
MySQL 5.1.73
Post Reply