From: "Keith Pickett" <keith.pickett@barco.com>
Subject: Re: Removing product kits with setld
Date: 1999/09/24 [thread overview]
Message-ID: <2461CF0DA7DBD211B07300805F921CBC02DF8600@kuumex03.barco.com> (raw)
In-Reply-To: 2461CF0DA7DBD211B07300805F921CBC02DC4826@kuumex03.barco.com
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
>
> --------------------------------------------------------------------
>
next prev parent reply other threads:[~1999-09-24 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-09-23 4:00 Removing product kits with setld Keith Pickett
1999-09-24 4:00 ` Keith Pickett [this message]
1999-09-24 4:00 ` Sue Gleeson
1999-09-24 4:00 ` Oisin McGuinness
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox