<?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: swremove removes only files? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swremove-removes-only-files/m-p/4925850#M408945</link>
    <description>The swremove command removes software_selections from     target_selections (e.g. root filesystems).  When removing installed   software, swremove also unconfigures the software before it is     removed.  The software is not unconfigured when removed from an  alternate root directory since it was not configured during    installation.  When removing available software (within a depot),   swremove also does not perform the unconfiguration task.&lt;BR /&gt;&lt;BR /&gt;Note: Selecting a bundle for removal does not always remove all    filesets in that bundle. If a particular fileset is required by     another bundle, that fileset will not be removed. For example, if the    bundles Pascal and FORTRAN both use the fileset Debugger.Run and you    try to remove FORTRAN , the fileset Debugger.Run will not be removed       because it is also used by the bundle Pascal.  This is done to prevent       the removal of one bundle from inadvertently causing the removal of   filesets needed by another bundle&lt;BR /&gt;</description>
    <pubDate>Wed, 14 Sep 2005 05:00:58 GMT</pubDate>
    <dc:creator>morganelan</dc:creator>
    <dc:date>2005-09-14T05:00:58Z</dc:date>
    <item>
      <title>swremove removes only files?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swremove-removes-only-files/m-p/4925846#M408941</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Does swremove only remove "files" that belong to the depot being removed and not directories?&lt;BR /&gt;If yes, then is there any way to remove the directories as well?&lt;BR /&gt;&lt;BR /&gt;-Binu&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Sep 2005 04:45:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swremove-removes-only-files/m-p/4925846#M408941</guid>
      <dc:creator>Binu George</dc:creator>
      <dc:date>2005-09-14T04:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: swremove removes only files?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swremove-removes-only-files/m-p/4925847#M408942</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;swremove removes all items including directories.&lt;BR /&gt;&lt;BR /&gt;Regards, MB.</description>
      <pubDate>Wed, 14 Sep 2005 04:50:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swremove-removes-only-files/m-p/4925847#M408942</guid>
      <dc:creator>Marcel Boogert_1</dc:creator>
      <dc:date>2005-09-14T04:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: swremove removes only files?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swremove-removes-only-files/m-p/4925848#M408943</link>
      <description>It depends on how the preremove, postremove and  unconfigure scripts are written. If a product uses any configuration files of its own, mostly swremove wont remove dir it belongs to. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Wed, 14 Sep 2005 04:54:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swremove-removes-only-files/m-p/4925848#M408943</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-09-14T04:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: swremove removes only files?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swremove-removes-only-files/m-p/4925849#M408944</link>
      <description>Hi binu,&lt;BR /&gt;If you are very sure that the direcory belong to that package itlsef then you can remove it manually.&lt;BR /&gt;&lt;BR /&gt;rm -r &lt;DIRNAME&gt;&lt;BR /&gt;&lt;BR /&gt;swinstall many times won't remove directories. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;/DIRNAME&gt;</description>
      <pubDate>Wed, 14 Sep 2005 05:00:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swremove-removes-only-files/m-p/4925849#M408944</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2005-09-14T05:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: swremove removes only files?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swremove-removes-only-files/m-p/4925850#M408945</link>
      <description>The swremove command removes software_selections from     target_selections (e.g. root filesystems).  When removing installed   software, swremove also unconfigures the software before it is     removed.  The software is not unconfigured when removed from an  alternate root directory since it was not configured during    installation.  When removing available software (within a depot),   swremove also does not perform the unconfiguration task.&lt;BR /&gt;&lt;BR /&gt;Note: Selecting a bundle for removal does not always remove all    filesets in that bundle. If a particular fileset is required by     another bundle, that fileset will not be removed. For example, if the    bundles Pascal and FORTRAN both use the fileset Debugger.Run and you    try to remove FORTRAN , the fileset Debugger.Run will not be removed       because it is also used by the bundle Pascal.  This is done to prevent       the removal of one bundle from inadvertently causing the removal of   filesets needed by another bundle&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Sep 2005 05:00:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swremove-removes-only-files/m-p/4925850#M408945</guid>
      <dc:creator>morganelan</dc:creator>
      <dc:date>2005-09-14T05:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: swremove removes only files?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swremove-removes-only-files/m-p/4925851#M408946</link>
      <description>Based upon Software Distributor Package scripts preremove and postremove, swremove removes file and directories. Generally few directories are exisiting the machine with few files for upgradation same software package. Some of the products will leave message that please remove directory manually if you don't want for upgradation.&lt;BR /&gt;&lt;BR /&gt;rm -rf &lt;DIRECTORY&gt;&lt;BR /&gt;&lt;BR /&gt;Example Packages: Netscape Directory Service, Legato Networker&lt;BR /&gt;&lt;BR /&gt;If you don't want to use that specific s/w for future upgradation then remove directory. &lt;BR /&gt;&lt;BR /&gt;hth.&lt;/DIRECTORY&gt;</description>
      <pubDate>Wed, 14 Sep 2005 05:20:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swremove-removes-only-files/m-p/4925851#M408946</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-09-14T05:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: swremove removes only files?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swremove-removes-only-files/m-p/4925852#M408947</link>
      <description>Hi,&lt;BR /&gt;Complete removing or not, depecds on the software packet.&lt;BR /&gt;&lt;BR /&gt;For example, if removing Data Protector, the configuration directorys /etc/opt/omni and database directorys /var/opt/omni/db40 is left untouched.</description>
      <pubDate>Wed, 14 Sep 2005 05:34:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swremove-removes-only-files/m-p/4925852#M408947</guid>
      <dc:creator>Leif Halvarsson_2</dc:creator>
      <dc:date>2005-09-14T05:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: swremove removes only files?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swremove-removes-only-files/m-p/4925853#M408948</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thank you for all the responses.&lt;BR /&gt;I have a couple of products, which when swremoved, donot remove any of the directories. Only the files are removed. &lt;BR /&gt;Is this behaviour to be taken care of by using control scripts during packaging of the product?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Binu</description>
      <pubDate>Fri, 16 Sep 2005 04:34:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swremove-removes-only-files/m-p/4925853#M408948</guid>
      <dc:creator>Binu George</dc:creator>
      <dc:date>2005-09-16T04:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: swremove removes only files?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swremove-removes-only-files/m-p/4925854#M408949</link>
      <description>Yes binu, you are correct. Behaviour of swremove is totally defined in the control scripts. You can remove those directories, before doing that, take a look at the contents (files) inside. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Fri, 16 Sep 2005 04:36:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swremove-removes-only-files/m-p/4925854#M408949</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-09-16T04:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: swremove removes only files?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swremove-removes-only-files/m-p/4925855#M408950</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;If you want to know exactly what Directories/files that particular product/fileset writes to you can do a tar xvf on the swpackaged file (which was swinstalled). That way you would know exactly what you remove and you would also get a chance to see the preremove, checkremove and postremove files (which control what would be removed from swremove)&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Giri Sekar.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Sep 2005 07:05:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swremove-removes-only-files/m-p/4925855#M408950</guid>
      <dc:creator>Giri Sekar.</dc:creator>
      <dc:date>2005-09-16T07:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: swremove removes only files?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swremove-removes-only-files/m-p/4925856#M408951</link>
      <description>&lt;BR /&gt;Thanks Arun.&lt;BR /&gt;This means to say, when packaging a product, I should take care to have a postremove script that takes care of removing the directories that the product gets installed into. Am I correct?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Binu&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Sep 2005 07:07:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swremove-removes-only-files/m-p/4925856#M408951</guid>
      <dc:creator>Binu George</dc:creator>
      <dc:date>2005-09-16T07:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: swremove removes only files?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swremove-removes-only-files/m-p/4925857#M408952</link>
      <description>Arun has provided me with the answer to my query.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Binu&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Sep 2005 04:15:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swremove-removes-only-files/m-p/4925857#M408952</guid>
      <dc:creator>Binu George</dc:creator>
      <dc:date>2005-09-22T04:15:20Z</dc:date>
    </item>
  </channel>
</rss>

