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

Bug#752702: apt: please add a way to to retrieve the location of Packages/Sources files in /var/lib/apt/lists/



Hi Julian,

Quoting Julian Andres Klode (2014-06-25 22:28:51)
> That software should use the API provided by APT to access APT files.  The
> layout of /var/lib/apt/lists and the contents of the files is an
> implementation detail, we already broke the expectations of others once when
> we renamed InRelease files to Release files if we could not trust them.
> Furthermore, APT might store indices compressed in various formats. With
> future archive changes, things might even become more different.

maybe I am misreading your message but "That software should use the API
provided by APT" sounds as if there is an API to retrieve the information that
is otherwise given by the string returned by debPackagesIndex.Describe(). Which
function am I overlooking?

cheers, josch


Reply to: