From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,73c51ba7a1e3d01 X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,73c51ba7a1e3d01 X-Google-Attributes: gidfee84,public From: "Keith Pickett" Subject: Re: Removing product kits with setld Date: 1999/09/24 Message-ID: <2461CF0DA7DBD211B07300805F921CBC02DF8600@kuumex03.barco.com>#1/1 X-Deja-AN: 529122218 Sender: "Pickett, Keith" References: <2461CF0DA7DBD211B07300805F921CBC02DC4826@kuumex03.barco.com> X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Newsgroups: comp.sys.dec,comp.unix.osf.osf1 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 .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 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 > > -------------------------------------------------------------------- >