- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swinstall to alternate directory
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2007 01:16 AM
06-01-2007 01:16 AM
swinstall to alternate directory
swinstall -x autoreboot=true -x patch_match_target=true \ -s /usr/mqm/p000-L050519.v11 @/software/mqm
The errors are
ERROR: Could not apply the software selection "-s"; it is not
available from depot or root "omhq1a65:/var/spool/sw".
* Software selection failed for "omhq1a65:/var/spool/sw".
ERROR: Could not apply the software selection
"/usr/mqm/p000-L050519.v11"; it is not available from depot or
root "omhq1a65:/var/spool/sw".
* Software selection failed for "omhq1a65:/var/spool/sw".
ERROR: Could not access remote file "GLOBAL_INDEX" in software item
"". The file could not be found on the remote system.
ERROR: There is currently no installed software on host "omhq1a65" at
location "/software/mqm". (Note that you need to use "swcopy"
to manage depot software).
* Source selection failed for "omhq1a65:/software/mqm".
ERROR: Error code -1 returned from procedure CLUI_PatchMatchTarget().
ERROR: No software has been selected.
NOTE: Cannot continue the "swinstall" task.
When I run swinstall and select the depot /usr/mqm/p000-L050519.v11 it is valid and I can install
Thanks in advance.
nancy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2007 02:14 AM
06-01-2007 02:14 AM
Re: swinstall to alternate directory
Back up the old installation before trying anything.
rename /usr/mqm to /usr/mqm.old
Do a normal installation.
See if both work afterwards.
You might check the documentation of the manufacturer and see if the new version will even overwrite the old or its possible to run multiple versions on the same system. Its probably true but is not a universal fact.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2007 02:20 AM
06-01-2007 02:20 AM
Re: swinstall to alternate directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2007 02:21 AM
06-01-2007 02:21 AM
Re: swinstall to alternate directory
swinstall -x autoreboot=true -x patch_match_target=true \ -s /usr/mqm/p000-L050519.v11 @/software/mqm
is syntactically incorrect.
If the Software Depot does not offer any relocation of the destination/install directory - then you're stuck with it..
Always a good idea to back up your existing software tree or your OS first...
Note: mqm creates/installs to various directories so be extra carefull!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2007 02:23 AM
06-01-2007 02:23 AM
Re: swinstall to alternate directory
Your syntax is off.
swinstall [XToolkit Options] [-i] [-p] [-r] [-v] [-c catalog]
[-C session_file] [-f software_file] [-J jobid] [-Q date] [-s
source] [-S session_file] [-t target_file] [-x option=value] [-X
option_file] [software_selections] [@ target_selections]
For example, to install all selections from gcc-4.1.2-hppa-11.11.depot:
# swinstall -s /path/to/gcc-4.1.2-hppa-11.11.depot \*
I am not aware of a way to change the destination. Perhaps you could roll your own depot, but that would probably violate the software terms of use, and most likely wouldn't work in the end.
The safest thing would be to back up the affected filesystems before attempting installation. Next rename /opt/mqm and /var/mqm, which will break the old version. Then install the new version. See if the new version works, then rename the new directories, restore the old directories, and see if the old version still works.
If you need to revert, you have the backup.
If your software vendor supports multiple versions on the same system, they most likely have a guide for accomplishing this.
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2007 02:42 PM
06-01-2007 02:42 PM
Re: swinstall to alternate directory
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2007 04:52 PM
06-01-2007 04:52 PM
Re: swinstall to alternate directory
The v=...,l= installs to an alternate directory. Note not all software will support either.
But your main problem is that extraneous "\".
Also these are useless for alternate roots:
-x autoreboot=true -x patch_match_target=true
The former because a reboot will be confused. The latter because nothing gets matched at all on alternate root installs, even if you ask nicely. ;-)