X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/b2e465d6d32d2dc884f58b94acb7e35f671a87fe..96b83b826ef733fa4fdfe99dd5009cba5af9a2c4:/doc/offline.sgml diff --git a/doc/offline.sgml b/doc/offline.sgml index 0db89f12e..ecbd85cf7 100644 --- a/doc/offline.sgml +++ b/doc/offline.sgml @@ -1,10 +1,10 @@ - + Using APT Offline Jason Gunthorpe jgg@debian.org -$Id: offline.sgml,v 1.3 2001/02/20 07:03:17 jgg Exp $ +$Id: offline.sgml,v 1.8 2003/02/12 15:06:41 doogie Exp $ This document describes how to use APT in a non-networked environment, @@ -21,7 +21,7 @@ option) any later version.

For more details, on Debian GNU/Linux systems, see the file -/usr/doc/copyright/GPL for the full license. +/usr/share/common-licenses/GPL for the full license. @@ -114,14 +114,15 @@ disc: // Binary caches will be stored locally Cache::archives "/disc/archives/"; - + Cache "/tmp/"; + // Location of the source list. Etc "/disc/"; }; More details can be seen by examining the apt.conf man page and the sample -configuration file in /usr/doc/apt/examples/apt.conf. +configuration file in /usr/share/doc/apt/examples/apt.conf.

On the remote Debian machine the first thing to do is mount the disc and copy @@ -151,7 +152,7 @@ the Debian machine. Take the disc back and run: # export APT_CONFIG="/disc/apt.conf" # apt-get check [ APT generates a local copy of the cache files ] - # apt-get --no-d -o dir::etc::status=/var/lib/dpkg/status dist-upgrade + # apt-get --no-d -o dir::state::status=/var/lib/dpkg/status dist-upgrade [ Or any other APT command ]