manually modifying pkginfo data

From: Christopher L. Barnard (cbar44@tsg.cbot.com)
Date: Thu Aug 15 2002 - 11:39:37 EDT


When I upgrade the OS on a server, I prefer to do a "new install" to
remove anything that may have inadvertently been installed unbenownst
to me. Third party non-sun applications I just restore into place
when I am done.

One application uses Sun's package information. So when I copy it back
into place it works fine, but pkginfo does not show that it is there anymore.
This becomes a problem when this application needs to be patched. Its
installation program does a pkginfo to make sure that the package is
installed, and when pkginfo returns that it is not there, the patch will
not apply. Reinstalling the application from scratch upon an OS upgrade
is not really an option, because all local customizations are lost. So what
I would like to do is manually add back into the package information that
the package in question has been installed. Has anyone else done this?
What files did you have to edit? TIA, and I will summarize.

+-----------------------------------------------------------------------+
| Christopher L. Barnard O When I was a boy I was told that |
| cbarnard@tsg.cbot.com / \ anybody could become president. |
| (312) 347-4901 O---O Now I'm beginning to believe it. |
| http://www.cs.uchicago.edu/~cbarnard --Clarence Darrow |
+----------PGP public key available via finger or PGP keyserver---------+
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:47 EDT