Re: Setting up a local mirror
-----BEGIN PGP SIGNED MESSAGE-----
John Oxley wrote:
| My problem comes when I try to download a package such as sfs it
| wants to get the file from
| 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
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.
Edward J. Shornock
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----