Remove orphaned packages on Solaris ?


 
Thread Tools Search this Thread
Operating Systems Solaris Remove orphaned packages on Solaris ?
# 1  
Old 04-08-2008
Remove orphaned packages in Solaris ?

Is there any command that removes orphaned packages in Solaris ? Or a program similar to gtkorphan from Debian ?

Last edited by chinezu'; 04-08-2008 at 03:25 PM..
# 2  
Old 04-08-2008
What exactly do you mean by an "orphaned package" ?
# 3  
Old 04-08-2008
Well, I was thinking of a program that can remove obsolete files (pastremaining files of previous software uninstallations).
# 4  
Old 04-08-2008
like a service that has no dependancies?
# 5  
Old 04-08-2008
Yes. How do I do it ? Smilie
# 6  
Old 04-08-2008
Quote:
Originally Posted by chinezu'
Yes. How do I do it ? Smilie
i don't think there is a tool for something like that...
# 7  
Old 04-08-2008
as usual, duke is right.

however, the only thing that comes to mind is svcs command.

example:

Code:
bash-3.00$ svcs -l svc:/milestone/single-user:default
fmri         svc:/milestone/single-user:default
name         single-user milestone
enabled      true
state        online
next_state   none
state_time   Mon May 28 01:38:48 2007
logfile      /var/svc/log/milestone-single-user:default.log
restarter    svc:/system/svc/restarter:default
dependency   require_all/none svc:/system/identity:node (online)
dependency   require_all/none svc:/system/filesystem/minimal (online)
dependency   require_all/none svc:/milestone/devices (online)
dependency   require_all/none svc:/system/manifest-import (online)
dependency   require_any/none svc:/network/loopback (online)
dependency   optional_all/none svc:/milestone/network (online)
dependency   optional_all/none svc:/system/metainit (online)
dependency   optional_all/none svc:/system/cryptosvc (online)
dependency   require_all/none svc:/system/sysevent (online)

or

Code:
bash-3.00$ svcs -d svc:/milestone/single-user:default
STATE          STIME    FMRI
online         May_28   svc:/network/loopback:default
online         May_28   svc:/milestone/network:default
online         May_28   svc:/system/identity:node
online         May_28   svc:/system/metainit:default
online         May_28   svc:/system/filesystem/minimal:default
online         May_28   svc:/system/sysevent:default
online         May_28   svc:/milestone/devices:default
online         May_28   svc:/system/cryptosvc:default
online         May_28   svc:/system/manifest-import:default

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How to install .p51 packages in Solaris 11.4?

Does anyone know how to install a package that comes in a p5i file in Solaris 11.4? The first thing the Oracle documentation says is to "launch packagemanager". Well they removed packagemanager from 11.4 (and you can't install it yourself). I want a package from... (7 Replies)
Discussion started by: Michele31416
7 Replies

2. Solaris

Solaris 10 packages

Hi all, Does anyone know where you can get solaris 10 packages these days? It seems that sunfreeware have now started charging you to download them, which is good. I have found opencsw, but that seems to rely on you hooking the machine into the interenet and at the moment I am trying to... (3 Replies)
Discussion started by: callmebob
3 Replies

3. Solaris

Installing packages in Solaris 11

I want to install EMCpower (EMC Powerpath package) in Solaris 11. At most of the places, I can see procedure to install packages which comes with repository. This is third party tool, I have downloaded it to /var/tmp. How should I install it ? root@orapdps11 # pkg publisher PUBLISHER ... (4 Replies)
Discussion started by: solaris_1977
4 Replies

4. UNIX for Dummies Questions & Answers

Orphaned processes

From my understanding orphaned processes imply the processes which are not actually running really.it might have already finished buy still showing the process Id Is there any command to filter out those orphaned processes alone? (2 Replies)
Discussion started by: pandeesh
2 Replies

5. Solaris

Solaris 10 packages

can one install packages from different Solaris 10 subversion on a SPARC? (if we don't have the install media for exact same Solaris10.) (3 Replies)
Discussion started by: orange47
3 Replies

6. Shell Programming and Scripting

Trap not working in orphaned child processes

I've search the various posts in these forums, but have not come up with a solution to my problem. I have a parent process that calls a child script, runs it in the background and the parent finishes - without waiting for the child process to complete. Inside the child, a trap is issued to trap... (6 Replies)
Discussion started by: HobieCoop
6 Replies

7. Shell Programming and Scripting

script to remove packages

script to remove packages in solaris .. i want to create a script which run should remove the packaged listed in a file from the given server can anyone guide me .. i think i can do it with expect .. is there any other way to do it ? (1 Reply)
Discussion started by: fugitive
1 Replies

8. Solaris

Gnome Packages on Solaris 10 u6

If my system is supposed to be a pure oracle database server can i remove all the GNOME packages from the system ? Currently system is installed with Everything+OEM and i want the image to be as small as possible remove the unnecessary softwares from it so that its a master image for other servers.... (2 Replies)
Discussion started by: fugitive
2 Replies

9. Solaris

Remove unwanted packages

I got a system which was installed with SUNWCXall cluster installed on it and i want remove unwanted software like GMNOME, Java Desktop System, Staroffice and numerous other softwares .. i want to do an automated removal of these packages where its uninstalled by itself ..from the is there any... (4 Replies)
Discussion started by: fugitive
4 Replies

10. Solaris

Solaris packages and .CSW files

Hello, I would like to know what are the *.CSW file for in a Solaris package or what is the "politic" of those files. I realized for example that when I install my package of Postfix, I have some postfix files created in /opt/csw/etc/postfix but some of them have the .CSW extension. This is... (0 Replies)
Discussion started by: Tex-Twil
0 Replies
Login or Register to Ask a Question