OTRS5/RHEL-7 perl(Template), perl(XML::LibXSLT) error

Moderator: crythias

Locked
pituca
Znuny advanced
Posts: 131
Joined: 09 Jan 2013, 02:50
Znuny Version: 5.0.9
Company: OmniRedes

OTRS5/RHEL-7 perl(Template), perl(XML::LibXSLT) error

Post by pituca »

Hello team,

Im trying to install OTRS 5 on RHEL-7 and and getting this dependency error and cant find the way to solve it. I have installed the EPEL repository, had ran "yum update" and up to now no success.

Code: Select all

--> Finished Dependency Resolution
Error: Package: otrs-5.0.7-01.noarch (/otrs-5.0.7-01.noarch)
           Requires: perl(Template)
Error: Package: otrs-5.0.7-01.noarch (/otrs-5.0.7-01.noarch)
           Requires: perl(XML::LibXSLT)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
I had tried to install using:
and
yum install --nogpgcheck otrs-5.0.7-01.noarch.rpm with the rpm package already downloaded
These are the repositories I have enabled
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
repo id repo name status
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 9,433
rhui-REGION-client-config-server-7/x86_64 Red Hat Update Infrastructure 2.0 Client Configuration Server 7 6
rhui-REGION-rhel-server-releases/7Server/x86_64 Red Hat Enterprise Linux Server 7 (RPMs) 10,330
rhui-REGION-rhel-server-rh-common/7Server/x86_64 Red Hat Enterprise Linux Server 7 RH Common (RPMs) 168
repolist: 19,937
Any help will be appreciated.

Ruben
OTRS 5.0.9, , ITSM 5.0.9, MySQL, Ubuntu 14.04, Apache2
jjurkus
Znuny newbie
Posts: 54
Joined: 29 Jan 2016, 15:36
Znuny Version: 6.0.17

Re: OTRS5/RHEL-7 perl(Template), perl(XML::LibXSLT) error

Post by jjurkus »

With CentOS 7 perl-XML-LibXSLT is included in the base repository.

What's the output of these commands?

Code: Select all

#yum list installed | grep XSLT
# yum search XSLT
I install with this command, --nogpgcheck isn't needed?

Code: Select all

yum install ./otrs-5.0.7-01.noarch.rpm
OTRS 6.0.x on CentOS 7 with a PostgreSQL database.
pituca
Znuny advanced
Posts: 131
Joined: 09 Jan 2013, 02:50
Znuny Version: 5.0.9
Company: OmniRedes

Re: OTRS5/RHEL-7 perl(Template), perl(XML::LibXSLT) error

Post by pituca »

Hi jjurkus,

For
yum list installed | grep XSLT
the output was empty and for
yum search XSLT
here it is.
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
========================================================= N/S matched: XSLT =======
libxslt.i686 : Library providing the Gnome XSLT engine
libxslt.x86_64 : Library providing the Gnome XSLT engine
libxslt-devel.i686 : Development files for libxslt
libxslt-devel.x86_64 : Development files for libxslt
mingw32-libxslt.noarch : MinGW Windows Library providing the Gnome XSLT engine
mingw32-libxslt-static.noarch : Static version of the MinGW Windows LibXSLT library
mingw64-libxslt.noarch : MinGW Windows Library providing the Gnome XSLT engine
mingw64-libxslt-static.noarch : Static version of the MinGW Windows LibXSLT library
uwsgi-plugin-xslt.x86_64 : uWSGI - Plugin for XSLT transformation support
python-lxml.x86_64 : ElementTree-like Python bindings for libxml2 and libxslt
xalan-c.x86_64 : Xalan XSLT processor for C
xalan-j2.noarch : Java XSLT processor

Name and summary matches only, use "search all" for everything.
Just ran the install again with
yum install ./otrs-5.0.7-01.noarch.rpm
and the result was the same. :(
OTRS 5.0.9, , ITSM 5.0.9, MySQL, Ubuntu 14.04, Apache2
jjurkus
Znuny newbie
Posts: 54
Joined: 29 Jan 2016, 15:36
Znuny Version: 6.0.17

Re: OTRS5/RHEL-7 perl(Template), perl(XML::LibXSLT) error

Post by jjurkus »

Yes, well, the perl-XML-LibXSLT is missing in RHEL7.. or so it seems when looking at the rpm search websites, and this red hat documentation:
https://access.redhat.com/documentation ... _Manifest/

Ah, luckily there is a solution! viewtopic.php?t=27999
Isn't it stupid what results google give you when searching? "rhel7" otrs vs. rhel7 otrs.

Also look here: https://access.redhat.com/discussions/1405933


In short, try this:

Code: Select all

# subscription-manager repos --enable=rhel-7-server-optional-rpms
OTRS 6.0.x on CentOS 7 with a PostgreSQL database.
pituca
Znuny advanced
Posts: 131
Joined: 09 Jan 2013, 02:50
Znuny Version: 5.0.9
Company: OmniRedes

Re: OTRS5/RHEL-7 perl(Template), perl(XML::LibXSLT) error

Post by pituca »

Thank you, let me take a look and come back with the results...
OTRS 5.0.9, , ITSM 5.0.9, MySQL, Ubuntu 14.04, Apache2
pituca
Znuny advanced
Posts: 131
Joined: 09 Jan 2013, 02:50
Znuny Version: 5.0.9
Company: OmniRedes

Re: OTRS5/RHEL-7 perl(Template), perl(XML::LibXSLT) error

Post by pituca »

When I issue the commad
subscription-manager repos --enable=rhel-7-server-optional-rpms
I get this message:
This system has no repositories available through subscriptions.
If I check for the subscription status, I have this:
# subscription-manager status
+-------------------------------------------+
System Status Details
+-------------------------------------------+
Overall Status: Unknown

[root@ip-172-31-61-217 opt]#
What it could be?
OTRS 5.0.9, , ITSM 5.0.9, MySQL, Ubuntu 14.04, Apache2
jjurkus
Znuny newbie
Posts: 54
Joined: 29 Jan 2016, 15:36
Znuny Version: 6.0.17

Re: OTRS5/RHEL-7 perl(Template), perl(XML::LibXSLT) error

Post by jjurkus »

It's something related to RHEL. I have no idea how they work, but it has probably something to do with support contracts.
If you feel you are entitled to a subscription you'd better contact your support contact or the one who has set you up with this RHEL instance.

Stupid workaround: add those RHEL repositories by hand, and if that doesn't work then add the CentOS repositories! :lol:

Maybe consider moving to CentOS, or another distro, because it doesn't sound like you have years of experience and need to support 50k clients. No offense intended, of course. Going RHEL just might make things more complex. Perhaps RHEL users have a different opinion.
OTRS 6.0.x on CentOS 7 with a PostgreSQL database.
pituca
Znuny advanced
Posts: 131
Joined: 09 Jan 2013, 02:50
Znuny Version: 5.0.9
Company: OmniRedes

Re: OTRS5/RHEL-7 perl(Template), perl(XML::LibXSLT) error

Post by pituca »

man you are being just realist and your point give me light. In fact Im trying to setup OTRS on RHEL-7 which I have been using for a several years and never before encounter these issue with the previous versions.

Now I will make a research to see if I can do that manually otherwise I will move on from RHEL-7.

Many thank you for yours support.
OTRS 5.0.9, , ITSM 5.0.9, MySQL, Ubuntu 14.04, Apache2
EXG133
Znuny expert
Posts: 217
Joined: 06 Aug 2012, 18:12
Znuny Version: 3.1.7 & 4.04

Re: OTRS5/RHEL-7 perl(Template), perl(XML::LibXSLT) error

Post by EXG133 »

You cannot add the official repos without a valid subscription. And if you can't use the official RedHat repo's ... might as well use CentOS.
pituca
Znuny advanced
Posts: 131
Joined: 09 Jan 2013, 02:50
Znuny Version: 5.0.9
Company: OmniRedes

Re: OTRS5/RHEL-7 perl(Template), perl(XML::LibXSLT) error

Post by pituca »

Thank you EXG133

I already switched to Ubuntu Server.
OTRS 5.0.9, , ITSM 5.0.9, MySQL, Ubuntu 14.04, Apache2
Locked