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

Bug#1058579: Acknowledgement (apt: gives misleading error when not finding Packages.xz in Release (not InRelease))



> I note after double-checking that, despite bookworm repos [1]
> providing
> only Packages.xz and Packages.gz and not Packages, apt does really
> seem to check only for Packages in my case:

After more testing, it appears that the behavior is different depending on
the way the flat repository is used:

* sources.list with ".../deb-amd64/ ci/" (needs "Filename: ci/foo.deb" in Packages)
  => on "Packages" is checked, "Packages.xz" is ignored as previously described

* sources.list with ".../deb-amd64/ci/ ./" (needs "Filename: ./foo.deb" in Packages)
  => a long list of compressed formats is used

I'm a bit unsure whether this would be expected.

Anyway (assuming this is expected), the part of the error message mentioning "Packages"
name may in fact not be wrong per se, but in this (legacy?) use case it could possibly 
be noted that it has to be uncompressed (since "Packages" is otherwise also AFACT used 
to encompass compressed versions as well).

Best regards,
-- 
Yann


Reply to: