Corrupt package "database"

From: Brad Morrison (brad.morrison@gmail.com)
Date: Mon Feb 12 2007 - 13:48:49 EST


SunOS 5.9 Generic_112233-11 sun4u sparc SUNW,Sun-Fire; e4800

I've just gotten the dreaded "One or more patch packages included in
<patch ID> are not installed on this system." The consensus I find via
google is that the package database (/var/sadm/install/contents) is
corrupt. I recall that this is just a flat file with filename, owner,
group, mode, and package reference for every system file.

I don't see a reference to this file in the /usr/sbin/patchadd script,
though. :-\

Q: Where/what is the "package database"?

Q: Is there a way to rebuild it without reinstalling Solaris?

Q: What is the format of /var/sadm/install/contents? (given the
format, it seems trivial to rebuild the text file, w/possible
exception of deriving the package references).
_______________________________________________
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:41:37 EDT