1825771 Members
2087 Online
109687 Solutions
New Discussion

Re: Error swinstall

 
file system
Frequent Advisor

Error swinstall

Hi all experts.
I have question about install package.

when i execute command 'swinstall -s /AbsolutePATH/package_name

it displays Error like this..

[root@mafweb1:/web1_backup] swinstall -s /web1_backup/package_name
NOTE: The interactive UI was invoked, since no software was
specified.

ERROR: Either Graphic User Interface(GUI) or Terminal User
Interface(TUI) cannot be started. In order to execute this
command, you have to modify your DISPLAY or use English
version TUI with LANG="" or LANG=C.

Why it cannot execute?
can you tell me?
How can I succeed to install.
11 REPLIES 11
Dennis Handly
Acclaimed Contributor

Re: Error swinstall

If you don't want to do an interactive swinstall, you can just add "\*" to the end:
# swinstall -s /AbsolutePATH/package_name \*

This will install everything that "matches" in the depot.

>Why it cannot execute?

From the error message, you haven't exported DISPLAY (graphical) or you have LANG set to something other than American Nerd (TUI).
skt_skt
Honored Contributor

Re: Error swinstall

coul you tell the output of

uname -a
model
echo $LANG
skt_skt
Honored Contributor

Re: Error swinstall

what is the "cumulative SAM patch" version you have?
file system
Frequent Advisor

Re: Error swinstall

[root@mafweb1:/web1_backup] uname -a
HP-UX MAFweb1 B.11.23 U ia64 0611614471

[root@mafweb1:/web1_backup] swlist -l patch|grep -i cum|grep -i sam
# CIFS-Server.CIFS-DOC A.02.01.02 Samba Documentation (original)
# PHCO_31926 1.0 cumulative SAM patch
Platform info:
model string = "ia64 hp server rx4640"

SO, How can I install?
# swinstall -s /AbsolutePATH/package_name \*
it only logs analysis..
what should I do to install?
Dennis Handly
Acclaimed Contributor

Re: Error swinstall

# swinstall -s /AbsolutePATH/package_name \*
>it only logs analysis..

This should install everything that wasn't already installed. What did swinstall say?
file system
Frequent Advisor

Re: Error swinstall

[root@mafweb1:/] swinstall
NOTE: The interactive UI was invoked, since no software was
specified.

ERROR: Either Graphic User Interface(GUI) or Terminal User
Interface(TUI) cannot be started. In order to execute this
command, you have to modify your DISPLAY or use English
version TUI with LANG="" or LANG=C.
Dennis Handly
Acclaimed Contributor

Re: Error swinstall

# swinstall -s /AbsolutePATH/package_name \*
>it only logs analysis..

You said this. What was the output?
file system
Frequent Advisor

Re: Error swinstall

[root@mafweb1:/] swinstall -s /web1_backup/NetWorker.pkg
NOTE: The interactive UI was invoked, since no software was
specified.

ERROR: Either Graphic User Interface(GUI) or Terminal User
Interface(TUI) cannot be started. In order to execute this
command, you have to modify your DISPLAY or use English
version TUI with LANG="" or LANG=C.
Dennis Handly
Acclaimed Contributor

Re: Error swinstall

As mentioned several times you need to add \* to the end.
file system
Frequent Advisor

Re: Error swinstall

Thanks Dennis handy but
Read the thread 'how to set locale to C'

After the action,
It works fine.
Thank you

I think the problem is referred to locale
Dennis Handly
Acclaimed Contributor

Re: Error swinstall

>Read the thread 'how to set locale to C'

Yes, I saw that but you never said you wanted to use the interactive swinstall.

And I assumed you knew how to set the LANG to C and that you could use the locale(1) command to see what the current locale was.