I'm new here and am debugging something I've never seen before, so I'm hoping someone can show me where I'm going wrong.
I've created a local yum repo for all my servers. The idea is to distribute any custom built internal RPMs (our application) or other packages that aren't in other external repos. The first external package I'm testing is nxlog. I downloaded the RPM from the download page and dropped it into my repo.
The problem I'm hitting is that when I try to install the package via yum, one of the dependencies is checked differently vs. installing via RPM from the HTTP URL to the RPM itself.
Here's what happens via yum:
$ yum -q deplist nxlog-ce|grep pcre dependency: pcre provider: pcre.i686 7.8-6.el6 provider: pcre.x86_64 7.8-6.el6 dependency: libpcre.so.1()(64bit)
Here's what happens via rpm:
$ rpm -qpR https://repo.mydomain.com/packages/nxlog/nxlog-ce-2.9.1347-1_rhel6.x86_64.rpm|grep pcre libpcre.so.0()(64bit) pcre
Notice that the libpcre check is different between yum and rpm. This causes the yum installation to fail and the rpm installation to succeed. This would be fine, but I want to use the ansible yum module to install all my local packages.
All the normal searching hasn't turned up anything useful and I'm not keen to create symlinks or anything as that's never going to be good for future operations.
Has anyone seen something like this before? What would cause it? The dependencies are defined in the RPM spec file, so I can't think of a reason the tools would do something different.