Re: dpkg-scanpackages [was Re: General debian questions]
On Tue, Dec 16, 2003 at 03:59:04AM -0800, Nunya wrote:
> On Tue, Dec 16, 2003 at 11:40:45AM +0000, Colin Watson wrote:
> > Use dpkg-scanpackages to update the Packages file (and remember to gzip
> > it, so you've got Packages.gz).
> When you say "update" the Packages, are you implying that you can do an
> incremental update of an existing Packages file?
I was just talking about replacing it, actually.
> I use the command:
> #dpkg-scanpackages latest /dev/null > $sub/Packages
> and every invocation takes the same amount of time, it's quite a lengthy
> process, even though the archive is but little changed -- it doesn't
> "reuse" what it can.
You might like to look into apt-ftparchive, which was written because
dpkg-scanpackages was getting too slow for the needs of the Debian
archive. However, I haven't used it myself so I'm hesitant to recommend
it straight off because I don't know how hard it is to set up. (It might
be quite easy, which would be nice ...)
Colin Watson [firstname.lastname@example.org]