summaryrefslogtreecommitdiff
path: root/apt-pkg/aptconfiguration.cc
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@canonical.com>2010-11-25 08:50:22 +0100
committerMartin Pitt <martin.pitt@canonical.com>2010-11-25 08:50:22 +0100
commit0a990e861ba7295ab0a6d369ea12ff244620b939 (patch)
tree5041d2ff431759b6eabc95071e2e1d93a10f439a /apt-pkg/aptconfiguration.cc
parent5febacf17c90c3b9dd0239f62494f888e42532a7 (diff)
Revert r1819 and r1820 to disable compressed indexes by default again.
Testing has brought up a few places where this seriously degrades performance, mostly in applications which iterate through all available package records, like update-apt-xapian-index or synaptic. See https://bugs.launchpad.net/ubuntu/+bugs?field.tag=apt-compressed-indexes
Diffstat (limited to 'apt-pkg/aptconfiguration.cc')
-rw-r--r--apt-pkg/aptconfiguration.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/apt-pkg/aptconfiguration.cc b/apt-pkg/aptconfiguration.cc
index 4b14e964a..52f54073c 100644
--- a/apt-pkg/aptconfiguration.cc
+++ b/apt-pkg/aptconfiguration.cc
@@ -69,10 +69,6 @@ const Configuration::getCompressionTypes(bool const &Cached) {
types.push_back(*o);
}
- // default to preferring gzip, so that compressed indexes work
- if (order.empty())
- types.push_back("gz");
-
// move again over the option tree to add all missing compression types
::Configuration::Item const *Types = _config->Tree("Acquire::CompressionTypes");
if (Types != 0)