<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Packaging problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/packaging-problem/m-p/5063811#M737229</link>
    <description>See the above posts :)..Thanks&lt;BR /&gt;Sri</description>
    <pubDate>Fri, 24 Aug 2007 10:14:23 GMT</pubDate>
    <dc:creator>Srimalik</dc:creator>
    <dc:date>2007-08-24T10:14:23Z</dc:date>
    <item>
      <title>Packaging problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/packaging-problem/m-p/5063804#M737222</link>
      <description>I have two  packages(x,y) which are delivered with different versions of same application (Z)&lt;BR /&gt;&lt;BR /&gt;In Z.1 I have X.1 but there was no Y.1&lt;BR /&gt;In z.2 both x.2 and y.2 are there.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;While upgrading a system from Z.1(X.1) the files are installed correctly as expected.&lt;BR /&gt;&lt;BR /&gt;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)&lt;BR /&gt;&lt;BR /&gt;Hence Z.1 is broken as x.1's files are removed from the location which is shared by X.1 and Y.2.&lt;BR /&gt;&lt;BR /&gt;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. &lt;BR /&gt;&lt;BR /&gt;(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)&lt;BR /&gt;&lt;BR /&gt;Please let me know if my explanation of the problem seems complicated. :)&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Sri&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Aug 2007 02:39:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/packaging-problem/m-p/5063804#M737222</guid>
      <dc:creator>Srimalik</dc:creator>
      <dc:date>2007-08-20T02:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Packaging problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/packaging-problem/m-p/5063805#M737223</link>
      <description>I am thinking of doing a IPD_delfile for each of the files I do not want to be deleted.&lt;BR /&gt;&lt;BR /&gt;Which is the correct script to do it in ?&lt;BR /&gt;a) postinstall &lt;BR /&gt;b) configure &lt;BR /&gt;&lt;BR /&gt;thanks &lt;BR /&gt;Sri</description>
      <pubDate>Mon, 20 Aug 2007 04:48:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/packaging-problem/m-p/5063805#M737223</guid>
      <dc:creator>Srimalik</dc:creator>
      <dc:date>2007-08-20T04:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Packaging problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/packaging-problem/m-p/5063806#M737224</link>
      <description>Are you over thinking this or being too nice?&lt;BR /&gt;If you install a new version of any HP product, the previous version is just gone.  You would have to reinstall it.&lt;BR /&gt;&lt;BR /&gt;So your worry about Z.1 after you remove Z.2 is a non-issue.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Please let me know if my explanation of the problem seems complicated.&lt;BR /&gt;&lt;BR /&gt;Well, why?  :-)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;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?&lt;BR /&gt;&lt;BR /&gt;It seems the correct control script is preremove.  I.e. you want swlist to list it up to the time it is removed.</description>
      <pubDate>Mon, 20 Aug 2007 06:44:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/packaging-problem/m-p/5063806#M737224</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-20T06:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Packaging problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/packaging-problem/m-p/5063807#M737225</link>
      <description>&lt;BR /&gt;################&lt;BR /&gt;&amp;gt;are you over thinking this or being too nice?&lt;BR /&gt;&lt;BR /&gt;both :)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;If you install a new version of any HP &amp;gt;product, the previous version is just gone. &amp;gt;You would have to reinstall it.&lt;BR /&gt;&amp;gt;So your worry about Z.1 after you remove Z.2 is a non-issue.&lt;BR /&gt;&lt;BR /&gt;do you mean to say that if I install Z.2(Y.2), Z.1 will be removed?&lt;BR /&gt;&lt;BR /&gt;which is not the case on my setup and I dun want it to happen. :)&lt;BR /&gt;&lt;BR /&gt;(I am using version specific directories.&lt;BR /&gt;Only some files are shared, which are causing the problem.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;It seems the correct control script is &amp;gt;preremove. I.e. you want swlist to list it &amp;gt;up to the time it is removed.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;This is just a workaround, This can be done in postinstall of Z2.Y2 or configure of Z2.y2.&lt;BR /&gt;&lt;BR /&gt;Which is a better option? (It will be ok if swlist does not list the file for Z2.Y2)&lt;BR /&gt; &lt;BR /&gt;Thanks&lt;BR /&gt;Sri&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Aug 2007 07:43:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/packaging-problem/m-p/5063807#M737225</guid>
      <dc:creator>Srimalik</dc:creator>
      <dc:date>2007-08-20T07:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Packaging problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/packaging-problem/m-p/5063808#M737226</link>
      <description>&amp;gt;do you mean to say that if I install Z.2(Y.2), Z.1 will be removed?&lt;BR /&gt;&lt;BR /&gt;The entry for Z.1 yes but not the files.&lt;BR /&gt;I'm assuming they have the same SD product name but different revisions??&lt;BR /&gt;&lt;BR /&gt;&amp;gt;(I am using version specific directories.&lt;BR /&gt;&lt;BR /&gt;With ",l="?  That may allow both.&lt;BR /&gt;I assume you are testing this?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;so I have to do IPD_delfile in postinstall/configure of Z.2.&lt;BR /&gt;&lt;BR /&gt;As I said, you may want to do it in the preremove step.  But postinstall seems better than configure.</description>
      <pubDate>Mon, 20 Aug 2007 09:00:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/packaging-problem/m-p/5063808#M737226</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-20T09:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Packaging problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/packaging-problem/m-p/5063809#M737227</link>
      <description>Hi Dennis&lt;BR /&gt;&lt;BR /&gt;Are there any specific reasons to choose postinstall over configure.&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;Sri</description>
      <pubDate>Mon, 20 Aug 2007 09:43:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/packaging-problem/m-p/5063809#M737227</guid>
      <dc:creator>Srimalik</dc:creator>
      <dc:date>2007-08-20T09:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Packaging problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/packaging-problem/m-p/5063810#M737228</link>
      <description>&amp;gt;Are there any specific reasons to choose postinstall over configure.&lt;BR /&gt;&lt;BR /&gt;I keep it straight based on how it had to do with diskless.  (Which doesn't exist anymore. ;-)&lt;BR /&gt;&lt;BR /&gt;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.)&lt;BR /&gt;&lt;BR /&gt;If it is a property of the filesystem and only has to be done once, use postinstall.  Otherwise use configure.&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Aug 2007 22:28:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/packaging-problem/m-p/5063810#M737228</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-20T22:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Packaging problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/packaging-problem/m-p/5063811#M737229</link>
      <description>See the above posts :)..Thanks&lt;BR /&gt;Sri</description>
      <pubDate>Fri, 24 Aug 2007 10:14:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/packaging-problem/m-p/5063811#M737229</guid>
      <dc:creator>Srimalik</dc:creator>
      <dc:date>2007-08-24T10:14:23Z</dc:date>
    </item>
  </channel>
</rss>

