[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

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.
0
mwari
Asked:
mwari
  • 3
  • 2
1 Solution
 
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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now