ソースを参照

* apt-pkg/algorithms.cc:
- Since APT::Get::List-Cleanup and APT::List-Cleanup both default to
true, the effect of the compatibility code was to require both of them
to be set to false in order to disable list cleanup; this broke the
installer. Instead, disable list cleanup if either of them is set to
false.

Michael Vogt 18 年 前
コミット
b7c5ca8c31
共有2 個のファイルを変更した13 個の追加1 個の削除を含む
  1. 1 1
      apt-pkg/algorithms.cc
  2. 12 0
      debian/changelog

+ 1 - 1
apt-pkg/algorithms.cc

@@ -1356,7 +1356,7 @@ bool ListUpdate(pkgAcquireStatus &Stat,
    // Keep "APT::Get::List-Cleanup" name for compatibility, but
    // this is really a global option for the APT library now
    if (!TransientNetworkFailure && !Failed &&
-       (_config->FindB("APT::Get::List-Cleanup",true) == true ||
+       (_config->FindB("APT::Get::List-Cleanup",true) == true &&
 	_config->FindB("APT::List-Cleanup",true) == true))
    {
       if (Fetcher.Clean(_config->FindDir("Dir::State::lists")) == false ||

+ 12 - 0
debian/changelog

@@ -1,3 +1,15 @@
+apt (0.7.11) UNRELEASED; urgency=low
+
+  [ Colin Watson ]
+  * apt-pkg/algorithms.cc:
+    - Since APT::Get::List-Cleanup and APT::List-Cleanup both default to
+      true, the effect of the compatibility code was to require both of them
+      to be set to false in order to disable list cleanup; this broke the
+      installer. Instead, disable list cleanup if either of them is set to
+      false.
+
+ -- Michael Vogt <michael.vogt@ubuntu.com>  Thu, 10 Jan 2008 12:06:12 +0100
+
 apt (0.7.10) unstable; urgency=low
 
   [ Otavio Salvador ]