1752367 Members
5526 Online
108787 Solutions
New Discussion юеВ

bash install error

 
SOLVED
Go to solution
mulder20
Frequent Advisor

bash install error

hello ,
i isntall bash v3.2 on hpux 11 iV1

befor i install all the reqirement successfully

but when i install bash , i get this message :





NOTE: The software "bash" was successfully marked, but it depends on
the following software items which could not be found in the
source. However, these items may already be in the target.
This will be checked during the Analysis Phase:
termcap.termcap-RUN
NOTE: No "request" script has been executed. The selected software
does not contain a "request" script.

* Source: /tmp/bashshell/bash-3.2-hppa-11.11
* Targets: machine1:/
* Software selections:
bash.bash-RUN,r=3.2,a=HP-UX_B./800
* Selection succeeded.


* Beginning Analysis and Execution
* Session selections have been saved in the file
"/.sw/sessions/swinstall.last".
* The analysis phase succeeded for "machine1:/".
ERROR: "machine1:/": 1 files had errors during this operation.
ERROR: "machine1:/": 1 filesets had errors.
* The execution phase failed for "machine1:/".
* Analysis and Execution had errors.


please have any idea what's the problems ,

when i run /usr/local/bin/bash i get message permission denieded

thamks,


20 REPLIES 20
Robert-Jan Goossens
Honored Contributor

Re: bash install error

Hi,

You need to install the runtime dependencies.

http://hpux.cs.utah.edu/hppd/hpux/Shells/bash-3.2/

Run-time dependencies: gettext libiconv termcap

Regards,
Robert-Jan
Ivan Krastev
Honored Contributor

Re: bash install error

Download and install pre-required termcap from porting center - http://hpux.cs.utah.edu/hppd/hpux/Development/Libraries/termcap-1.3.1/


regards,
ivan
mulder20
Frequent Advisor

Re: bash install error

# swlist
bash 3.2 bash
gettext 0.17 gettext
libiconv 1.12 libiconv
make 3.81 make
termcap 1.3.1 termcap

it's already installed

all of them except bash was installed successfully

Many thanks for your help
Matti_Kurkela
Honored Contributor

Re: bash install error

The message about termcap.termcap-RUN is just a standard notification, not an error message. As you can see, the analysis phase succeeded, so the analysis process successfully confirmed the existence of the termcap library.

The note about a "request" script is strange. Looks like the package specification was written to assume a request script, but no such script was included in the software depot. Whoever has packaged this software in depot form has probably made a mistake.

The ERROR messages just say that one file had an error. You should check the swinstall log file to see more details about the error situation. The log file is at /var/adm/sw/swinstall.log.

If you get a "permission denied" message when trying to run /usr/local/bin/bash, it probably means that the binary has been installed, but something went wrong in assigning the appropriate permissions to it.
What does "ll /usr/local/bin/bash" report?

MK
MK
mulder20
Frequent Advisor

Re: bash install error

the detail log :

* Session started for user "root@machine1".

* Beginning Selection
* Target connection succeeded for "machine1:/".
* Source connection succeeded for
"machine1:/tmp/bashshell/bash-3.2-hppa-11.11".
NOTE: The software "bash" was successfully marked, but it depends on
the following software items which could not be found in the
source. However, these items may already be in the target.
This will be checked during the Analysis Phase:
termcap.termcap-RUN
NOTE: No "request" script has been executed. The selected software
does not contain a "request" script.

* Source: /tmp/bashshell/bash-3.2-hppa-11.11
* Targets: machine1:/
* Software selections:
bash.bash-RUN,r=3.2,a=HP-UX_B./800
* Selection succeeded.


* Beginning Analysis and Execution
* Session selections have been saved in the file
"/.sw/sessions/swinstall.last".
* The analysis phase succeeded for "machine1:/".
ERROR: "machine1:/": 1 files had errors during this operation.
ERROR: "machine1:/": 1 filesets had errors.
* The execution phase failed for "machine1:/".
* Analysis and Execution had errors.


NOTE: More information may be found in the agent logfile using the
command "swjob -a log machine1-0053 @ machine1:/".

======= 06/03/08 09:38:09 EDT END swinstall SESSION (non-interactive)
(jobid=machine1-0053)





and


ll /usr/local/bin/bash
-rwxr-xr-x 1 root sys 880253 Mar 21 2007 /usr/local/bin/bash
mulder20
Frequent Advisor

Re: bash install error

please have you any idea , about this problems? or any suggestion ?
thanks,
Patrick Wallek
Honored Contributor

Re: bash install error

Please run the swjob command given at the end of the log you posted and then post the results here.
mulder20
Frequent Advisor

Re: bash install error

here is the command detail swjob :


# swjob
#
# Controller: machine1
#
#jobid operation state results title
#

loopback-0001 Install Complete
loopback-0002 Install Complete
loopback-0003 Configure Complete
loopback-0004 Configure Complete
loopback-0005 Configure Complete
machine1-0016 Install Complete
machine1-0019 Install Complete
machine1-0020 Install Complete
machine1-0025 Install Complete
machine1-0027 Install Complete
machine1-0030 Install Complete
machine1-0031 Install Complete
machine1-0032 Install Complete
machine1-0033 Install Complete
machine1-0039 Install Complete
machine1-0041 Install Complete 1 With Errors
machine1-0044 Install Complete
machine1-0046 Install Complete 1 With Errors
machine1-0047 Install Complete 1 With Errors
machine1-0049 Install Complete 1 With Errors
machine1-0050 Install Complete 1 With Errors
machine1-0053 Install Complete 1 With Errors
# swjob -a log machine1-0053

======= 06/03/08 09:37:51 EDT BEGIN swinstall SESSION
(non-interactive) (jobid=machine1-0053)

* Session started for user "root@machine1".

* Beginning Selection
* Target connection succeeded for "machine1:/".
* Source connection succeeded for
"machine1:/tmp/bashshell/bash-3.2-hppa-11.11".
NOTE: The software "bash" was successfully marked, but it depends on
the following software items which could not be found in the
source. However, these items may already be in the target.
This will be checked during the Analysis Phase:
termcap.termcap-RUN
NOTE: No "request" script has been executed. The selected software
does not contain a "request" script.

* Source: /tmp/bashshell/bash-3.2-hppa-11.11
* Targets: machine1:/
* Software selections:
bash.bash-RUN,r=3.2,a=HP-UX_B./800
* Selection succeeded.


* Beginning Analysis and Execution
* Session selections have been saved in the file
"/.sw/sessions/swinstall.last".
* The analysis phase succeeded for "machine1:/".
ERROR: "machine1:/": 1 files had errors during this operation.
ERROR: "machine1:/": 1 filesets had errors.
* The execution phase failed for "machine1:/".
* Analysis and Execution had errors.


NOTE: More information may be found in the agent logfile using the
command "swjob -a log machine1-0053 @ machine1:/".

======= 06/03/08 09:38:09 EDT END swinstall SESSION (non-interactive)
(jobid=machine1-0053)

#




As you see the bash is installed completly but with 1 errors.

Any idea please
thanks,
Dennis Handly
Acclaimed Contributor

Re: bash install error

>here is the command detail swjob:

Hmm, I don't see any details. You might have to look into /var/adm/sw/swinstall.log and swagent*.log.