On Vi, 28 dec 12, 10:50:27, Richard Owlett wrote: > I routinely work without a viable network connection of any kind. My > response was to purchase a eight DVD set of "squeeze". Using the DVD > directory structure as an example I have copied the contents of > /pool to a 64GB flash drive. I have also copied the directory > structure of /dists to the flash drive. > > I've lost links to: > a. creating the packages and packages.gz files. > b. how to point apt/synaptic/... to this repository. This is the relevant part of the script I'm using: # This part generates the minimum necessary files # for an apt repository. # Assumptions: # - this script is run in the directory with packages # - apt-ftparchive is installed (package apt-utils) # - you have a GPG key (the default key is used) # apt seems to require both, even if only one is used apt-ftparchive packages ./ > Packages apt-ftparchive packages ./ | gzip > Packages.gz apt-ftparchive release ./ > Release gpg --armor --detach-sign --sign --output Release.gpg Release # a sources.list line should look like this # deb file:/directory/with/debs ./ Hope this helps, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
Attachment:
signature.asc
Description: Digital signature