- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Directories not removed after package installa...
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
Discussions
Discussions
Forums
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
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
тАО12-14-2007 01:55 AM
тАО12-14-2007 01:55 AM
there are not error reported by SD.
What may be wrong?
Thanks
Sri
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2007 01:56 AM
тАО12-14-2007 01:56 AM
Re: Directories not removed after package installation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2007 02:16 AM
тАО12-14-2007 02:16 AM
Re: Directories not removed after package installation.
You'll need to write a postremove control script to do this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2007 02:26 AM
тАО12-14-2007 02:26 AM
Re: Directories not removed after package installation.
Is is correct?
I was under an impression that SD removes all the dirs which were created during installation.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2007 03:06 AM
тАО12-14-2007 03:06 AM
SolutionNo, I don't think it does. The following says it removes "files" but doesn't explicitly point out that excludes directories. A lawyer could make a point it is working correctly. :-)
http://docs.hp.com/en/5992-2146/ch03s03.html
>we are removing the base dir.
If you did, it wouldn't be there. :-)
You would need to use "rm -rf base-dir", if there are subdirs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2007 03:40 AM
тАО12-14-2007 03:40 AM
Re: Directories not removed after package installation.
Because I had some free time today, I removed the rm command from postinstall just to try and found that SD is not removing directories, And created this topic beacuse I thought it was wrong behavior. :-)
Now I know that the "rm -rf " in postinstall is not void.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2008 08:48 PM
тАО02-22-2008 08:48 PM
Re: Directories not removed after package installation.
Closing thread.