tracking application packages during installation

Hi experts,

Is it possibel to track packages whilst being loaded on solaris OS. The reason for this is I am trying to create a script which will find and remove these packages after an installation. I am installing an application and the uninstaller leaves alot of packages all over the show, and you have to hunt them down one by one, which takes quite some time.
mwariAsked:
Who is Participating?
 
jekl2000Commented:
Not sure about that but I have done this in the past.

If its and application I use
pkginfo -c application or you can just use pkginfo which will get both system and applications.

I output that to a file before the install
#pkginfo -c application > before.install

then after the install
#pkginfo -c application > after.install

then
#diff before.install after.install will gice you a list of the changes.

You could then input the results to a scrift for removal
0
 
mwariAuthor Commented:
Jekl2000, what is "application" in pkginfo?, I am installing Sun Java ES Portal Server.  Do I put the installer name in place of application?
e.g pkginfo -c sunportal_installer > before.install
pkginfo -c sunportal_installer > after.install ??
0
 
jekl2000Commented:
No, application is a  keyword as is system. Didn't ask what version you are running. You can just do a pkginfo > before.inst and it will do the same but system and application files will be shown, which might be better anyway to see if it installs anything that might be classified as a system file.
0
 
mwariAuthor Commented:
Okay, I am running Solaris 10.
0
 
mwariAuthor Commented:
Thanx jekl2000. :-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.