- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to list software dependencies or force removal...
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
тАО03-03-2010 08:59 AM
тАО03-03-2010 08:59 AM
How do I find the dependencies or just force removal?
Thanks!
Leam
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2010 09:05 AM
тАО03-03-2010 09:05 AM
SolutionWhat HP-UX version do you have?
You should be able to use swlist with "-a corequisites" and "-a prerequisites" to find these filesets.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2010 09:13 AM
тАО03-03-2010 09:13 AM
Re: How to list software dependencies or force removal?
In my case I want to remove java, tomcat, apache, wbem, and a bunch of other stuff. It seems so highly intertwined and dependant that it's becoming a pain.
Thoughts? The swlist -a stuff is great, it shows me what needs to be removed. However, I still need to get this stuff off the machine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2010 09:21 AM
тАО03-03-2010 09:21 AM
Re: How to list software dependencies or force removal?
>The swlist -a stuff is great, it shows me what needs to be removed.
You take that list from swlist and put it in a file to just list the filesets and/or products.
Then you can use one swremove to remove them all at once:
swremove -f software_file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2010 09:27 AM
тАО03-03-2010 09:27 AM
Re: How to list software dependencies or force removal?
> In my case I want to remove java, tomcat, apache, wbem, and a bunch of other stuff. It seems so highly intertwined and dependant that it's becoming a pain.
Yes, but this is a twisted path. The installation guide notes that you should not deselect (or later remove) the "recommended (default-installed) software.
I wholly agree with your view. After all, 11.31 comes with *three* versions of Java!
My opinion, however, is to leave things alone. A couple of boot disks are cheap.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2010 09:33 AM
тАО03-03-2010 09:33 AM
Re: How to list software dependencies or force removal?
This is a new build so I'm trying to get it squared away up front.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2010 05:06 AM
тАО03-04-2010 05:06 AM
Re: How to list software dependencies or force removal?
Leam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2010 05:09 AM
тАО03-04-2010 05:09 AM
Re: How to list software dependencies or force removal?
> So, once I go through /opt and rm the stuff that can't be removed via swremove, is there any cleanup to be done?
You might find some empty directories, but all else should be OK.
Regards!
...JRF...