Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Command Line syntax for custom

Status
Not open for further replies.

aseidas

MIS
Jan 10, 2002
73
US
I am trying to determine the correct syntax to load the oss646b SCO patch from the command line, thus simplifying the process for our installers.

I have tried various package names, but always get a response similar to:

# custom -p SCO:Unix:BASEOS -u -z /tmp/oss646b

Fatal Error:
An error occurred during package specification

Error Stack:
Error processing parcels/packages from command line
Parcel "SCO:Unix:BASEOS" not found in software database


Installation did not finish.

Output from customquery ListPackages does show that as a valid componant to patch:
SCO:Unix::OSS646B.506.SCO.Unix
SCO:Unix:SharedControl::OSS646B.506.SCO.Unix
SCO:Unix:ClientControl::OSS646B.506.SCO.Unix
SCO:Unix:BASEOS::OSS646B.506.SCO.Unix
SCO:Unix:RTS::OSS646B.506.SCO.Unix
SCO:Unix:SOFT::OSS646B.506.SCO.Unix


If you could point me in a direction to find the proper product/package/componant names, and the correct flags I would be very appreciative.

Thanks!!
 
custom

Ed Fair
Give the wrong symptoms, get the wrong solutions.
 
Ed,

I am not sure how to interpret your response...are you telling me to not attempt the command line install and install directly from custom???

Thanks
 
I can't remember if there are any differences with later, but on the earlier you would be in single user and the command would be custom. That would bring up a graphics screen with the options of list, install, or remove. Basic custom wanted the install floppy and there was a -m switch to specify another location, but I haven't used it since Xenix.

And after making the earlier response I tried to remember if I have even added a patch at command line in any OS5 installs. I can only remember scoadmin.

Ed Fair
Give the wrong symptoms, get the wrong solutions.
 
There is a script called setup_gnu that will fetch and install requested packages. Google it and you can find it easily. Since it is a shell script you can look at it and find the command:
custom -i -p `grep "^PROD:" VOL.000.000 |head -1 |cut -d: -f2,3` -z $DIRPATH

That should work for your application and for amy other custom install, assuming you have the VOL files.
 
i would use the following:

custom -p SCO:OSS646 -i -z /tmp/oss646b

I think your problem is that the oss646b package is not currently installed so you can't upgrade it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top