- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Packaging problem
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-19-2007 07:39 PM
08-19-2007 07:39 PM
Packaging problem
In Z.1 I have X.1 but there was no Y.1
In z.2 both x.2 and y.2 are there.
Due to some design changes I have packaged some files which were present in X.1 in Y.2 and removed them from X.2 to avoid duplication.
While upgrading a system from Z.1(X.1) the files are installed correctly as expected.
But, when I remove Z.2(X.2,Y.2), the files which were shifted from X.1 to Y.2 are also getting removed.(as expected)
Hence Z.1 is broken as x.1's files are removed from the location which is shared by X.1 and Y.2.
Is there something I can do to avoid this. i.e the removal of Y.2 should not remove the files which were previously owned by X.1.
(The files I am talking about are text files and will not cause any problem to the system if X.1 uses the files provided by Y.2)
Please let me know if my explanation of the problem seems complicated. :)
Thanks
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2007 09:48 PM
08-19-2007 09:48 PM
Re: Packaging problem
Which is the correct script to do it in ?
a) postinstall
b) configure
thanks
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2007 11:44 PM
08-19-2007 11:44 PM
Re: Packaging problem
If you install a new version of any HP product, the previous version is just gone. You would have to reinstall it.
So your worry about Z.1 after you remove Z.2 is a non-issue.
>Please let me know if my explanation of the problem seems complicated.
Well, why? :-)
>I am thinking of doing a IPD_delfile for each of the files I do not want to be deleted. Which is the correct script to do it in?
It seems the correct control script is preremove. I.e. you want swlist to list it up to the time it is removed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2007 12:43 AM
08-20-2007 12:43 AM
Re: Packaging problem
################
>are you over thinking this or being too nice?
both :)
>If you install a new version of any HP >product, the previous version is just gone. >You would have to reinstall it.
>So your worry about Z.1 after you remove Z.2 is a non-issue.
do you mean to say that if I install Z.2(Y.2), Z.1 will be removed?
which is not the case on my setup and I dun want it to happen. :)
(I am using version specific directories.
Only some files are shared, which are causing the problem.)
>It seems the correct control script is >preremove. I.e. you want swlist to list it >up to the time it is removed.
I don't want the file to be removed when I remove Z.2 as they are at a path which is used by Z.1 also. so I have to do IPD_delfile in postinstall/configure of Z.2.
IPD_delfile will remove the entries of those files from the sw database but the files be there on the filesystem. That is my aim.
This is just a workaround, This can be done in postinstall of Z2.Y2 or configure of Z2.y2.
Which is a better option? (It will be ok if swlist does not list the file for Z2.Y2)
Thanks
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2007 02:00 AM
08-20-2007 02:00 AM
Re: Packaging problem
The entry for Z.1 yes but not the files.
I'm assuming they have the same SD product name but different revisions??
>(I am using version specific directories.
With ",l="? That may allow both.
I assume you are testing this?
>so I have to do IPD_delfile in postinstall/configure of Z.2.
As I said, you may want to do it in the preremove step. But postinstall seems better than configure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2007 02:43 AM
08-20-2007 02:43 AM
Re: Packaging problem
Are there any specific reasons to choose postinstall over configure.
Thanks
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2007 03:28 PM
08-20-2007 03:28 PM
Re: Packaging problem
I keep it straight based on how it had to do with diskless. (Which doesn't exist anymore. ;-)
Basically is the removal a property of the file system where installed or every system that mounted the filesystem? Is it fiddling with /var/ or /etc/? (Always use configure.)
If it is a property of the filesystem and only has to be done once, use postinstall. Otherwise use configure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2007 03:14 AM
08-24-2007 03:14 AM
Re: Packaging problem
Sri