rpm安装由于找不到依赖项/bin/sh而失败 [英] rpm installation fails due to depencency /bin/sh not found
本文介绍了rpm安装由于找不到依赖项/bin/sh而失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用rpm安装软件包,为此我使用rpmdb --initdb --dbpath $HOME/myrpmdb
创建了一个不同的数据库,并在安装时在--dbpath中指定了该路径.
我遇到的错误是
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 the --dbpath while insatlling.
The error i am getting is
root@jason:su rpm --dbpath $HOME/myrpmdb -ivh XXX.rpm
error: Failed dependencies:
/bin/sh is needed by XXX
和/bin/sh存在 有什么方法可以指定安装程序吗? 在创建不同的rpm数据库期间是否遗漏了某些原因,导致其现在无法优化默认命令?
and /bin/sh exist Is there some way that i can specify this to the installer? Is there something i missed during the creation of different rpm database cause of which now it not able to fine the default commands?
推荐答案
通过外星人正确安装rpm:
Right way install rpm via alien:
alien -i my_rpm_name.rpm
如果未安装外星人:
sudo apt-get install alien
这篇关于rpm安装由于找不到依赖项/bin/sh而失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文