Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

linux

rpm

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

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?

like image 779
crystal Avatar asked Oct 18 '10 12:10

crystal


1 Answers

Right way install rpm via alien:

alien -i my_rpm_name.rpm

If alien is not installed:

sudo apt-get install alien
like image 195
burtsevyg Avatar answered Oct 20 '22 01:10

burtsevyg