<?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: Create depot in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/create-depot/m-p/2606400#M35153</link>
    <description>Hi Marcelo,&lt;BR /&gt;&lt;BR /&gt;Refer to the link below for more info. The HP Manual in the thread below would be a big help to you.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/B2355-90127/B2355-90127.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/B2355-90127/B2355-90127.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/B2355-90740/B2355-90740.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/B2355-90740/B2355-90740.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hoep this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
    <pubDate>Fri, 02 Nov 2001 13:54:44 GMT</pubDate>
    <dc:creator>Sanjay_6</dc:creator>
    <dc:date>2001-11-02T13:54:44Z</dc:date>
    <item>
      <title>Create depot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-depot/m-p/2606397#M35150</link>
      <description>How can i create a depot file for install software ?&lt;BR /&gt;&lt;BR /&gt;MDF</description>
      <pubDate>Fri, 02 Nov 2001 13:44:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-depot/m-p/2606397#M35150</guid>
      <dc:creator>Marcelo De Florio_1</dc:creator>
      <dc:date>2001-11-02T13:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create depot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-depot/m-p/2606398#M35151</link>
      <description>Take a look at this thread point to the other threads or use the search facility top left ...this has been covered a few times now&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0xb9ec660142b2d5118ff10090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0xb9ec660142b2d5118ff10090279cd0f9,00.html&lt;/A&gt;</description>
      <pubDate>Fri, 02 Nov 2001 13:48:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-depot/m-p/2606398#M35151</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2001-11-02T13:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create depot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-depot/m-p/2606399#M35152</link>
      <description>First you have to create a patch depot directory:&lt;BR /&gt;&lt;BR /&gt;mkdir /depot/patches&lt;BR /&gt;&lt;BR /&gt;Then, copy each p[atch into the depot:&lt;BR /&gt;&lt;BR /&gt;swcopy -s /PHxx_yyy1.depot PHxxx_yyy1 @ /depot/patches&lt;BR /&gt;swcopy -s /PHxx_yyy2.depot PHxxx_yyy2 @ /depot/patches&lt;BR /&gt;....&lt;BR /&gt;&lt;BR /&gt;you can then register the depot using:&lt;BR /&gt;&lt;BR /&gt;swreg -l depot /depot/patches&lt;BR /&gt;&lt;BR /&gt;but it is registered automatically by swcopy by default, so you don't usually need to.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Vince</description>
      <pubDate>Fri, 02 Nov 2001 13:51:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-depot/m-p/2606399#M35152</guid>
      <dc:creator>Vincent Farrugia</dc:creator>
      <dc:date>2001-11-02T13:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Create depot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-depot/m-p/2606400#M35153</link>
      <description>Hi Marcelo,&lt;BR /&gt;&lt;BR /&gt;Refer to the link below for more info. The HP Manual in the thread below would be a big help to you.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/B2355-90127/B2355-90127.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/B2355-90127/B2355-90127.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/B2355-90740/B2355-90740.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/B2355-90740/B2355-90740.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hoep this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Nov 2001 13:54:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-depot/m-p/2606400#M35153</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-11-02T13:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Create depot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-depot/m-p/2606401#M35154</link>
      <description>HI&lt;BR /&gt;To copy different patches downloaded at dir /tmp/patches can be copied in to a depot at /PATCHES using following command.&lt;BR /&gt;&lt;BR /&gt;for i in `ls /tmp/patches/*.depot`&lt;BR /&gt;{&lt;BR /&gt;swcopy -x enforce_dependencies=false -s $(i) \* @/PATCHES&lt;BR /&gt;}&lt;BR /&gt;swreg -l depot /PATCHES&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Prashant.</description>
      <pubDate>Fri, 02 Nov 2001 14:29:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-depot/m-p/2606401#M35154</guid>
      <dc:creator>Deshpande Prashant</dc:creator>
      <dc:date>2001-11-02T14:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Create depot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-depot/m-p/2606402#M35155</link>
      <description>I haven't copy software, I need generate a depot file. &lt;BR /&gt;&lt;BR /&gt;MDF &lt;BR /&gt;</description>
      <pubDate>Fri, 02 Nov 2001 14:31:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-depot/m-p/2606402#M35155</guid>
      <dc:creator>Marcelo De Florio_1</dc:creator>
      <dc:date>2001-11-02T14:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Create depot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-depot/m-p/2606403#M35156</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;The steps that we gave you creates a depot file of patches requested in the swcopy.&lt;BR /&gt;&lt;BR /&gt;swcopy is the command to compile the depot.&lt;BR /&gt;&lt;BR /&gt;Vince</description>
      <pubDate>Fri, 02 Nov 2001 14:44:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-depot/m-p/2606403#M35156</guid>
      <dc:creator>Vincent Farrugia</dc:creator>
      <dc:date>2001-11-02T14:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create depot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-depot/m-p/2606404#M35157</link>
      <description>Hi Marcelo,&lt;BR /&gt;&lt;BR /&gt;If you have your required patches in a depot, create a depot file using:&lt;BR /&gt;&lt;BR /&gt;swpackage -s depot_name -x target_type=tape @ target_filename&lt;BR /&gt;&lt;BR /&gt;For example,&lt;BR /&gt;&lt;BR /&gt;depot_name directory = /source/builds/Jun01_LVM_patches&lt;BR /&gt;&lt;BR /&gt;target_filename = /source/builds/Jun01_LVM_patches.depot&lt;BR /&gt;&lt;BR /&gt;Rgds, Robin.</description>
      <pubDate>Fri, 02 Nov 2001 14:45:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-depot/m-p/2606404#M35157</guid>
      <dc:creator>Robin Wakefield</dc:creator>
      <dc:date>2001-11-02T14:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create depot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-depot/m-p/2606405#M35158</link>
      <description>I need a create depot with JAD  software, so I execute swpackage -s /desa_produccion/fuentes/opt_bin/jad @ /tmp/soft/depot/jad.depot, the output is &lt;BR /&gt;NOTE:    Adding unrecognized keyword "H@?? at line 2841.&lt;BR /&gt;NOTE:    Adding unrecognized keyword "&lt;BR /&gt;B@:H" at line 2843.&lt;BR /&gt;NOTE:    Adding unrecognized keyword "" at line 2844.&lt;BR /&gt;NOTE:    Adding unrecognized keyword "&lt;BR /&gt;" at line 2846.&lt;BR /&gt;WARNING: No value defined for the keyword "H@p4\", at line 2847.&lt;BR /&gt;WARNING: Exiting due to keyboard interrupt.&lt;BR /&gt;&lt;BR /&gt;Any ideas&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Nov 2001 14:55:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-depot/m-p/2606405#M35158</guid>
      <dc:creator>Marcelo De Florio_1</dc:creator>
      <dc:date>2001-11-02T14:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Create depot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-depot/m-p/2606406#M35159</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Man swpackage states that the filename after the -s switch is used to:&lt;BR /&gt;&lt;BR /&gt;"describe the product, subproduct, fileset, and file definitions used to build a software product from a set of source files.  The source can also be an existing directory depot (which already contains products).&lt;BR /&gt;&lt;BR /&gt;The file should be a product specification file.  I guess you gave it a file which is not a PSF and therefore is giving out all sorts of errors.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Vince&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Nov 2001 15:18:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-depot/m-p/2606406#M35159</guid>
      <dc:creator>Vincent Farrugia</dc:creator>
      <dc:date>2001-11-02T15:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Create depot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-depot/m-p/2606407#M35160</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;to create a depot, you need to create a package specification file (.psf) to define what goes into the depot.  This includes prerequisites (software that needs to be installed before your depot is installed), where software to put into the depot is found, where to put that software on the destination install machine, file ownerships and permission settings, etc.&lt;BR /&gt;&lt;BR /&gt;I'm sure theres some good docs somewhere you could get your hands on, or man pages that will give you the full lowdown on this, but here's a sample of what you can put into it:&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# Vendor Definition&lt;BR /&gt;#&lt;BR /&gt;vendor&lt;BR /&gt;    tag         companytag&lt;BR /&gt;    title       Mycompany Ltd.&lt;BR /&gt;    description     The company that does stuff&lt;BR /&gt;end&lt;BR /&gt;#&lt;BR /&gt;# Product Definition&lt;BR /&gt;#&lt;BR /&gt;product&lt;BR /&gt;&lt;BR /&gt;    tag         namethatappearsinswinstall&lt;BR /&gt;    title       Mycompany's cool software&lt;BR /&gt;    revision    2.3&lt;BR /&gt;    description &amp;lt;./description&lt;BR /&gt;    copyright   &amp;lt;./copyright&lt;BR /&gt;    architecture    S700/S800_HPUX_11.0&lt;BR /&gt;    machine_type    9000/[78]*&lt;BR /&gt;    os_name     HP-UX&lt;BR /&gt;    os_release  ?.11.*&lt;BR /&gt;    os_version  [A-Z]&lt;BR /&gt;    directory   /&lt;BR /&gt;&lt;BR /&gt;    #&lt;BR /&gt;    # Fileset Definitions&lt;BR /&gt;    #&lt;BR /&gt;&lt;BR /&gt;    fileset&lt;BR /&gt;     #dependencies&lt;BR /&gt;    tag         fileset1&lt;BR /&gt;    title       MCS Product Fileset&lt;BR /&gt;    revision    2.3&lt;BR /&gt;    prerequisites  othersw,r=1.0&lt;BR /&gt;    corequisites   othersw,r=1.0&lt;BR /&gt;        directory   ./ = /home/mcsuser&lt;BR /&gt;    configure   mcsconfigure.ksh&lt;BR /&gt;    preremove   mcspreremove.ksh&lt;BR /&gt;&lt;BR /&gt;    directory   ./ = /opt/mcs/bin&lt;BR /&gt;    file        -m 0755 -o mcsuser -g bin mcsbin1&lt;BR /&gt;    file        -m 0755 -o mcsuser -g bin mcsbin2&lt;BR /&gt;&lt;BR /&gt;end&lt;BR /&gt;# End of PSF&lt;BR /&gt;&lt;BR /&gt;To be honest I haven't gone to the trouble of working out whether all of this stuff is completely necessary, but it works so...&lt;BR /&gt;&lt;BR /&gt;One or two notes, the configure part is a script that is run to do the configuring part of the swinstall process, after the files are put in place.  The preremove is the script that is run by swremove before the files are deleted on the system, to do various cleaning up things, like delete databases that your product created, or whatever else needs to be done to clean up a system.  I don't think these are mandatory, but can be useful.  You can also have preinstall, postinstall, and a couple like that I think, but again check out the docs to get those.&lt;BR /&gt;&lt;BR /&gt;You can repeat the directory/file part as often as you like for whatever files/directories your software needs files in.  The ./ = /opt/mcs/bin means that it'll get the software from the current directory (pwd of shell that swinstall is run from), and when installing it, it'll put it into /opt/mcs/bin.  Swinstall will create these directories so theres no need to have a preinstall script to create these.  Change these to whatever suits.&lt;BR /&gt;&lt;BR /&gt;Hope that helps?&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Kevin.</description>
      <pubDate>Sun, 04 Nov 2001 18:22:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-depot/m-p/2606407#M35160</guid>
      <dc:creator>Kevin O'Donovan</dc:creator>
      <dc:date>2001-11-04T18:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Create depot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-depot/m-p/2606408#M35161</link>
      <description># lsf /var/tmp/patches   PHCO_17891  PHCO_19348  PHKL_19361  PHSS_17726  PHSS_18966   PHSS_19400  PHCO_18353  PHKL_18376  PHKL_19569  PHSS_18667&lt;BR /&gt;&lt;BR /&gt;# cd /var/tmp/patches# for i in PH*&lt;BR /&gt;        do&lt;BR /&gt;           sh $i&lt;BR /&gt;        done&lt;BR /&gt;&lt;BR /&gt;        &lt;BR /&gt;# for i in PH*.depot          do&lt;BR /&gt;       swcopy -s ${PWD}/$i \* @ /var/opt/ignite/PATCHES&lt;BR /&gt;&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;This will make a single installable bundle&lt;BR /&gt;You'll need &lt;A href="http://www.hp.com/products/IUX/" target="_blank"&gt;http://www.hp.com/products/IUX/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;# make_bundles -B -n Nov2001 -t "HP-UX 11.00 Nov 2001 Patches" \                /var/opt/ignite/PATCHES</description>
      <pubDate>Mon, 05 Nov 2001 12:43:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-depot/m-p/2606408#M35161</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2001-11-05T12:43:13Z</dc:date>
    </item>
  </channel>
</rss>

