rpm installation fails due to depencency /bin/sh not found

后端 未结 4 2224
一整个雨季
一整个雨季 2021-02-13 06:38

i am trying to install a package using rpm, for which i have created a different database using rpmdb --initdb --dbpath $HOME/myrpmdb and specifying that path in t

4条回答
  •  甜味超标
    2021-02-13 07:02

    error: Failed dependencies:
    /bin/sh is needed by XXX
    

    This happens because bash rpm is not available in the new rpmdb path. You would have to use following to get the rpm installed.

    # rpm --dbpath $HOME/myrpmdb --nodeps -ivh XXX.rpm
    

提交回复
热议问题