On Tue, Jul 29, 2003 at 01:58:57PM +1000, Rene Cunningham wrote:
> Gday,
>
> Is there a Debian tool that will help me regenerate Packages.gz from a
> pool of packages? I can use dpkg-scanpackages in a script but since i
> have woody and sid packages in the same pool directory, the latest
> version is written to Packages.gz
>
> Script goes something like
>
> PKGDIR=`find pool -type d -print | uniq`
>
> for PKG in ${PKGDIR}; do
> if [ -d "${PKG}" ]; then
> chmod a+r ${PKG}
> echo Making Packages.gz
> echo
> dpkg-scanpackages ${PKG} /dev/null | gzip -9c >>
> dists/stable/main/binary-i386/Packages.gz
> fi
Have you looked at mini-dinstall or apt-ftparchive? They're probably
closer to what you want.
--
Rob Weir <rweir@ertius.org> | mlspam@ertius.org | Do I look like I want a CC?
Words of the day: CNCIS Croatian ASDIC e-cash Sarin nerve gas underground
Attachment:
pgpkGpaPtdl8E.pgp
Description: PGP signature