patch for compression type priority (gz, bz2, possibly others)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Debian) |
Invalid
|
Undecided
|
Unassigned | ||
apt (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
The current apt version defaults to {Packages,
fallbacks to .gz. The .bz2 files are around 20% smaller than .gz files, but
uncompression takes about five times longer. That's something you don't want
on slow machines with fast network connections.
This little patch adds Acquire:
the compression extension order. Also, this patch makes any future compression
formats a little bit easier to implement.
Tagging this beast with "worksforme" and "experimental". Also, my C++ is a
little bit rusty. It might make your system unusable or send froobazillions of
requests to .deb mirror you're using.
Sample apt.conf:
Acquire:
".gz";
".bz2";
}
A patch against upstream 0.6.46.3 can be found at https:/
Debug::
Using this on Edgy/amd64 and after the compilation finishes on Etch/ixp4xx (NSLU2).
Not sure if this qualifies as a "bug report", but didn't find any feature request / implementation posting. I'm also too lazy to create a Debian specific bugzilla/whatever account.
Changed in apt: | |
milestone: | none → later |
the patch as attachment