ondemand: Conflict with nginx installation

Hi, I am trying to install version 1.4. on a CentOS 7.6 where nginx is already installed but in version 12.

When I am trying to install ondemand, I see the following issue from yum:

# yum install ondemand
.....
Transaction check error:
  file /usr/lib64/perl5/vendor_perl/auto/nginx/nginx.so from install of nginx-100:1.14.0-1.p5.3.7.el7.x86_64 conflicts with file from package nginx-mod-http-perl-1:1.12.2-2.el7.x86_64
  file /usr/lib64/perl5/vendor_perl/nginx.pm from install of nginx-100:1.14.0-1.p5.3.7.el7.x86_64 conflicts with file from package nginx-mod-http-perl-1:1.12.2-2.el7.x86_64

I think the nginx-100:1.14.0-1.p5.3.7.el7.x86_64 rpm has not been built correctly. Is that a known issue?

Thanks.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 15 (9 by maintainers)

Most upvoted comments

Thanks! It’s solved. @treydock and @MorganRodgers, thanks for your help. It was very kind from you.

@Pierrelemoine Are you using nginx-mod-http-perl? We build nginx RPM using RPM build workflow from Passenger. The nginx RPM we deploy appears to provide those perl files needed so I would imagine it’s safe to first uninstall nginx-mod-http-perl unless you have some direct dependency on that specific version.

So we could possibly document possible conflicts, where did you install nginx-mod-http-perl from?