Operating System - HP-UX
1828623 Members
1295 Online
109983 Solutions
New Discussion

Re: swinstall issue installing bash

 
peter_220
Occasional Contributor

swinstall issue installing bash

Hi, all
We have server L2000, HP-UX 11.00
I tried to install "bash",
version bash-2.05b-sd-11.00.depot.gz

After command
swinstall -x mount_all_filesystems=false -s /tmp/bash.depot bash

It's gave me an error messge:
"There will be no attempt to mount filesystems that appear in the filesystem table.
The SW dependencies for 1 products or filesets can't be resolver"

Cann you help me please ?
Thanks!
With best regards!
10 REPLIES 10
RAC_1
Honored Contributor

Re: swinstall issue installing bash

May be you can try with enforce_dependencies=false.
There is no substitute to HARDWORK
Pete Randall
Outstanding Contributor

Re: swinstall issue installing bash

Peter,

Look at the /var/adm/sw/swagent.log for more detail on the failure. It should explain exactly why the dependencies could not be resolved.


Pete

Pete
A. Clay Stephenson
Acclaimed Contributor

Re: swinstall issue installing bash

Bash requires libiconv and gettext. Install those first and don't forget to check the dependencies of those packages as well.
If it ain't broke, I can fix that.
Pete Randall
Outstanding Contributor

Re: swinstall issue installing bash

Peter,

Two other comments:

First, the Posix shell will do most anything that bash can do.

Second, if you must have bash, make sure you do *NOT* change root's shell - you'll likely end up with an un-bootable system.


Pete

Pete
Kenneth Platz
Esteemed Contributor

Re: swinstall issue installing bash

Do you have the "gettext" and "libiconv" products installed? According to the HP-UX porting & archive center, those are both required prerequisites of bash.
I think, therefore I am... I think!
peter_220
Occasional Contributor

Re: swinstall issue installing bash

Hi Pete,

Yes I tested it with ... "mount_all_filesystems=true"

bat it wasn't good to :-(

Here is tail -f /../swagent.log

======= 01/29/04 15:54:55 MET BEGIN install AGENT SESSION (pid=1859)

* Agent session started for user "root@Slov3.orange.sk".
(pid=1859)

* Beginning Analysis Phase.
* Source: Slov3.orange.sk:/tmp/bash_hp.depot
* Target: Slov3:/
* Target logfile: Slov3:/var/adm/sw/swagent.log
* Reading source for product information.
NOTE: The filesystems in the filesystem table will not be checked
against those currently mounted because the
"mount_all_filesystems" option is set to "false".
* Reading source for file information.
The corequisite "gettext.gettext-SHLIBS" for fileset
"bash.bash-RUN,r=2.05b" cannot be successfully resolved.
ERROR: The dependencies for fileset "bash.bash-RUN,r=2.05b" 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=2.05b
ERROR: 1 of 1 filesets had Errors.
ERROR: The Analysis Phase had errors. See the above output for
details.


======= 01/29/04 15:55:00 MET END install AGENT SESSION (Canceled)
(pid=1859)


======= 01/29/04 15:59:54 MET BEGIN install AGENT SESSION (pid=1911)

* Agent session started for user "root@Slov3.orange.sk".
(pid=1911)

* Beginning Analysis Phase.
* Source: Slov3.orange.sk:/tmp/bash_hp.depot
* Target: Slov3:/
* Target logfile: Slov3:/var/adm/sw/swagent.log
* Reading source for product information.
NOTE: The filesystems in the filesystem table will not be checked
against those currently mounted because the
"mount_all_filesystems" option is set to "false".
* Reading source for file information.
The corequisite "gettext.gettext-SHLIBS" for fileset
"bash.bash-RUN,r=2.05b" cannot be successfully resolved.
ERROR: The dependencies for fileset "bash.bash-RUN,r=2.05b" 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=2.05b
ERROR: 1 of 1 filesets had Errors.
ERROR: The Analysis Phase had errors. See the above output for
details.


======= 01/29/04 15:59:59 MET END install AGENT SESSION (Canceled)
(pid=1911)
Robert-Jan Goossens
Honored Contributor

Re: swinstall issue installing bash

Hi,

-->
The corequisite "gettext.gettext-SHLIBS" for fileset
<--


Clay gave you the answer already install libiconv and gettext before bash.

http://hpux.connect.org.uk/hppd/hpux/Shells/bash-2.05b/

Regards,
Robert-Jan
Pete Randall
Outstanding Contributor

Re: swinstall issue installing bash

Peter,

As other suggested, you'll need to install gettext either beforehand or concurrently.


Pete

Pete
peter_220
Occasional Contributor

Re: swinstall issue installing bash

Hi Pete,

With command
"enforce_dependencies=false"

it was the same :-(

thanks
peter_220
Occasional Contributor

Re: swinstall issue installing bash

Hi Pete!

Thank you,
I install first "gettext" and "libiconv", than "bash"
And it's ok
Thank you very much
p.

[Slov3]root : swlist -l file bash
# Initializing...
# Contacting target "Slov3"...
#
# Target: Slov3:/
#

# bash 2.05b bash
# bash.bash-RUN
/usr/local/bin/bash
/usr/local/bin/bashbug
/usr/local/doc/bash/CHANGES
/usr/local/doc/bash/COPYING
/usr/local/doc/bash/HPUX.Install
/usr/local/doc/bash/INSTALL
/usr/local/doc/bash/NEWS
/usr/local/doc/bash/README
/usr/local/doc/bash/bash.html
/usr/local/doc/bash/bashref.html
/usr/local/info/bash.info
/usr/local/info/dir
/usr/local/man/man1/bash.1
/usr/local/man/man1/bashbug.1