Failed dependencies /bin/sh, libc.so.6... when installing rpm package
I'm trying to install a driver for my NMS PCI card. In the Card's installation manual is written that the driver supports only:
Red Hat Enterprise Linux ES, version 3.0 UPD 8 Red Hat Enterprise Linux AS, version 3.0 UPD 8 Red Hat Enterprise Linux ES, version 4.0 UPD 4 Red Hat Enterprise Linux AS, version 4.0 UPD 4 When installing the driver, i got the following errors: i'm running Ubuntu 6.0.6 LTS, and have RPM4.4.1-5 installed. Your assistance is appreciated. Installing package: NMS Communications License Manager for Linux error: Failed dependencies: /bin/sh is needed by nmslm-2.22-1.i386 libc.so.6 is needed by nmslm-2.22-1.i386 libc.so.6(GLIBC_2.0) is needed by nmslm-2.22-1.i386 libc.so.6(GLIBC_2.1) is needed by nmslm-2.22-1.i386 libc.so.6(GLIBC_2.1.3) is needed by nmslm-2.22-1.i386 libdl.so.2 is needed by nmslm-2.22-1.i386 libdl.so.2(GLIBC_2.0) is needed by nmslm-2.22-1.i386 libdl.so.2(GLIBC_2.1) is needed by nmslm-2.22-1.i386 libnsl.so.1 is needed by nmslm-2.22-1.i386 libpthread.so.0 is needed by nmslm-2.22-1.i386 libpthread.so.0(GLIBC_2.0) is needed by nmslm-2.22-1.i386 libpthread.so.0(GLIBC_2.1) is needed by nmslm-2.22-1.i386 librt.so.1 is needed by nmslm-2.22-1.i386 libstdc++.so.5 is needed by nmslm-2.22-1.i386 libstdc++.so.5(CXXABI_1.2) is needed by nmslm-2.22-1.i386 libstdc++.so.5(GLIBCPP_3.2) is needed by nmslm-2.22-1.i386 ERROR - Failed installation of package: nmslm Terminating Natural Access installation |
How did you install that RPM? I hope you used alien because Ubuntu does not natively support rpm packages.
As for the missing dependencies, it's obvious you'll need to install libstdc++5 and 6 first; I would need to look a closer look at the rest to find out what else is required. The bin/sh issues is probably do to the fact that you're trying to install rpm on an apt-get oriented system. It could be solved by installing the rpm package first and creating a symlink to bin but I would seriously recommend using alien first. |
Failed dependencies /bin/sh, libc.so.6... when installing rpm package
Great! Things are getting better.
sudo alien --to-deb *.rpm sudo alien --to-deb *.rpmsudo rm *.rpm sudo alien --to-rpm *.deb Only /bin/sh is my issue now. This is what i get now when Running install : Natural Access Installation Mon Mar 19 23:47:05 CET 2007 Options: (none) RPM version 4.4.1 Installing package: NMS Communications License Manager for Linux error: Failed dependencies: /bin/sh is needed by nmslm-2.22-3.i386 ERROR - Failed installation of package: nmslm Terminating Natural Access installation |
Failed dependencies /bin/sh, libc.so.6... when installing rpm package
I have tried the following without success:
ln -sv bash /bin/sh ln: creating symbolic link `/bin/sh' to `bash': File exists |
Have you tried
ln -s /usr/bin/rpm /bin/rpm? This helped me out on one occasion but I forget whether this had to be done before calling alien or after that. |
All times are GMT -5. The time now is 12:20 PM. |