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

Re: apt-ftparchive: How to generate Packages index file with newest package only?



Hi,

On Wed, Sep 15, 2021 at 01:32:33PM +0200, Ingo Brückl wrote:
> Can it be configured to act like dpkg-scanpackages and omit older packages?

There is no direct option for it, no.

You would have to prepare a filelist according to your wishes and use
that instead of including everything from a given directory. Or, well,
you could even stick with dpkg-scanpackages.


That said, apt and co default to looking at the newest versions from
a Packages list anyway and as the stanzas are likely to be mostly the
same they even compress well, so depending on why you want to do this
the time might be better invested elsewhere.


Best regards

David Kalnischkies

Attachment: signature.asc
Description: PGP signature


Reply to: