Operating System - HP-UX
1832108 Members
3018 Online
110038 Solutions
New Discussion

swcopy & swinstall problem

 
SOLVED
Go to solution
Roberto Gallis
Regular Advisor

swcopy & swinstall problem

Hi all,
I have a patch bundle on a tape and I want to add a new patch to the bundle before intalling.
I copy the patch bundle by the tape to a directory. Then I do the following
swcopy -s mypatch.depot \* @ patchbundledirectory
First error is "patch maypatch.depot: the source is a tape, cannot open the logfile on this target source. possibly the media is read-only..."
but my file permission are 755
Then swcopy has analysis succeded...
So when i launch swinstall -s patchbundledirectory and do an Install analysis mypatch has errors: mypatch is not AVAILABLE... make it sure its state is AVAILABLE...
But if I launch swisntall -s mypatch.depot Install analysis response is OK
Anybody can help me? What's wrong??

Regards
Roberto
3 REPLIES 3
Lasse Knudsen
Esteemed Contributor

Re: swcopy & swinstall problem

Are you bay any chance mixing 10.20 and 11.00 depots ?

Also the use of '-x autoselect_dependencies=false -x enforce_dependencies=false' may be of good use to you.
In a world without fences - who needs Gates ?
Dan Hetzel
Honored Contributor
Solution

Re: swcopy & swinstall problem

Hi Roberto,

swcopy -s /dev/rmt/?m \* @ /full_path_to/depot

swinstall -s /full_path_to/depot -x patch_match_target=true PATCHNAME

If the swcopy complains about patch being already in the depot, you could eiter:
swremove
or
use flags '-x reinstall=true'

Best regards,

Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
Roberto Gallis
Regular Advisor

Re: swcopy & swinstall problem

Hi,
I fixed the problem creating _ACL files in catalog directory... the log indicated that some file were not found...
I relaunched swcopy doing reinstall=yes and then swinstall run ok...