[HPADM] [SUMMARY] swmodify error

From: Enrico Nicolis (enrico@marionegri.it)
Date: Thu May 15 2003 - 06:10:05 EDT


At 14.31 14/05/2003 +0200, you wrote:
Hi all,
I was trying to recover some disk space removing the rollback files of all the already committed patches. This on a D320 with HP-UX 11.0, with the quality patch bundle of March 2003 installed.
The swmodify command gives an error, with no removal of any file:

# swmodify -x patch_commit=true '*.*'
ERROR:   Could not select the software "*.*".  This software is in a
         corrupt state and is not available for selection.  Corrupt
         software can be removed with the swremove command, or replaced
         with the swcopy command.

How to recover from this "corrupt state" ? I don't know how to identify the software in this state.

Thanks to:
steve.illgen@crackerbarrel.com
E.J.M.Hartman@math.tudelft.nl
Craig.E.Johnson@icn.siemens.com
blhconsulting@mindspring.com

I forgot to mention the origin of the given "swmodify" command, that is
http://www.hp.com/products1/unix/operating/infolibrary/whitepapers/building_a_bastion_host.pdf
On another HP 9000, this command already recovered more than 300 Mb of disk space.

To identify the "state" of the software depots, this command line works:
#  swlist -l fileset -a state
an example output line is
PHSS_22574.KERN-RUN                   configured

After removing the single fileset in a corrupt state (it was sudo) I recovered almost 400 Mb of disk space.

Thank you again

 

                                         (- o o -)
 =====================================oOOOo=(_)=oOOOo=======
| Enrico Nicolis                                            |
| "Mario Negri" Institute for Pharmacological Research      |
| Department of Cardiovascular Research                     |
| Bioinformatics Unit                                       |
| via Eritrea, 62                                           |
| 20157 Milano, Italy                                       |
| E-mail: enrico@marionegri.it                              |
| Voice: +39-0239014.409                                    |
| Fax:   +39-0233200049                                     |
|                                               Oooo        |
 =======================================oooO====(  )========
                                        (  )    ) /
                                         \ (   (_/
                                          \_)
-- ---> Please post QUESTIONS and SUMMARIES only!! <--- To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl Name: hpux-admin@dutchworks.nl Owner: owner-hpux-admin@dutchworks.nl Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only) http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:29 EDT