Operating System - HP-UX
1833873 Members
2073 Online
110063 Solutions
New Discussion

SAM removal / swinstall GUI

 
SOLVED
Go to solution
Marco A.
Esteemed Contributor

SAM removal / swinstall GUI

Good morning Gurus,

It there a way to remove SAM, or at least the swinstall GUI ?

I'm having some issues when trying to install software using the 'swinstall' GUI , simply I cannot change the source to another one, if I try the CLI I'm able to install software locally, remotelly, or whatever!!, but for some reason I'm not able to do it using the swinstall GUI.

I tried to install the lastest patches for SD-UX and SAM, check for software corruption, I ran the swconfig \*, etc, all the software seems to be ok but I cannot change the source, in the target list I got only my local host, and I'm not able to make any other changes.

Thank you very much, I would appreciate your help with this, maybe this could be reinstalled or something similar ...

Best regards,

Marc'o
Just unplug and plug in again ....
5 REPLIES 5
TTr
Honored Contributor
Solution

Re: SAM removal / swinstall GUI

The SAM package is under the HPUXBaseOS product and it is the "SystemAdmin" fileset. I did not try removing it so I don't know if swremove will allow you to remove it.

I don't think removing SAM will prevent you from running swinstall.

As for running swinstall in text or batch mode rather than GUI mode it is the same binaries. The mode is controlled by the "DISPLAY" variable. If the "DISPLAY" variable is unset, the swinstall/swremove will run in text mode.

You could write two-line scripts for each command that do

unset DISPLAY
swinstall

Not sure what your problem is but I would look further to find the cause of it.
Michael Steele_2
Honored Contributor

Re: SAM removal / swinstall GUI

Please attach exact errors from log files. Search by timestamp.

/var/adm/sw/*.log


Also, paste in the window where your stuck as well as the results of these commands:

swacl -l depot
swacl -l host
swlist -s depot

And verify that your hostname is everywhere that it should be:

Check your hostname in /etc/rc.config.d/netconf

/etc/hosts
/etc/rc.config.d/netconf

DNS servers if used are in
/etc/resolv.conf

Search order for name resolution if used in
/etc/nsswitch.conf

Make sure information in all those files is correct.
Support Fatherhood - Stop Family Law
Dennis Handly
Acclaimed Contributor

Re: SAM removal / swinstall GUI

>It there a way to remove ... the swinstall GUI?

No need to remove it. If it doesn't work, use the command line instead.

>simply I cannot change the source to another one

Why can't you? The choice is grayed out?
Note: You can always specify the source on the command line with the -s option, then go into the GUI.


Marco A.
Esteemed Contributor

Re: SAM removal / swinstall GUI

Thanks for the answers, I'm going to try those and will post the erros/messages.

In addition, I'm able to use the command line, but just want to try to fix this little issue.

For example, I do know that I could start the GUI and use the 's' flag to specify the source, the problem is that without taking care of that, the GUI just start with the default source, not the one that I'm putting in the line.

Note. : Installations from the CLI are good, no problems found at this level.

Regards,

Marc'o
Just unplug and plug in again ....
Marco A.
Esteemed Contributor

Re: SAM removal / swinstall GUI

Hello guys,

For some reason the /var/adm/sw/.sdkey was not in place and was not able to locate the right option to start the source selection, I select the target and then select "Mark for install" & "Show software for selection" , then I receive the little window requesting me to change the source.

Thanks for your help, this has been resolved.
Just unplug and plug in again ....