// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: apt-get.cc,v 1.134 2003/08/07 20:51:50 mdz Exp $
+// $Id: apt-get.cc,v 1.135 2003/08/08 23:45:00 mdz Exp $
/* ######################################################################
apt-get - Cover for dpkg
installed already */
string target = string(Start.TargetPkg().Name()) + " ";
- if ((*Start.TargetPkg()).SelectedState == pkgCache::State::Install)
+ if ((*Start.TargetPkg()).SelectedState == pkgCache::State::Install || Cache[Start.TargetPkg()].Install())
break;
/* Does another package suggest it as well? If so,
don't print it twice */
installed already */
string target = string(Start.TargetPkg().Name()) + " ";
- if ((*Start.TargetPkg()).SelectedState == pkgCache::State::Install)
+ if ((*Start.TargetPkg()).SelectedState == pkgCache::State::Install || Cache[Start.TargetPkg()].Install())
break;
/* Does another package recommend it as well? If so,
* Avoid segfault if a package name is specified which consists
entirely of characters which look like end tags ('+', '-')
(Closes: #200425)
+ * Patch from Otavio Salvador to avoid listing suggests/recommends for
+ packages which are selected for installation at the same time as the
+ package which suggests/recommends them (Closes: #200102)
-- Matt Zimmerman <mdz@debian.org> Fri, 8 Aug 2003 19:31:25 -0400