Alexander K. Hansen <[EMAIL PROTECTED]> said:
> On May 26, 2005, at 8:28 AM, Roger Butland wrote:
>>
>> The problem with the method described at 
>> http://fink.sourceforge.net/doc/advanced/bindist.php?phpLang=en is 
[...]
>> In my case the two machines are physically isolated and I do not want 
>> to set one of them up and expose it as a web server.
>> We have been attempting to transfer files via cd and flash memory.
>
> It's actually not that hard:
>
> For .deb files, there is  the apt-zip package, which is designed to do 
> this.
>
> You can also copy the .deb files to a removable disc and then on the 
> offline computer just use
>
> dpkg -i <filename>
>
> to install them--this doesn't do any dependency tracking, though.

I find it easier to copy the .deb for package I build on one machine
to another machine and place them where they would be if they had been
compiled on this new machine. The new machine's fink adopts them as
its own.

  machine1 % cd /Volumes/FlashDrive
  machine1 % tar -czf deb-collection.tar.gz `readlink /sw/fink/debs/*`

  machine2 % cd /sw/fink/debs
  machine2 % tar -xzf /Volumes/FlashDrive/deb-collection.tar.gz

Note that this requires stuff be built yourself on the first machine
(not downloaded via apt-get or with fink's UseBinaryDist mode) and
that your package description (.info) files (in /sw/fink/dists/) also
be in sync on the two machines. Hrm, actually perhaps transfering the
whole /sw/fink hierarchy would be better in your case, since that
would effectively "selfupdate" the off-line machine to match the
online one.

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks




-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to