~ubuntu-branches/ubuntu/saucy/apt/saucy-security

« back to all changes in this revision

Viewing changes to apt-pkg/packagemanager.cc

  • Committer: Package Import Robot
  • Author(s): Michael Vogt, Michael Vogt, Steve Langasek, Adam Conrad, David Kalnischkies
  • Date: 2013-07-11 20:44:31 UTC
  • mto: This revision was merged to the branch mainline in revision 206.
  • Revision ID: package-import@ubuntu.com-20130711204431-2mett2tut81kpm9y
Tags: 0.9.9.1
[ Michael Vogt ]
* debian/rules:
  - call dh_clean in clean (closes: #714980)
* apt-pkg/packagemanager.cc:
  - increate APT::pkgPackageManager::MaxLoopCount to 5000
* cherry pick debian/apt.auto-removal.sh feature from the
  ubuntu/master branch

[ Steve Langasek ]
* debian/apt.conf.autoremove: don't include linux-image*,
  linux-restricted-modules*, and linux-ubuntu-modules* packages in the
  list to never be autoremoved.
* debian/apt.auto-removal.sh, debian/rules, debian/apt.dirs: install new
  script to /etc/kernel/postinst.d/ which ensures we only automatically
  keep the currently-running kernel, the being-installed kernel, and the
  newest kernel, so we don't fill /boot up with an unlimited number of
  kernels.  LP: #923876.

[ Adam Conrad ]
* Fix up two things in debian/apt.auto-removal.sh:
  - Use exact matches with $-terminated regexes, so we don't get
    confusion between similarly-named kernel flavours.
  - Keep linux-backports-modules in sync with installed kernels.

[ David Kalnischkies ]
* Version 3 for DPkg::Pre-Install-Pkgs with MultiArch info (Closes: #712116)
* implement arch+= and arch-= for sources.list
* prevent MarkInstall of unsynced Multi-Arch:same siblings

Show diffs side-by-side

added added

removed removed

Lines of Context:
338
338
      however if there is a loop (A depends on B, B depends on A) this will not 
339
339
      be the case, so check for dependencies before configuring. */
340
340
   bool Bad = false, Changed = false;
341
 
   const unsigned int max_loops = _config->FindI("APT::pkgPackageManager::MaxLoopCount", 500);
 
341
   const unsigned int max_loops = _config->FindI("APT::pkgPackageManager::MaxLoopCount", 5000);
342
342
   unsigned int i=0;
343
343
   std::list<DepIterator> needConfigure;
344
344
   do
628
628
      This will be either dealt with if the package is configured as a dependency of Pkg (if and when Pkg is configured),
629
629
      or by the ConfigureAll call at the end of the for loop in OrderInstall. */
630
630
   bool Changed = false;
631
 
   const unsigned int max_loops = _config->FindI("APT::pkgPackageManager::MaxLoopCount", 500);
 
631
   const unsigned int max_loops = _config->FindI("APT::pkgPackageManager::MaxLoopCount", 5000);
632
632
   unsigned int i = 0;
633
633
   do 
634
634
   {