perfsonar-dev - Re: [pS-dev] RPMs - exist 1.1.1 problem
Subject: perfsonar development work
List archive
- From: Jason Zurawski <>
- To: Maciej Glowiak <>
- Cc: Perfsonar Development <>
- Subject: Re: [pS-dev] RPMs - exist 1.1.1 problem
- Date: Thu, 14 Feb 2008 07:59:51 -0500
- Openpgp: id=B94D59A6; url=http://people.internet2.edu/~zurawski/key.txt
- Organization: Internet2
Maciej;
>>> But installing exist db 1.1.1 I am getting error:
>>>
>>> =========================================================
>>> mac@reed:/home/perfsonar$
>>> sudo rpm -i --nodeps --force
>>> perfsonar-exist-1.1.1-1.i386.rpm
>>> /var/tmp/rpm-tmp.10624: 7: Syntax error: Bad substitution
>>> =========================================================
>>>
>>> Have anyone had the same problem or there is something specific to my
>>> machine?
>>
>> Just a guess, but I have had issues like this when /bin/sh is really
>> just a sym link to something else such as bash. There may a command
>> that sh should be able to interpret but the substitute shell handles
>> differently.
> Thanks. I thought about it and checked. "sh" is, indeed, the symlink,
> but to "dash" which seems to be right shell.
>
> In fact, there is no shell at the beginning of the script, so I don't
> know which one is appropriate.
Dash appears to be the Ubuntu shell now, I appear to have it as well:
jason@latrobe:~$
ls -als /bin | grep sh
692 -rwxr-xr-x 1 root root 701680 2007-10-05 10:37 bash
128 -rwxr-xr-x 1 root root 123800 2006-11-08 22:28 bsd-csh
0 lrwxrwxrwx 1 root root 21 2008-02-12 20:42 csh ->
/etc/alternatives/csh
84 -rwxr-xr-x 1 root root 80308 2007-09-29 08:47 dash
0 lrwxrwxrwx 1 root root 4 2008-02-12 07:04 rbash -> bash
0 lrwxrwxrwx 1 root root 4 2008-02-12 07:04 sh -> dash
0 lrwxrwxrwx 1 root root 4 2008-02-12 07:04 sh.distrib -> bash
I found this posting that may be helpful:
http://osdir.com/ml/linux.msdos.general/2006-11/msg00001.html
Basically if dash is a minimal shell, it wont do stuff that bash is able
to. If the RPMs were created on and with the Redhat based distros in
mind (and would use bash and not dash), it may make sense to temporarily
re-link sh to bash and see if that solves the problem. NOTE: Jason can
not be held responsible for nuking anyones machine with his advice :)
-jason
- RPMs - exist 1.1.1 problem, Maciej Glowiak, 02/14/2008
- Re: [pS-dev] RPMs - exist 1.1.1 problem, Jason Zurawski, 02/14/2008
- Re: [pS-dev] RPMs - exist 1.1.1 problem, Maciej Glowiak, 02/14/2008
- Re: [pS-dev] RPMs - exist 1.1.1 problem, Jason Zurawski, 02/14/2008
- Re: [pS-dev] RPMs - exist 1.1.1 problem, Maciej Glowiak, 02/14/2008
- Re: [pS-dev] RPMs - exist 1.1.1 problem, Jason Zurawski, 02/14/2008
- Re: [pS-dev] RPMs - exist 1.1.1 problem, Maciej Glowiak, 02/14/2008
- Re: [pS-dev] RPMs - exist 1.1.1 problem, Jason Zurawski, 02/14/2008
- Re: [pS-dev] RPMs - exist 1.1.1 problem, Maciej Glowiak, 02/14/2008
- Re: [pS-dev] RPMs - exist 1.1.1 problem, Jason Zurawski, 02/14/2008
Archive powered by MHonArc 2.6.16.