1847253 Members
4452 Online
110263 Solutions
New Discussion

Re: swcopy error

 
Ramaprasad_1
New Member

swcopy error

When I try to copy the software patches from my local CDROM to my machine, it gives error-the target /cdrom exists but is currently empty.
4 REPLIES 4
Ravi_8
Honored Contributor

Re: swcopy error

i am assuming that u r trying to copy the patches from support cd.
.change to the cdrom di.
.list the files in cdrom dir(ls -l)
. you can see many dir's.
. go to those dir's one by one
. swinstall -s path_to_dir

you see the patch now. go on installing

good luck
never give up
Michael Tully
Honored Contributor

Re: swcopy error

Hi,

I assume from what you are saying that
you are installing patches as opposed
to copying them. In either case the
below should at least start to do
what you want.

# mount /dev/dsk/cxtxdx /cdrom
start 'swinstall' (or swcopy)
# swinstall

Where the path statement appears enter
/cdrom/XSWGR1100

This is the directory where the
software patches are for HPUX11. For HP-UX
10.20 the directory will be /cdrom/XSWGR1020

If you are unsure do an ls after mounting
the CD

# ls /cdrom

HTH
Michael
Anyone for a Mutiny ?
Vincent Stedema
Esteemed Contributor

Re: swcopy error

The correct syntax for an swcopy command is:

swcopy -s @

So, if the CD is mounted at /mnt/cdrom and you want to copy all products to /tmp/depot, the command line syntax is as follows:

swcopy -s /mnt/cdrom * @ /tmp/depot

It might be that you've mixed up the source and target options of swcopy.

Hope this helps.

Vincent
Vincenzo Restuccia
Honored Contributor

Re: swcopy error

# mount /dev/dsk/cxtyd0 /SD_CDROM
#mount (verify the mount of cdrom)
# swinstall