1828504 Members
2710 Online
109978 Solutions
New Discussion

install problem

 
ivychung2
Frequent Advisor

install problem

I am trying to install a package from cdrom to the Debian linux server , but when running install , it pop the error " /bin/sh: bad interpreter: Permission denied" , I tried to copy all files to the HD , but still have the same problem , can suggest how to fix it ? thx
5 REPLIES 5
Sergejs Svitnevs
Honored Contributor

Re: install problem

"bad interpreter: Permission denied" may be caused by corrupted executable. So make sure that your /bin/sh is valid and then try to execute "/bin/sh" manually from command line.

Regards,
Sergejs
Vipulinux
Respected Contributor

Re: install problem

Hi

Copy it to HD and then change the permission to make it execultable
chmod 755 "package"

then do
sh package

Cheers
Vitaly Karasik_1
Honored Contributor

Re: install problem

str you speaking about debian package or some other format?
Stuart Browne
Honored Contributor

Re: install problem

Actually, this sounds more like the package is trying to run something, and the script which is running has a #! pointing to a binary which doesn't exist.

What's the package, so we can take it apart and tell you what it needs.
One long-haired git at your service...
Jeroen Peereboom
Honored Contributor

Re: install problem

L.S.

create a symbolic link from /bin/bash to /bin/sh may solve your problem.

Another common problem: the script to be executed is in DOS format (check using vim).

JP