jmw@probitas.cs.utas.edu.au (06/13/91)
Is there any method of de-installing lpps? I know I can figure out the files involved and then rm them, but the lslpp command says the lpp involved is still installed. John M Williams jmw@probitas.cs.utas.au
jdh@bu-pub.bu.edu (Jason Heirtzler) (06/14/91)
|> Is there any method of de-installing lpps? I know I can figure out the files |> involved and then rm them, but the lslpp command says the lpp involved is |> still installed. If you use odmdelete, you should be able to remove the relevant stanzas from the following /etc/objrepos/history /etc/objpos/lpp /etc/objpos/inventory Be careful there aren't an prerequisite lpps left around. As usual, your milage may vary. Be careful you don't blow up your system! jdh@pub.bu.edu
bfls@cain.anu.edu.au (Barbara La Scala) (06/14/91)
In article <jmw.676815839@probitas> jmw@probitas.cs.utas.edu.au writes:
Is there any method of de-installing lpps? I know I can figure out the files
involved and then rm them, but the lslpp command says the lpp involved is
still installed.
I asked my SE the same question a while back. The answer I was given was
"No there isn't any way of removing lpps because people don't want to remove
packages, only install them". I sincerely hope this isn't true but I suspect
it might be.
Barbara La Scala
bfls@cain.anu.edu.au
brian@is.UUCP (Brian Zimbelman) (06/14/91)
(Barbara La Scala) writes: > > jmw@probitas.cs.utas.edu.au writes: > >> Is there any method of de-installing lpps? I know I can figure out the files >> involved and then rm them, but the lslpp command says the lpp involved is >> still installed. > Yes. Both Customer education and Internal IBM Marketing education teach how to do this in their courses. (I'm an instructor for both organizations). I do not have a copy of my manuals with me, but anyone who has gone through the courses (Course code Q1016 - I/AIX internally, AIX System Admin externally) can look up the steps in their manual. Read your SE, if he/she is trained, some one in your branch if your SE is not. It is in the section SA tips, near the back. The page is titled "De-installing LPP's" and the student notes section has the 8 to 10 steps required to perform the action correctly. > > I asked my SE the same question a while back. The answer I was given was > "No there isn't any way of removing lpps because people don't want to remove > packages, only install them". I sincerely hope this isn't true but I suspect > it might be. > > Barbara La Scala > bfls@cain.anu.edu.au > Has your SE gone through the education process? Good Luck, Brian Zimbelman -- ----------------------------------------------------------------------------- Innovative Solutions (505) 883-4252 3547 Colorado NE is!brian@bbx.basis.com Albuquerque, NM 87110 bbx.basis.com!is!brian
eravin@panix.uucp (Ed Ravin) (06/15/91)
In article <BFLS.91Jun14095205@cain.anu.edu.au> bfls@cain.anu.edu.au (Barbara La Scala) writes: >> Is there any method of de-installing lpps? >I asked my SE the same question a while back. The answer I was given was >"No there isn't any way of removing lpps because people don't want to remove >packages, only install them". I sincerely hope this isn't true but I suspect >it might be. It's not true at all. There's plenty of good reasons why one would want to un-install a product. Maybe you don't like the software and want your disk space back. Maybe you've installed the product on another server and you want your disk space back. Maybe you've blown the installation and you want to try it again but you need your disk space back to re-install. Maybe you installed the product by accident and you need your disk space back. Hmmm... there's a theme here that keeps recurring. It sure would be nice to have some disk space back, especially the disk space currently devoted to IBM-Speak like "The option you have selected is not available" instead of the good old Unix-like "bad command". One of the neat things the AT&T Unix PC/3B1 provided was a de-installation procedure for every installed product. The developer's manual specified that the "Remove" script should remove all files associated with the package, except for user-created files like profiles or scripts. And removing files wasn't the whole job -- there might be device drivers to unload, changes to system configuration files to undo, bootup scripts to unpatch. Although the Unix PC had other things wrong with it, their Unix administration stuff (called User Agent) had a friendly interface that was a hell of a lot better than SMIT. Maybe IBM should license some of AT&T's stale Unix admin software -- it would certainly be an improvement for AIX. Now what's the form I should file for this to happen, a DCR? :-P -- Ed Ravin | I'm sorry, sir, but POSTAL REGULATIONS don't allow eravin@panix.com | PLASTIC tape over PAPER tape and NYLON cord on an philabs!trintex!elr | 86 inch girth to LITHUANIA... +1 914 993 4737 |
frank@leopard.austin.ibm.com (06/15/91)
There is no way to cleanly de-install an lpp at this time. You could use lslpp to get an inventory of all of the files associated with an lpp and then delete by hand. A major problem with this is if a file is shared by more than one lpp, then you would be deleting something you could very well need. To make the system 'forget' about the presence of the lpp you would have to mess with odm. - Frank Feuerbacher Disclaimer: I speak only for me! And I don't even do a good job of that!
jsalter@ibmpa.awdpa.ibm.com (06/17/91)
jmw@probitas.cs.utas.edu.au writes: > Is there any method of de-installing lpps? I know I can figure out the files > involved and then rm them, but the lslpp command says the lpp involved is > still installed. Well, here's the way I'd do it. I'd check out the LPP directory in /usr/lpp, and see the files in there. Find out as much information as possible. Then do a: % lslpp -f <lpp_name> This will give a list of all the files installed with the LPP. I'd also check out the ODM: % odmget -q"lpp_name=<lpp_name>" history % odmget -q"name=<lpp_name>" lpp % odmget -q"lpp_name=<lpp_name>" inventory and save all this information away. Then I'd remove those files listed by the "lslpp -f" command, and delete the ODM entries with "odmchange" or "odmdelete". Note: this is not official IBM position, nor have I ever tried it. But something like it should work. jim/jsalter IBM PSP, Palo Alto T465/(415)855-4427 VNET: JSALTER at AUSVMQ Internet: jsalter@slo.awdpa.ibm.com UUCP: ..!uunet!ibmsupt!jsalter "IBM part #23521, aka Lt. Commander Data" The stuff above is on my own.
benson@odi.com (Benson I. Margulies) (06/18/91)
This is not sufficient. You have to consult the inventory ODM class to find all the symbolic links and remove them, and you have to remove entries from inventory and the rest of the VPD. It is a mystery to me why AIX lacks a deinstallp that does all of this, and instead has mush in the General Programming Concepts to the effect that LPP developers "should provide an lpp.deinst" while providing no advice on how to go about it. -- Benson I. Margulies