Edward Shornock wrote:
John Oxley wrote: | | | My problem comes when I try to download a package such as sfs it | wants to get the file from | http://myhost/debian/pool/main/binary-i386/sfs/filename.deb | The problem is on my server, I have everything in | http://myhost/debian/pool/ with no directory structure. Try dpkg-scanpackages, available with the dpkg-dev package. Then you could do something like ~ cd $where-you-keep-the-files ~ dpkg-scanpackages . /dev/null > Packages.gz
Actually, it should be "dpkg-scanpackages . /dev/null |gzip -9v > Packages.gz"
then a line to /etc/apt/sources.list like ~ deb http://myhost/debian/ pool/ should do the trick, I think. | How can I either make the client machine download everything from | http://myhost/debian/pool/ or easily restructure the directory | where I am storing everything? Preferably the latter option. | I'm afraid I don't know how to do the latter, but the steps I gave should take care of the former. | TIA | HTH | -John |