0

I need to install libguestfs on a CentOS/RHEL 7.2 server, and I ran into a snag in the dependency chain. When I try to yum localinstall hivex-1.3.10-5.7.el7.x86_64.rpm, it finds a dependency on "perl(Win::Hivex)" which, according to rpmfind.net, should be satisfied by perl-hivex-1.3.10-5.7.el7.x86_64.rpm (OpenSuSE distros satisfy the dependency with perl-Win-Hivex instead)...But the perl-hivex package depends on hivex!

How do I break out of this vicious cycle?

5
  • Are you using RHEL or CentOS? Why are you trying to install local copies of RPMs? And why on earth are you using rpmfind.net? Stay away from that crap if you value your systems. Commented Oct 13, 2016 at 18:51
  • It's a CentOS, but that shouldn't matter as the differences between RHEL and CentOS are extremely small. I have to install local rpms because the system is quarantined. I used rpmfind.net as a last recourse when I could not locate (in our package database) a package likely to supply "perl(Win::Hivex)".
    – Urhixidur
    Commented Oct 13, 2016 at 20:14
  • Sometimes it does matter between CentOS and RHEL. Your question was too ambiguous to determine whether it did in your case or not, which is why I asked. Anyway, that's a circular dependency all right. Did you try the obvious? Commented Oct 13, 2016 at 20:28
  • Probably not, or I wouldn't be asking. (Assuming it resolves the issue)
    – Urhixidur
    Commented Oct 13, 2016 at 20:51
  • Hmm. The obvious is installing both packages at the same time. Apparently not so obvious. Commented Oct 13, 2016 at 20:56

1 Answer 1

0

As Michael Hampton suggested (and also independently suggested by this other thread), passing both rpms to yum localinstall was the solution. Obvious in retrospect.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .