]> git.saurik.com Git - apt.git/commitdiff
apt-pkg/packagemanager.cc:
authorMichael Vogt <mvo@debian.org>
Wed, 10 Jul 2013 14:41:14 +0000 (16:41 +0200)
committerMichael Vogt <mvo@debian.org>
Wed, 10 Jul 2013 14:41:14 +0000 (16:41 +0200)
* apt-pkg/packagemanager.cc:
  - increate APT::pkgPackageManager::MaxLoopCount to 5000

apt-pkg/packagemanager.cc
debian/changelog

index 310934c42d4dea65bcd4b660f4cb994876b03292..8c0d2e855667ee62f861729d9da21a3f242dec69 100644 (file)
@@ -338,7 +338,7 @@ bool pkgPackageManager::SmartConfigure(PkgIterator Pkg, int const Depth)
       however if there is a loop (A depends on B, B depends on A) this will not 
       be the case, so check for dependencies before configuring. */
    bool Bad = false, Changed = false;
       however if there is a loop (A depends on B, B depends on A) this will not 
       be the case, so check for dependencies before configuring. */
    bool Bad = false, Changed = false;
-   const unsigned int max_loops = _config->FindI("APT::pkgPackageManager::MaxLoopCount", 500);
+   const unsigned int max_loops = _config->FindI("APT::pkgPackageManager::MaxLoopCount", 5000);
    unsigned int i=0;
    std::list<DepIterator> needConfigure;
    do
    unsigned int i=0;
    std::list<DepIterator> needConfigure;
    do
@@ -628,7 +628,7 @@ bool pkgPackageManager::SmartUnPack(PkgIterator Pkg, bool const Immediate, int c
       This will be either dealt with if the package is configured as a dependency of Pkg (if and when Pkg is configured),
       or by the ConfigureAll call at the end of the for loop in OrderInstall. */
    bool Changed = false;
       This will be either dealt with if the package is configured as a dependency of Pkg (if and when Pkg is configured),
       or by the ConfigureAll call at the end of the for loop in OrderInstall. */
    bool Changed = false;
-   const unsigned int max_loops = _config->FindI("APT::pkgPackageManager::MaxLoopCount", 500);
+   const unsigned int max_loops = _config->FindI("APT::pkgPackageManager::MaxLoopCount", 5000);
    unsigned int i = 0;
    do 
    {
    unsigned int i = 0;
    do 
    {
index 29514216501f1c7d4e9b46747178a0bcfb1c6e88..cb47dd456ea1b8690b7115bed8cf532d2d0f9b4b 100644 (file)
@@ -1,7 +1,10 @@
 apt (0.9.9.1) UNRELEASED; urgency=low
 
 apt (0.9.9.1) UNRELEASED; urgency=low
 
+  [ Michael Vogt ]
   * debian/rules:
     - call dh_clean in clean (closes: #714980)
   * debian/rules:
     - call dh_clean in clean (closes: #714980)
+  * apt-pkg/packagemanager.cc:
+    - increate APT::pkgPackageManager::MaxLoopCount to 5000
 
  -- Michael Vogt <michael.vogt@ubuntu.com>  Fri, 05 Jul 2013 16:39:34 +0200
 
 
  -- Michael Vogt <michael.vogt@ubuntu.com>  Fri, 05 Jul 2013 16:39:34 +0200