David Jarvis wrote: > > -- > Can anyone help me with reasonably detailed instructions of where to > place manually downloaded .deb files, and how to alter the conf > files, so that apt-get uses these already downloaded .deb files and > does not try to > get new ones from the net
1. You don't need to alter conf files. If a *.deb file is already there, it will be used. If you absolutely want to forbid apt-get to look on the net, edit the file /sw/etc/apt/sources.list and comment (place '#' at the beginning of) the lines that contain http:// URLs. 2. Read http://fink.sourceforge.net/doc/packaging/format.php#trees to understand the layout of the /sw/fink file tree. 3. Locate the *.info file that corresponds to your downloaded *.deb. In its path, replace "finkinfo" by "binary-darwin-powerpc" and you have the directory where to put your *.deb. If you are not sure your *.info file is at the right place, you can also look the package up in the package list at http://fink.sourceforge.net/pdb/list.php. In the package info there you'll find the tree and the section you need to reconstruct the path where your *.deb goes. As an example, assume you have found a file named grace_5.1.5-1_darwin-powerpc.deb somewhere on the net. How to find out where it goes? - If you downloaded it from the Fink site, the URL of the file gives you the necessary information: You found the file in http://fink.sourceforge.net/bindist/dists/fink-0.3.2a/main/binary-darwin-powerpc/sci. Now just replace the path up to "fink-0.3.2a" by "sw/fink/dists/stable". - If you found it somewhere else or forgot where, locate the *.info file: cd /sw/fink/dists ff grace\*info Answer: ./stable/main/finkinfo/sci/grace-5.1.5-1.info ./unstable/main/finkinfo/sci/grace-5.1.5-4.info Again you see where you have to put it: /sw/fink/dists/stable/main/binary-darwin-powerpc/sci/ - If you click on the link for grace in the package list page at http://fink.sourceforge.net/pdb/list.php, you see that your version is in the stable distribution, and that its Section is "sci". Again you get the same path as above. -- Martin _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
