Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Removing product kits with setld
@ 1999-09-23  4:00 Keith Pickett
  1999-09-24  4:00 ` Oisin McGuinness
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Keith Pickett @ 1999-09-23  4:00 UTC (permalink / raw)


I created a product kit and did a test install on a Digital UNIX V4.0D
system.  When I tried to remove it, I got the following message:

{root 34} setld -d BFVSRV109
setld: Sorry, You may not delete "BARCO FlexiVision Server Dist."
(BFVSRV109)

Did I miss something in the .scp file? Is there a flag I need to set or
maybe a lock?

Also, does Compaq have a knowledge base for any of this?  I went to their
web site and left confused.  No obvious support for their UNIX stuff at all
as far as I could tell.

Any help would be appreciated.


Thanks,

Keith Pickett



--
--------------------------------------------------------------------
Keith Pickett

keith.pickett@barco.com

--------------------------------------------------------------------





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Removing product kits with setld
  1999-09-23  4:00 Removing product kits with setld Keith Pickett
@ 1999-09-24  4:00 ` Oisin McGuinness
  1999-09-24  4:00 ` Sue Gleeson
  1999-09-24  4:00 ` Keith Pickett
  2 siblings, 0 replies; 4+ messages in thread
From: Oisin McGuinness @ 1999-09-24  4:00 UTC (permalink / raw)


You want the document "Guide to Preparing Product Kits" 
Digital part number AA-QYW7B-TE (at least in the Dec 1996  DU 4.0 kit).
It is on the documentation CDRom which you should have received with the
OS.

Like all the documents, it is findable under
http://www.unix.digital.com/
follow the documentation link, or here is the particular one you want:
http://www.unix.digital.com/faqs/publications/base_doc/DOCUMENTATION/V40F_PDF/AQYW7CTE.PDF

You can also order it as part of the Programmers Documentation Kit.

(Retreat a couple of layers up for indexes.)

Oisin McGuinness
Sumitomo Bank Capital Markets
277 Park Avenue
New York NY 10172

Keith Pickett wrote:
> 
> I created a product kit and did a test install on a Digital UNIX V4.0D
> system.  When I tried to remove it, I got the following message:
> 
> {root 34} setld -d BFVSRV109
> setld: Sorry, You may not delete "BARCO FlexiVision Server Dist."
> (BFVSRV109)
> 
> Did I miss something in the .scp file? Is there a flag I need to set or
> maybe a lock?
> 
> Also, does Compaq have a knowledge base for any of this?  I went to their
> web site and left confused.  No obvious support for their UNIX stuff at all
> as far as I could tell.
> 
> Any help would be appreciated.
> 
> Thanks,
> 
> Keith Pickett
> 
> --
> --------------------------------------------------------------------
> Keith Pickett
> 
> keith.pickett@barco.com
> 
> --------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Removing product kits with setld
  1999-09-23  4:00 Removing product kits with setld Keith Pickett
  1999-09-24  4:00 ` Oisin McGuinness
  1999-09-24  4:00 ` Sue Gleeson
@ 1999-09-24  4:00 ` Keith Pickett
  2 siblings, 0 replies; 4+ messages in thread
From: Keith Pickett @ 1999-09-24  4:00 UTC (permalink / raw)


Thanks to all who responded via e-mail.  My problem is solved.  Here are the
responses:

I believe you set the wrong flag when you created your "key" file.  In
your <subsetname>.k file, in the section for subset definitions, is the
third field something other than 2?  If so, you've just set your subset
to be non-delete-able, hence the error you received.  Try changing it to
"2", and all should be well.

Sue Gleeson


========

I suspect a couple of problems.

Check your .k file.  The line that defines the BFVSRV109 subset should look
something like:

        BFVSRV109    .    2    'BARCO FlexiVision Server Dist.'

The third field (a 2 here) is propogated to the .ctrl file in the form:

        FLAGS=2

If FLAGS is an odd number, you will be unable to delete the subset.

Another cause can be if the .scp file denies deletion.  If I recall
correctly,
the .scp
file should have a case statement based on the ACTion being requested when
the
.scp
is invoked.  The cases that are relevant here are:  PRE_D (for code to be
executed
prior to subset deletion) and POST_D (code to be executed after the subset
is
deleted).

Deletion is denied if the PRE_D phase exits with a value other than 0.

If neither of these issues is the cause of your problem, you could e-mail me
a
copy of
your .ctrl file and a copy of the .scp file for this subset, I will see if
I can quickly spot
the problem.

I don't claim to be the setld expert, but I have been building kits for the
past couple
of years and have some experience with these tools.

-Derek Haining
 ==================

Very good information from all.  I was using a script to create my .k file.
I had a "place-holder" for the flags value in a text file and used sed to
filter in the my desired value.  (This was done because I have more than one
subset in the kit). Anyway, I had sed pass a "0" in, but what came out was
"01" in the .k file.  So to fix the problem and make my life more simpler, I
am passing "2" in as the flags value for all subsets. (per the suggestions
here).  It now works fine.  I didn't know it had to be an even number
though.  That's interesting.

Thanks again,

Keith




Keith Pickett <keith.pickett@barco.com> wrote in message
news:2461CF0DA7DBD211B07300805F921CBC02DC4826@kuumex03.barco.com...
> I created a product kit and did a test install on a Digital UNIX V4.0D
> system.  When I tried to remove it, I got the following message:
>
> {root 34} setld -d BFVSRV109
> setld: Sorry, You may not delete "BARCO FlexiVision Server Dist."
> (BFVSRV109)
>
> Did I miss something in the .scp file? Is there a flag I need to set or
> maybe a lock?
>
> Also, does Compaq have a knowledge base for any of this?  I went to their
> web site and left confused.  No obvious support for their UNIX stuff at
all
> as far as I could tell.
>
> Any help would be appreciated.
>
>
> Thanks,
>
> Keith Pickett
>
>
>
> --
> --------------------------------------------------------------------
> Keith Pickett
>
> keith.pickett@barco.com
>
> --------------------------------------------------------------------
>





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Removing product kits with setld
  1999-09-23  4:00 Removing product kits with setld Keith Pickett
  1999-09-24  4:00 ` Oisin McGuinness
@ 1999-09-24  4:00 ` Sue Gleeson
  1999-09-24  4:00 ` Keith Pickett
  2 siblings, 0 replies; 4+ messages in thread
From: Sue Gleeson @ 1999-09-24  4:00 UTC (permalink / raw)
  To: Keith Pickett

[Posted and mailed]

I believe you set the wrong flag when you created your "key" file.  In
your <subsetname>.k file, in the section for subset definitions, is the 
third field something other than 2?  If so, you've just set your subset
to be non-delete-able, hence the error you received.  Try changing it to
"2", and all should be well.

Sue Gleeson


In article <2461CF0DA7DBD211B07300805F921CBC02DC4826@kuumex03.barco.com>,
	"Keith Pickett" <keith.pickett@barco.com> writes:
> I created a product kit and did a test install on a Digital UNIX V4.0D
> system.  When I tried to remove it, I got the following message:
> 
> {root 34} setld -d BFVSRV109
> setld: Sorry, You may not delete "BARCO FlexiVision Server Dist."
> (BFVSRV109)
> 
> Did I miss something in the .scp file? Is there a flag I need to set or
> maybe a lock?
> 
> Also, does Compaq have a knowledge base for any of this?  I went to their
> web site and left confused.  No obvious support for their UNIX stuff at all
> as far as I could tell.
> 
> Any help would be appreciated.
> 
> 
> Thanks,
> 
> Keith Pickett
> 
> 
> 
> --
> --------------------------------------------------------------------
> Keith Pickett
> 
> keith.pickett@barco.com
> 
> --------------------------------------------------------------------
> 
> 



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-09-24  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-23  4:00 Removing product kits with setld Keith Pickett
1999-09-24  4:00 ` Oisin McGuinness
1999-09-24  4:00 ` Sue Gleeson
1999-09-24  4:00 ` Keith Pickett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox