Viv Kendon wrote: []
Actually, if all one needs to do is sync the /sw/fink trees, one could use probably use unison as a painless way to do it tunnelled through
I don't know unison, but yes, you can use whatever software you have for synchronizing through an ssh tunnel.
ssh. I've never tried using unison with root perms on the originating end though. Would it cause problems if I chown'd the entire /sw/fink part of the tree to my normal UID? The remote end should be no problem owned by root since it should be readable for all the files to be fetched.
I don't think it matters who owns the debs. Looking through my machine here, I see most of them owned by root, but a couple of them by me; I don't know why this is so, but it doesn't seem to make a difference. All the subdirectories of /sw/fink are owned by me (except for dists/local/{bootstrap,injected}, curiously).
The steps would then be:
1. run fink update and fink scanpackages on the server
2. run unison to sync /sw/fink between the server and client
[Do I need an index/scanpackages step on the client?]
You need scanpackages if you use apt-get or FinkCommander, not if you only use "fink install" or "sudo dpkg -i". I don't know about "index", this will have to be seen; I suspect with "fink install" it will be done automatically when needed.
3. use FinkCommander (or apt-get) to install the chosen packages (I only want a subset on the client).
This is the disadvantage of this method: You download all of the debs that exist on the server, even if you don't want them locally. But bandwidth and disk capacity being as they are nowadays, this will probably not matter in comparison with the time spent on multiple compilations.
Another thing you should do when using this method: Run "fink selfupdate" from time to time anyway, even if it is not necessary for getting the latest package descriptions (since you will have been running selfupdate on the bindist server). Fink selfupdate does some additional useful things like checking that the latest versions of the basic packages are installed correctly. And if you run it after the synchronization with the server, it will not start compiling dpkg or apt as it may be doing otherwise.
-- 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
