Koozali.org: home of the SME Server

Fakeprovide, satisfy yum dependencies with fakes

guest22

Fakeprovide, satisfy yum dependencies with fakes
« on: March 21, 2017, 05:39:33 PM »
FYI

Fakeprovide lets you satisfy RPM dependencies by creating a wrapper package that provides the named dependency of your choice. You can use this if you are working with a package from a third party that for some reason has non-critical unsatisfied dependencies.

https://github.com/larsks/fakeprovide

*** USE AT YOUR OWN RISK ***

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Fakeprovide, satisfy yum dependencies with fakes
« Reply #1 on: March 21, 2017, 05:58:51 PM »
mmmhh... it's something quite old AFACT..

I suggest to report here (and in bugzilla too) all unsatisfied deps, so that we can find the right package

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Fakeprovide, satisfy yum dependencies with fakes
« Reply #2 on: March 21, 2017, 06:44:01 PM »
I don't really understand the use case. If you really need to install something with unsatisfied deps (which should only be done if you know what you're doing), you can already use rpm --nodeps -Uvh /path/to/rpm
C'est la fin du monde !!! :lol:

guest22

Re: Fakeprovide, satisfy yum dependencies with fakes
« Reply #3 on: March 21, 2017, 06:45:17 PM »
I don't really understand the use case. If you really need to install something with unsatisfied deps (which should only be done if you know what you're doing), you can already use rpm --nodeps -Uvh /path/to/rpm


Wouldn't that bypass yum's db if you use rpm instead?

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Fakeprovide, satisfy yum dependencies with fakes
« Reply #4 on: March 21, 2017, 07:07:35 PM »
Which isn't a problem. yum will just print a warning about a transaction done outside of itself.
C'est la fin du monde !!! :lol:

guest22

Re: Fakeprovide, satisfy yum dependencies with fakes
« Reply #5 on: March 21, 2017, 07:09:06 PM »
Ok, anyways, I was struggling with certain rpm's that were not satisfied, one of them required nginx, so I faked it. Thx.