- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swremove removes only files?
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
09-13-2005 09:45 PM
09-13-2005 09:45 PM
Does swremove only remove "files" that belong to the depot being removed and not directories?
If yes, then is there any way to remove the directories as well?
-Binu
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2005 09:50 PM
09-13-2005 09:50 PM
Re: swremove removes only files?
swremove removes all items including directories.
Regards, MB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2005 09:54 PM
09-13-2005 09:54 PM
Solution-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2005 10:00 PM
09-13-2005 10:00 PM
Re: swremove removes only files?
If you are very sure that the direcory belong to that package itlsef then you can remove it manually.
rm -r
swinstall many times won't remove directories.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2005 10:00 PM
09-13-2005 10:00 PM
Re: swremove removes only files?
Note: Selecting a bundle for removal does not always remove all filesets in that bundle. If a particular fileset is required by another bundle, that fileset will not be removed. For example, if the bundles Pascal and FORTRAN both use the fileset Debugger.Run and you try to remove FORTRAN , the fileset Debugger.Run will not be removed because it is also used by the bundle Pascal. This is done to prevent the removal of one bundle from inadvertently causing the removal of filesets needed by another bundle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2005 10:20 PM
09-13-2005 10:20 PM
Re: swremove removes only files?
rm -rf
Example Packages: Netscape Directory Service, Legato Networker
If you don't want to use that specific s/w for future upgradation then remove directory.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2005 10:34 PM
09-13-2005 10:34 PM
Re: swremove removes only files?
Complete removing or not, depecds on the software packet.
For example, if removing Data Protector, the configuration directorys /etc/opt/omni and database directorys /var/opt/omni/db40 is left untouched.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 09:34 PM
09-15-2005 09:34 PM
Re: swremove removes only files?
Thank you for all the responses.
I have a couple of products, which when swremoved, donot remove any of the directories. Only the files are removed.
Is this behaviour to be taken care of by using control scripts during packaging of the product?
Thanks,
Binu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 09:36 PM
09-15-2005 09:36 PM
Re: swremove removes only files?
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2005 12:05 AM
09-16-2005 12:05 AM
Re: swremove removes only files?
If you want to know exactly what Directories/files that particular product/fileset writes to you can do a tar xvf on the swpackaged file (which was swinstalled). That way you would know exactly what you remove and you would also get a chance to see the preremove, checkremove and postremove files (which control what would be removed from swremove)
Thanks
Giri Sekar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2005 12:07 AM
09-16-2005 12:07 AM
Re: swremove removes only files?
Thanks Arun.
This means to say, when packaging a product, I should take care to have a postremove script that takes care of removing the directories that the product gets installed into. Am I correct?
Thanks,
Binu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 09:15 PM
09-21-2005 09:15 PM
Re: swremove removes only files?
Thanks,
Binu