Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: guest22 on March 21, 2017, 05:39:33 PM

Title: Fakeprovide, satisfy yum dependencies with fakes
Post by: guest22 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 (https://github.com/larsks/fakeprovide)

*** USE AT YOUR OWN RISK ***
Title: Re: Fakeprovide, satisfy yum dependencies with fakes
Post by: Stefano 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
Title: Re: Fakeprovide, satisfy yum dependencies with fakes
Post by: Daniel B. 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
Title: Re: Fakeprovide, satisfy yum dependencies with fakes
Post by: guest22 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?
Title: Re: Fakeprovide, satisfy yum dependencies with fakes
Post by: Daniel B. 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.
Title: Re: Fakeprovide, satisfy yum dependencies with fakes
Post by: guest22 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.