perfsonar-dev - Re: [pS-dev] RPMs - exist 1.1.1 problem
Subject: perfsonar development work
List archive
- From: Maciej Glowiak <>
- To:
- Cc: Perfsonar Development <>, "'Guilherme Fernandes'" <>
- Subject: Re: [pS-dev] RPMs - exist 1.1.1 problem
- Date: Thu, 14 Feb 2008 14:05:04 +0100
Jason Zurawski wrote:
Maciej;
Thanks. I thought about it and checked. "sh" is, indeed, the symlink,But installing exist db 1.1.1 I am getting error:Just a guess, but I have had issues like this when /bin/sh is really
=========================================================
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 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.
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, in the meantime I used "bash" instead of dash and it works now. Thanks for help. I didn't know the difference between dash and bash so far :)
For eXist DB
=====================================================================
mac@reed:/home/perfsonar$ sudo rpm -U --nodeps --verbose perfsonar-exist-1.1.1-1.i386.rpm
Preparing packages for installation...
perfsonar-exist-1.1.1-1
ln: creating symbolic link `/home/perfsonar/perfsonar-exist/perfsonar-exist-1.1.1' to `/home/perfsonar/perfsonar-exist-1.1.1': File exists
patching file conf/server.xml
Hunk #1 succeeded at 113 with fuzz 1.
--- Exist XML database has been installed.
=====================================================================
and for XML LS:
=====================================================================
mac@reed:/home/perfsonar$ sudo rpm -U --nodeps --verbose rpm/RPMS/i386/XML-LS-1.2-1.i386.rpm
Preparing packages for installation...
package XML-LS-1.2-1 is already installed
mac@reed:/home/perfsonar$ sudo rpm -e --nodeps --verbose ML-LS-1.2
error: package ML-LS-1.2 is not installed
mac@reed:/home/perfsonar$
sudo rpm -e --nodeps --verbose XML-LS-1.2
mac@reed:/home/perfsonar$ sudo rpm -U --nodeps --verbose rpm/RPMS/i386/XML-LS-1.2-1.i386.rpm
Preparing packages for installation...
XML-LS-1.2-1
ln: creating symbolic link `/home/perfsonar/webapps/XML-LS/XML-LS-1.2' to `/home/perfsonar/webapps/XML-LS-1.2': File exists
patching file conf/server.xml
Hunk #1 succeeded at 116 with fuzz 1.
--- XML Lookup Service has been installed. ---
=====================================================================
Best regards
Maciej
--
--------------------------------------------------------------------
| Maciej Glowiak Network Research and Development ||
|
Poznan Supercomputing and Networking Center ||
| (+48 61) 858 2024 -- skype_id: maciej_psnc GG: 4526858 ||
====================================================================
- 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.