06-03-2014 09:06 AM - last edited on 06-08-2014 07:26 PM by Lisa198503
I am trying to install the Y2K patches (as well as other patches) to my HPUX 10.20 system. The readme on the CD states to mount the CD to /cdrom, which I have done.
The next step is:
# /usr/sbin/swinstall -x autoreboot=true -x match_target=true \ -s /cdrom/Y2K1020S800.tar
When I execute this line, the system responds with:
There is currently no depot software on host "HP9000K" at location "/var/spool/sw".cd
Source connection failed for "HP9000K:/var/spool/sw".
The directory /var/spool/sw does exist on the system as I can see it with the ls command, and /var/spool/sw has no contents. Evidently its existence alone does not make it a software depot.
I continue to get this error about a software depot not existing on my system whenever I try to install any patches. I do not know how to create a software depot or how to use it or point to it when trying to install patches.
How do I set up the system with a software depot these patches can use for installation so that the swinstall command line above will run and install the patches after successfully mounting the CD?
P.S. This thread has been moved from HP 9000 to HP-UX > patches. -HP Forum Moderator
Solved! Go to Solution.
06-03-2014 02:08 PM
To install all software in a depot via the command line, the syntax is:
# swinstall -x autoreboot=true -s /path/to/depot \*
In your case try:
# /usr/sbin/swinstall -x autoreboot=true -x match_target=true -s /cdrom/Y2K1020S800.tar \*
The '\*' tells swinstall to install all files in the depot.
06-04-2014 05:19 AM
Amazing how simple your solution was! All I needed to do was to add the \* to the end of the command line I had been using all along. Having done that, the swinstall command works just fine.