- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cant swremove
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2000 11:10 PM
08-27-2000 11:10 PM
ive got an entry showing in swlist (10.20) but I cant seem to be able to swremove it. It simply says ERROR without any reason why. Is there a way to forceably remove it ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2000 11:21 PM
08-27-2000 11:21 PM
SolutionTry swremove
swremove PHKL_xxxx.
This will remove the entry from the IPD but wont actually remove any files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2000 05:36 AM
08-30-2000 05:36 AM
Re: cant swremove
You can manually remove the entry by editing the IPD INDEX file using vi. The IPD INDEX file is /var/adm/sw/products/INDEX. This is true for 10.X as well as 11.0. To remove the entry from the file, edit it with vi or some other editor. Then search for the line
tag patch_name where patch name is the name of your patch. For example, if you are searching for patch PHSS_10000, then you would search for
tag PHSS_10000
When you find this line, the line immediately preceeding it should be
product
so you should have the following two lines
product
tag PHSS_10000
Start removing lines starting at product until the next product line. DO NOT REMOVE the next product line.
Be very, very careful if you edit the INDEX file, you can easily hose the IPD. I would save a copy of the INDEX before editing it.
After editing the IPD, remove the directory and all subdirectories and files with the name of the patch in /var/adm/sw/products. Do this as well in /var/adm/sw/patch in 10.20 or /var/adm/sw/save in 11.0. The patch directory is where the restore files are saved and are restored when you do an swremove. Actually, you may want to move the files saved in the patch directory back before removing the directory structure. Keep in mind that if any unconfigurations would be done with a swremove, you will not have that done with this procedure. You could look through /var/adm/sw/products/patch_name at the scripts if there are any for each fileset. You can run these your self if you want. These are the scripts swremove runs.
It runs the scripts in this order for each fileset:
checkremove
unconfigure
preremove
postremove
Some or none of theses scripts may exist under each fileset.
Do not run the install scripts. These are the scrips swinstall runs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2000 05:40 AM
08-30-2000 05:40 AM
Re: cant swremove
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2000 09:33 AM
08-30-2000 09:33 AM
Re: cant swremove
not listed there, the index may be corrupted, try:
swmodify -u PHxx_xxxxx.*
(replace the x's with the appropriate
patch number of course)that should clean
up the mismatch between swlist and swremove.
S.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2000 09:33 AM
08-30-2000 09:33 AM
Re: cant swremove
not listed there, the index may be corrupted, try:
swmodify -u PHxx_xxxxx.*
(replace the x's with the appropriate
patch number of course)that should clean
up the mismatch between swlist and swremove.
S.