1833758 Members
2665 Online
110063 Solutions
New Discussion

unconfigured filesets

 
SOLVED
Go to solution
Donny Jekels
Respected Contributor

unconfigured filesets

 
"Vision, is the art of seeing the invisible"
9 REPLIES 9
Uday_S_Ankolekar
Honored Contributor

Re: unconfigured filesets

Run swconfig \*


-USA..
Good Luck..
LucianoCarvalho
Respected Contributor

Re: unconfigured filesets

hi,

you can run:
#swconfig \*
or
#swconfig

regards
Helen French
Honored Contributor

Re: unconfigured filesets

You may need to read the man pages of 'swconfig'. This command will give you different options for changing "state" of an installed fileset or patch. To answer your question, this command will change the state of "installed" patches to "configured":

# swconfig \*
Life is a promise, fulfill it!
Donny Jekels
Respected Contributor

Re: unconfigured filesets

sorry about the lonngggg post.

well I understand the difference between configured and unconfigured.

I dont want to configure the filesets, I want to remove them from the list when I run the
command

swlist -l fileset -a state

I don't want to see them.
"Vision, is the art of seeing the invisible"
Patrick Wallek
Honored Contributor

Re: unconfigured filesets


# swlist -l fileset -a state | grep -v unconfig
Steven E. Protter
Exalted Contributor

Re: unconfigured filesets

You can remove the patches.]

You can attempt to complete istallation:
swconfigure \*

If these patches have been superseded, they can be removed with the command cleanup -c 1

This command will remove all patches superseded by 1 suceeding patch. Once gone, they are gone forever.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
S.K. Chan
Honored Contributor
Solution

Re: unconfigured filesets

First of all you should run ..
# /usr/contrib/bin/check_patches -p
and by default it would write to /tmp/check.patches.report. Take a look at that report to make sure the state of your patch installation is good. If all is good pick one of the patch .. say PHSS_22543 and run ..
# swconfig PHSS_22543
on it. If that patch has been superseeded, it'll tell you in /var/adm/sw/swagent.log and you can safely remove PHSS_22543 if so. The way to do this is using the "cleanup" command.
# man cleanup
for details. I think (I'm not sure).. if you want to remove patches that are superseeded 1 time you would run ..
# /usr/sbin/cleanup -p -c 1
==> Use "-p" to preview it first. Drop "-p" to perform the action.
Helen French
Honored Contributor

Re: unconfigured filesets

Well, if I understood your question correctly, the command which posted will list all filesets on the system and it's state. Even if it's configured or installed states, those will be listed out there. You may try "grep" ing the output or remove the one which you don't need any more (superceded).
Life is a promise, fulfill it!
Donny Jekels
Respected Contributor

Re: unconfigured filesets

guys/gals, I don't want to play hide and seek.

grep -v is not going to cut it. I don't want ot hide the info, that is a bad maintenance practice.

thanks for the cleanup command. that is what I was looking for.

peace
Donny
"Vision, is the art of seeing the invisible"