tags:

views:

22

answers:

1

Hi,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?

A: 

Because you've told it to use a completely different database, rpm doesn't look at the system database which is where /bin/sh would be found.

Ignacio Vazquez-Abrams
Yup, but how do i specify the sh for this new database?
crystal
Install the package that provides it.
Ignacio Vazquez-Abrams
but isnt sh by default available in linux os? how do make it point to the default sh?
crystal
Install the package that provides it.
Ignacio Vazquez-Abrams