[csw-devel] SF.net SVN: gar:[17830] csw/mgar/pkg/opencsw-manual/trunk/files/ for-administrators/getting-started.rst

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Mon Apr 23 14:17:32 CEST 2012


Revision: 17830
          http://gar.svn.sourceforge.net/gar/?rev=17830&view=rev
Author:   wahwah
Date:     2012-04-23 12:17:31 +0000 (Mon, 23 Apr 2012)
Log Message:
-----------
manual: Installing without direct Internet access

Added better instructions and added back link to the community site.

Modified Paths:
--------------
    csw/mgar/pkg/opencsw-manual/trunk/files/for-administrators/getting-started.rst

Modified: csw/mgar/pkg/opencsw-manual/trunk/files/for-administrators/getting-started.rst
===================================================================
--- csw/mgar/pkg/opencsw-manual/trunk/files/for-administrators/getting-started.rst	2012-04-23 12:17:09 UTC (rev 17829)
+++ csw/mgar/pkg/opencsw-manual/trunk/files/for-administrators/getting-started.rst	2012-04-23 12:17:31 UTC (rev 17830)
@@ -160,10 +160,28 @@
 Creating a .pkg file for a host without an Internet connection
 --------------------------------------------------------------
 
-You can also mirror only a subset of the repository, e.g. the ``unstable``
-catalog or even just a few packages::
+If you need to install a package with multiple dependencies on a host with no
+Internet access, you can use pkgutil to prepare a .pkg file with the whole
+dependency chain. This wasy is much easier than copying dependencies one by
+one::
 
-  pkgutil --stream vim
+  pkgutil \
+    --stream \
+    --target=sparc:5.10 \
+    --output imagemagick-and-others.pkg \
+    --yes \
+    --download \
+    imagemagick coreutils vim ggrep gsed
 
-This option is useful when you want to install a package with dependencies on a
-host with no direct Internet access.
+At the end of the run, pkgutil displays the correct order to install the
+packages in.
+
+The resulting package stream will be placed in the ``~/.pkgutil/packages``
+directory.
+
+This topic is also `discussed`_ on the community site.
+
+.. _discussed:
+   http://www.opencsw.org/community/
+   questions/92/
+   installing-without-a-direct-internet-access

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list