Amar Patil
Amar Patil

Reputation: 75

RPM install error: Failed dependencies: /bin/sh is needed by<rpmname>

  1. I am getting following error while installing RPM. error: Failed dependencies: /bin/sh is needed by rpm name
  2. Command "rpm -ivh rpm file path"
  3. When I use "rpm -ivh rpm file path --nodeps". It is working fine. But I don't want to use --nodeps option each time.

Any way to get out .. Thanks in advance.

Upvotes: 1

Views: 7519

Answers (1)

sfanjoy
sfanjoy

Reputation: 690

Disable automatic detection of dependencies. Add the following to your spec file.

AutoReqProv: no

Upvotes: -3

Related Questions