<?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: swinstall change location / install another directory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-change-location-install-another-directory/m-p/4088044#M309969</link>
    <description>&amp;gt;1)So i don't understand the difference between &lt;BR /&gt;&amp;gt;swinstall -s /tmp/soft.depot soft,l=/my_rep&lt;BR /&gt;&lt;BR /&gt;Your attached depot doesn't allow this:&lt;BR /&gt;$ swlist -a is_locatable -l fileset -s $PWD/294652.depot&lt;BR /&gt;# zip           false&lt;BR /&gt;  zip.zip-RUN&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Robert-Jan: An other option is to untar the depot file in a temp directory, search for the configuration files, change the location to the desired install directory with vi&lt;BR /&gt;&lt;BR /&gt;This of course is not supported.  :-)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;# tar cvf 294652.depot catalog zip&lt;BR /&gt;&lt;BR /&gt;You can't do this.  You must use swpackage to make a tape depot.  So swcopy, edit, swpackage.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Robert-Jan: The find command is just for exploring the files which include /usr/local&lt;BR /&gt;&amp;gt;i think you 've probably done a mistake for the "find" command:&lt;BR /&gt;&lt;BR /&gt;Exactly, RJ forgot a grep:&lt;BR /&gt;find . -type f -exec grep /usr/local +&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Perhaps something about checksum file when i had modified the catalog INDEX INFO files&lt;BR /&gt;&lt;BR /&gt;I first thought that some years ago and cleverly adjusted the size and timestamp but I don't think there is any checking for that.  In fact one INDEX file has itself but with the wrong size.&lt;BR /&gt;&lt;BR /&gt;I think the problem is that a depot is a very special tar file and you must use swpackage to make it.  See my reply here:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1155691" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1155691&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;# swpackage -x media_type=tape -s $PWD/esm-ice-scripts-1.9.d @ \&lt;BR /&gt;$PWD/esm-ice-scripts-1.9.depot</description>
    <pubDate>Tue, 23 Oct 2007 03:41:30 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2007-10-23T03:41:30Z</dc:date>
    <item>
      <title>swinstall change location / install another directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-change-location-install-another-directory/m-p/4088038#M309963</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;I want to install by command line a product in an other directory.&lt;BR /&gt;&lt;BR /&gt;1)So i don't understand the difference between two commands&lt;BR /&gt;&lt;BR /&gt;swinstall -s /tmp/soft.depot soft,l=/my_rep&lt;BR /&gt;and&lt;BR /&gt;swinstall -s /tmp/soft.depot @ /my_rep&lt;BR /&gt;&lt;BR /&gt;swinstall' man page is a little bit confusiong about the difference.&lt;BR /&gt;&lt;BR /&gt;2) see attached file a  zip.depot product and try to install it into another directory (by command line) , unfortunatlly, i can't.&lt;BR /&gt;&lt;BR /&gt;do i have to apply swconfig command for postconfigure scripts&lt;BR /&gt;&lt;BR /&gt;Regards &lt;BR /&gt;&lt;BR /&gt;Jean-Louis&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Oct 2007 05:20:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-change-location-install-another-directory/m-p/4088038#M309963</guid>
      <dc:creator>Joël Techer</dc:creator>
      <dc:date>2007-10-18T05:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: swinstall change location / install another directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-change-location-install-another-directory/m-p/4088039#M309964</link>
      <description>-l option is to simply relocate a product to another location other than the default "/". This option effect only the SW_LOCATION variable.&lt;BR /&gt;&lt;BR /&gt;while @ specifies the system root dir in which the SW seesion is executing and default is /.&lt;BR /&gt;&lt;BR /&gt;@ effects both SW_LOCATION and SW_ROOT_DIRECTORY&lt;BR /&gt;&lt;BR /&gt;-l effects only SW_LOCATION&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90754/ch11s04.html" target="_blank"&gt;http://docs.hp.com/en/B2355-90754/ch11s04.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;Sri</description>
      <pubDate>Thu, 18 Oct 2007 06:24:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-change-location-install-another-directory/m-p/4088039#M309964</guid>
      <dc:creator>Srimalik</dc:creator>
      <dc:date>2007-10-18T06:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: swinstall change location / install another directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-change-location-install-another-directory/m-p/4088040#M309965</link>
      <description>Jean-louis,&lt;BR /&gt;&lt;BR /&gt;An other option is to untar the depot file in a temp directory, search for the configuration files, change the location to the desired install directory with vi and tar it up again.&lt;BR /&gt;&lt;BR /&gt;# mkdir /tmp/rjg&lt;BR /&gt;# mv 294652.depot /tmp/rjg&lt;BR /&gt;# cd /tmp/rjg;tar xvf 294652.depot&lt;BR /&gt;# find . -type f | xargs /usr/local&lt;BR /&gt;change the install location with vi&lt;BR /&gt;/catalog/INDEX&lt;BR /&gt;directory /usr/local&lt;BR /&gt;/catalog/zip/pfiles/INDEX&lt;BR /&gt;directory /usr/local&lt;BR /&gt;/catalog/zip/zip-RUN/INFO&lt;BR /&gt;path /usr/local/bin/zip&lt;BR /&gt;etc&lt;BR /&gt;# rm 294652.depot&lt;BR /&gt;# tar cvf 294652.depot catalog zip&lt;BR /&gt;# swinstall .....&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Thu, 18 Oct 2007 06:36:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-change-location-install-another-directory/m-p/4088040#M309965</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2007-10-18T06:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: swinstall change location / install another directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-change-location-install-another-directory/m-p/4088041#M309966</link>
      <description>hi,&lt;BR /&gt;What do your following sentense do?&lt;BR /&gt;&lt;BR /&gt;find . -type f | xargs /usr/local&lt;BR /&gt;&lt;BR /&gt;I followed your action plan&lt;BR /&gt;tar -untar file depot , modify each file &lt;BR /&gt;but i've an error&lt;BR /&gt;&lt;BR /&gt;The file "/tmp/jlp/toto/bin/zip" was not loaded because it is&lt;BR /&gt;         missing from the source media&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Oct 2007 08:18:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-change-location-install-another-directory/m-p/4088041#M309966</guid>
      <dc:creator>Joël Techer</dc:creator>
      <dc:date>2007-10-18T08:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: swinstall change location / install another directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-change-location-install-another-directory/m-p/4088042#M309967</link>
      <description>Jean-Louis,&lt;BR /&gt;&lt;BR /&gt;The find command is just for exploring the files which include /usr/local&lt;BR /&gt;&lt;BR /&gt;/catalog/INDEX&lt;BR /&gt;directory /usr/local&lt;BR /&gt;/catalog/zip/pfiles/INDEX&lt;BR /&gt;directory /usr/local&lt;BR /&gt;&lt;BR /&gt;Just did a test on a spare system, only changed the two INDEX files (/usr/local/ to /opt/usr/) and the swlist command did not give an error.</description>
      <pubDate>Thu, 18 Oct 2007 09:21:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-change-location-install-another-directory/m-p/4088042#M309967</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2007-10-18T09:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: swinstall change location / install another directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-change-location-install-another-directory/m-p/4088043#M309968</link>
      <description>hi,&lt;BR /&gt;i think you  've probably  done a mistake for the "find" command :&lt;BR /&gt;find -type f | xargs /usr/local =&amp;gt; "grep"&lt;BR /&gt;&lt;BR /&gt;after change the values i redo the swlist command =&amp;gt; oK &lt;BR /&gt;&lt;BR /&gt;#swlist -l file -s /tmp/jlp/zip-2.31-hppa-11.11.depot&lt;BR /&gt;# Initializing...&lt;BR /&gt;# Contacting target "BS300072"...&lt;BR /&gt;#&lt;BR /&gt;# Target:  TEST:/tmp/jlp/zip-2.31-hppa-11.11.depot&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;# zip           2.31           zip&lt;BR /&gt;# zip.zip-RUN&lt;BR /&gt;  /tmp/jlp/doc/zip/HPUX.Install&lt;BR /&gt;  /tmp/jlp/toto/bin/zip&lt;BR /&gt;  /tmp/jlp/toto/bin/zipcloak&lt;BR /&gt;  /tmp/jlp/toto/bin/zipnote&lt;BR /&gt;  /tmp/jlp/toto/bin/zipsplit&lt;BR /&gt;  /tmp/jlp/toto/doc/zip/BUGS&lt;BR /&gt;  /tmp/jlp/toto/doc/zip/CHANGES&lt;BR /&gt;  /tmp/jlp/toto/doc/zip/INSTALL&lt;BR /&gt;  /tmp/jlp/toto/doc/zip/LICENSE&lt;BR /&gt;  /tmp/jlp/toto/doc/zip/README&lt;BR /&gt;  /tmp/jlp/toto/doc/zip/TODO&lt;BR /&gt;  /tmp/jlp/toto/man/man1/zip.1&lt;BR /&gt;&lt;BR /&gt;swinstall -s /tmp/jlp/zip-2.31-hppa-11.11.depot zip&lt;BR /&gt;&lt;BR /&gt; Beginning Analysis and Execution&lt;BR /&gt;       * Session selections have been saved in the file&lt;BR /&gt;         "/.sw/sessions/swinstall.last".&lt;BR /&gt;       * The analysis phase succeeded for "BS300072:/".&lt;BR /&gt;ERROR:   "BS300072:/":  24 files had errors during this operation.&lt;BR /&gt;ERROR:   "BS300072:/":  1 filesets had errors.&lt;BR /&gt;&lt;BR /&gt;swjob command&lt;BR /&gt;--------------&lt;BR /&gt;&lt;BR /&gt;      * Installing fileset "zip.zip-RUN,r=2.31" (1 of 1).&lt;BR /&gt;ERROR:   The file "/tmp/jlp/doc/zip/HPUX.Install" was not loaded&lt;BR /&gt;         because it is missing from the source media.&lt;BR /&gt;ERROR:   The file "/tmp/jlp/toto/bin/zip" was not loaded because it is&lt;BR /&gt;         missing from the source media.&lt;BR /&gt;ERROR:   The file "/tmp/jlp/toto/bin/zipcloak" was not loaded because&lt;BR /&gt;         it is missing from the source media.&lt;BR /&gt;d reports:&lt;BR /&gt;&lt;BR /&gt;Perhaps something about  checksum file when i had modified the catalog INDEX INFO files&lt;BR /&gt;&lt;BR /&gt;I will test that tomorrow &lt;BR /&gt;Regards&lt;BR /&gt;Jean-Louis</description>
      <pubDate>Thu, 18 Oct 2007 09:41:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-change-location-install-another-directory/m-p/4088043#M309968</guid>
      <dc:creator>Joël Techer</dc:creator>
      <dc:date>2007-10-18T09:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: swinstall change location / install another directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-change-location-install-another-directory/m-p/4088044#M309969</link>
      <description>&amp;gt;1)So i don't understand the difference between &lt;BR /&gt;&amp;gt;swinstall -s /tmp/soft.depot soft,l=/my_rep&lt;BR /&gt;&lt;BR /&gt;Your attached depot doesn't allow this:&lt;BR /&gt;$ swlist -a is_locatable -l fileset -s $PWD/294652.depot&lt;BR /&gt;# zip           false&lt;BR /&gt;  zip.zip-RUN&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Robert-Jan: An other option is to untar the depot file in a temp directory, search for the configuration files, change the location to the desired install directory with vi&lt;BR /&gt;&lt;BR /&gt;This of course is not supported.  :-)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;# tar cvf 294652.depot catalog zip&lt;BR /&gt;&lt;BR /&gt;You can't do this.  You must use swpackage to make a tape depot.  So swcopy, edit, swpackage.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Robert-Jan: The find command is just for exploring the files which include /usr/local&lt;BR /&gt;&amp;gt;i think you 've probably done a mistake for the "find" command:&lt;BR /&gt;&lt;BR /&gt;Exactly, RJ forgot a grep:&lt;BR /&gt;find . -type f -exec grep /usr/local +&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Perhaps something about checksum file when i had modified the catalog INDEX INFO files&lt;BR /&gt;&lt;BR /&gt;I first thought that some years ago and cleverly adjusted the size and timestamp but I don't think there is any checking for that.  In fact one INDEX file has itself but with the wrong size.&lt;BR /&gt;&lt;BR /&gt;I think the problem is that a depot is a very special tar file and you must use swpackage to make it.  See my reply here:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1155691" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1155691&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;# swpackage -x media_type=tape -s $PWD/esm-ice-scripts-1.9.d @ \&lt;BR /&gt;$PWD/esm-ice-scripts-1.9.depot</description>
      <pubDate>Tue, 23 Oct 2007 03:41:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-change-location-install-another-directory/m-p/4088044#M309969</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-10-23T03:41:30Z</dc:date>
    </item>
  </channel>
</rss>

