Chris Zubrzycki wrote: []
That's not quite correct. The man page says nothing about using rsync for apt. Also, rsync is horrible for binary files. It was designed more for text files. The ssh method is basically a scp to get the packages. I've never tried it, but if you set up your ssh keys correctly and watch the sshd logs it's possible to test it and get a working config line.
Good luck. I did try it and didn't get it to work. This doesn't mean, of course, that someone else cannot get it to work. If you look at the apt sources, there is indeed some code for the "rsh" method. I am seeing a discussion of these things on the fink-beginners list as early as February 2002 where I asked whether anyone ever got this to work. No one answered then.
As to rsync, it works very well for binary files, too, you can use it to do big backups, for example. For using a Fink bindist server, you can use rsync to synchronize /sw/fink on the server with /sw/fink on the local machine manually:
rsync -auzv -e ssh [EMAIL PROTECTED]:/sw/fink/ /sw/fink/
This gives you the package descriptions plus the debs. Then you can just say "fink install foo", and if foo was built on the server, it will now install the deb that was downloaded by rsync. If you want to use apt-get or FinkCommander for the local installation, you would run "fink scanpackages" first.
What Viv would probably like to have is a kind of "fink selfupdate-rsync-bindist" that would work almost like selfupdate-rsync, except that it would a) use the local bindist server instead of the Fink mirror network, and b) download not only the package descriptions in the finkinfo directories, but also the debs in the binary-darwin-powerpc directories. I am sure this could be achieved by a rather simple modification of the --exclude and --include options on the rsync command line in SelfUpdate.pm.
-- Martin
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
