- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Installed location of a package
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
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
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
тАО06-15-2009 11:09 PM
тАО06-15-2009 11:09 PM
Installed location of a package
I have created test package named Test.
How do i figure out the installed location of package.
Was doing "swlist -l file Test" and it stated
/opt/Test/Test.txt
If I relocate the package to /abc, then also swlist -l file is giving /opt as the location.
Now how do i figure the installed location?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2009 11:18 PM
тАО06-15-2009 11:18 PM
Re: Installed location of a package
My thoughts....
Swlist pick the information from its owm database created while installing the package. So, if you are relocating the file manually, that won't afect the swlist o/p. You need to slecify the installation location while installing the pkg.
Rgds,
Sreekanth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2009 11:21 PM
тАО06-15-2009 11:21 PM
Re: Installed location of a package
Now if a new user comes, how does he determine the location of the package.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2009 11:26 PM
тАО06-15-2009 11:26 PM
Re: Installed location of a package
From within a control script?
http://docs.hp.com/en/5992-5875/ch11s04.html#v2215294
SW_LOCATION
SW_ROOT_DIRECTORY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2009 11:35 PM
тАО06-15-2009 11:35 PM
Re: Installed location of a package
I am aware of that. I want to find the location of the package after it has been installed.
Say a 2nd person.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 12:22 AM
тАО06-16-2009 12:22 AM
Re: Installed location of a package
I would hope swlist would tell you that. Otherwise it would be next to useless.
You may have to use -v to see which attribute.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 12:56 AM
тАО06-16-2009 12:56 AM
Re: Installed location of a package
But shouldn't "swlist -l file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 02:08 AM
тАО06-16-2009 02:08 AM
Re: Installed location of a package
swlist -v
List all the attributes for an object if no -a options are specified. (Vendor-defined attributes are not included. See the -a option.) The output lists one attribute per line in the format:
attribute_name attribute_value
thanks and regards
Sajjad Sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 04:57 AM
тАО06-16-2009 04:57 AM
Re: Installed location of a package
relocate?
Di you simply move the /opt/pkg to /abc? If so, kyou have disconnected all information about the package from swlist. swlist will show where it WAS installed. After that, any changes to directories cannot be tracked. You would have to remove the package and reinstall it with swinstall but specify the new location. Then swlist will show where it was installed.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 05:35 AM
тАО06-16-2009 05:35 AM
Re: Installed location of a package
swinstall -s
Even then "swlist -l file Test" shows
/opt/Test/Test.txt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 06:40 AM
тАО06-16-2009 06:40 AM
Re: Installed location of a package
/opt/Test/Test.txt
Hmm, this seems broken.
And the -v doesn't have /abc/Test anywhere?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 09:32 PM
тАО06-16-2009 09:32 PM
Re: Installed location of a package
The "location" attribute of "swlist -v" shows /abc/Test.
Shouldn't "swlist -l file Test" also show files are under /abc?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 08:21 AM
тАО06-17-2009 08:21 AM
Re: Installed location of a package
I can only assume that by changing only location, all of the IPD entries can be left alone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 09:42 PM
тАО06-17-2009 09:42 PM
Re: Installed location of a package
There are gurus of packaging here. Anybody having more ideas.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2009 01:11 AM
тАО06-18-2009 01:11 AM
Re: Installed location of a package
If you want the installed location you are going to have to glue lines:
$ swlist -l file -a location SwPackager_dummy
# SwPackager_dummy /var/tmp/FIREFOX_stuff/YUK
# SwPackager_dummy.SPB-HELP_dummy /var/tmp/FIREFOX_stuff/YUK
/var/tmp/stuff/sin.c
Where sin.c is in:
/var/tmp/FIREFOX_stuff/YUK/var/tmp/stuff/sin.c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2009 02:06 AM
тАО06-18-2009 02:06 AM
Re: Installed location of a package
I couldn't get your example.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2009 03:09 AM
тАО06-18-2009 03:09 AM
Re: Installed location of a package
Yes and it looks like it's by design.
>I couldn't get your example.
The PSF had: /var/tmp/stuff/sin.c
swinstall ... SwPackager_dummy,l=/var/tmp/FIREFOX_stuff/YUK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2009 03:49 AM
тАО06-18-2009 03:49 AM
Re: Installed location of a package
Thanks for all your efforts.