[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Setting up a local mirror



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

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
|
- --
Edward J. Shornock

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCEb4W3IV9jHsBFhMRAu+lAJ9/jEHfiQqUtzBxbUOrn9CHfZgLowCfZS2q
tpUIQtZO/d4MKXEg/Ik9/rk=
=bqTL
-----END PGP SIGNATURE-----



Reply to: