Packages file contains extra unnecessary hashes

Bug #2067752 reported by Robie Basak
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned
Ubuntu
Triaged
Wishlist
Unassigned

Bug Description

Packages files (eg. http://archive.ubuntu.com/ubuntu/dists/jammy/main/binary-amd64/Packages.xz) contain hashes using MD5sum, SHA1, SHA256 and SHA512, but if we deprecate the older ones and leave only SHA512 (for example), then we get a 30% or so size saving, reducing the "apt-get update" download size of a typical system by 5-10 MB when there is no cache (eg. on every cloud instance boot). This seems worth adding to a backlog.

I think we need to track:

Launchpad support for per-series compatibility level, so that we can reduce the set of published hashes in newer releases without affecting old ones.

Actually making the change in Ubuntu.

Possible changes in affected tooling as these are discovered.

ML thread here: https://lists.ubuntu.com/archives/ubuntu-devel/2024-May/042978.html

Revision history for this message
Robie Basak (racb) wrote :
summary: - Packages file contains extra uinnecessary hashes
+ Packages file contains extra unnecessary hashes
Revision history for this message
Jürgen Gmach (jugmac00) wrote :

Hi Robie, thanks for raising this. It might be a good idea to discuss this with Clinton to raise awareness and to make a case for this to be included in our next roadmap.

Changed in launchpad:
importance: Undecided → Low
Jürgen Gmach (jugmac00)
Changed in launchpad:
status: New → Triaged
Revision history for this message
Julian Andres Klode (juliank) wrote :

This is a duplicate of bug 1883271 and a merge proposal to fix it is in https://code.launchpad.net/~xnox/launchpad/+git/launchpad/+merge/452749

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.