1820594 Members
1432 Online
109626 Solutions
New Discussion юеВ

Install BASH shell

 
Marc Sweeney
Occasional Contributor

Install BASH shell

I've attempted to install bash-3.2-hppa-11.11.depot. When I run swinstall -s /tmp/bash-3.2-hppa-11.11.depot \* it fails with the following from swjob -a log armsweb4-0026 @ armsweb4:/.

swjob -a log armsweb4-0026 @ armsweb4:/

======= 03/07/07 20:36:06 EST BEGIN install AGENT SESSION (pid=2879)
(jobid=armsweb4-0026)

* Agent session started for user "root@armsweb04". (pid=2879)

* Beginning Analysis Phase.
* Source: armsweb04:/tmp/bash-3.2-hppa-11.11.depot
* Target: armsweb4:/
* Target logfile: armsweb4:/var/adm/sw/swagent.log
* Reading source for product information.
* Reading source for file information.
The corequisite "termcap.termcap-RUN" for fileset
"bash.bash-RUN,r=3.2" cannot be successfully resolved.
ERROR: The dependencies for fileset "bash.bash-RUN,r=3.2" cannot be
resolved (see previous lines).
You must resolve the above dependencies before operating on
this fileset or change the "enforce_dependencies" option to
"false".
* Executing preDSA command.

* Summary of Analysis Phase:
ERROR: Exclude bash.bash-RUN,r=3.2
ERROR: 1 of 1 filesets had Errors.
ERROR: The Analysis Phase had errors. See the above output for
details.


======= 03/07/07 20:36:07 EST END install AGENT SESSION (Cancelled)
(pid=2879) (jobid=armsweb4-0026)

Any help will be much appreciated.

Cheers,

Marc Sweeney
6 REPLIES 6
A. Clay Stephenson
Acclaimed Contributor

Re: Install BASH shell

It's telling you exactly what's wrong. Bash requires gettext, libgcc, libiconv, and gettext. Install these run-time dependencies and then you can install bash but bash is really a poor substitute for HP-UX's POSIX shell. In any event, whatever you do, do not make bash root's shell because root must have a staically linked shell.
If it ain't broke, I can fix that.
Asif Sharif
Honored Contributor

Re: Install BASH shell

Hi Sweeney,

For bash installation, First you need to install its run time dependencies, e.g.

libiconv-1.10-hppa-11.11.depot
gettext-0.14.5-hppa-11.11.depot

then install
bash-3.00.16-hppa-11.11.depot

Regards,
Asif Sharif
Regards,
Asif Sharif
Dennis Handly
Acclaimed Contributor

Re: Install BASH shell

>Asif: First you need to install its run time dependencies,

You can use swcopy to copy all of the depots into one and install them at the same time if you want.
Marc Sweeney
Occasional Contributor

Re: Install BASH shell

Thank you for all of your assistance for now the Linux kids can have their bash shell.

Cheers,

Marc Sweeney
Dennis Handly
Acclaimed Contributor

Re: Install BASH shell

If you are happy with your answers, you should read
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
Stuart King 2
New Member

Re: Install BASH shell

Given:
>swlist -l product | grep -E "libiconv|gettext"
gettext 0.11.5 gettext
libiconv 1.8 libiconv
>uname -mrsv
HP-UX B.11.11 U 9000/800

Then:
Installing "bash-3.2-hppa-11.11.depot" appears to have an undocumented dependency of "termcap-1.3.1".