~~socialite:icon reddit googleplus stumbleupon twitter~~ ====SD/UX Corrupt Index===== A list of what products are installed under HP-UX is kept in /var/adm/sw/products/INDEX . If this gets corrupted, SD/UX errors occur and it may become unusable. The INDEX can be recreated as follows: 1. mv /var/adm/sw/products/INDEX /var/adm/sw/products/INDEX.old 2. cd /var/adm/sw/products 3. for i in `find . -name INDEX` do cat $i >> INDEX done This should create a usable INDEX A list of depots is kept in /var/adm/sw/host_object An alternative method (sent in by Charlie Brown and tested against HP-UX 11.00) follows. This method involves creating a dummy package, moving the INDEX file and installing the dummy package so that the INDEX is rebuilt. 1. cd /var/adm/sw/products/INDEX 2. Create a package called "void" using swpackage -s ./void.psf The void.psf file must contain the following lines: product tag void fileset tag void 3. mv INDEX INDEX.old 4. swinstall void - This will cause the INDEX file to be rebuilt as it is missing. 5. swremove void **Still stuck? Maybe we can help.** Contact us [[https://www.upwork.com/o/profiles/users/_~01207a4bc438b48c6e|at Upwork]] Never miss a thing [[http://www.justsomestuff.co.uk/subscribe.php|subscribe to our newsletter]] {{glyphicon>envelope}} or follow us [[http://twitter.com/itsjustsomestuf|on twitter]] {{glyphicon>hand-left}} For more super cool techie stuff [[http://www.justsomestuff.co.uk/theblog|check out our blog!!]] ===Recent Changes=== {{changes>}} ====Contribute to this wiki==== Why not help others by sharing your knowledge? Contribute something to this wiki and [[http://www.justsomestuff.co.uk/hall_of_fame.html|join out hall of fame!]]\\ [[http://www.justsomestuff.co.uk/theblog/contact-page|Contact us]] for a user name and password