On Mon, May 03, 1999 at 04:45:00PM -0300, Betoes wrote:
> We are trying to make a local distribution with specific packages for our 
> research project.
> 
> How can we generate the Packages.gz based on our ftp server?
> 
> We generated the tree directory of our packages, and they are placed in:
> 
> /debian/dists/stable/local/binary-i386/tools/*.deb
> 
> Is the generation of Packages.gz enough to use apt on a client machine?
> 
> Thanks.
Yep, all you need to do is create an override file and run
dpkg-scanpackages on it.  Run the output through gzip -c and apt will
hapily take it.  See dpkg-scanpackages(8) for the proper call as well as
the format of the override file.

PS. For local archives, dists/distname/binary-arch/section isn't really
necessary unless your local archive contains multiple distributions and
build platforms.

-- 
Shane Wegner: [EMAIL PROTECTED]
Sysadmin, Continuum Systems: http://www.cm.nu   Tel: (604) 930-0530
Personal website: http://www.cm.nu/~shane       Fax: (604) 930-0529
PGP: keyid:       2048/F5C2BD91                 ICQ UIN: 120000
     Fingerprint: 8C 48 B9 D8 53 BB D8 EF
                  76 BB DB A2 1C 0D 1D 87

Attachment: pgpnWqsnQKwc7.pgp
Description: PGP signature

Reply via email to