do not modify DepIterator as we might check again
authorDavid Kalnischkies <kalnischkies@gmail.com>
Mon, 24 Jun 2013 10:29:48 +0000 (12:29 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Mon, 24 Jun 2013 10:29:48 +0000 (12:29 +0200)
commit6420c00e30cd9512e045a5370bf391321691ca78
treeac23cf07560a3f8fb10933ce037c6cb988b85691
parent947da3eb4ecaf6b7d64bbcfb656efeff33cff58b
do not modify DepIterator as we might check again

fixup for 42d51f333e8ef522fed02cdfc48663488d56c3a3

The for-loop iterating over the DepIterators which need configuration
can (and will be in 'complicated' situations) run multiple times, so we
can't just GlobOr on the DepIterator as it modifies it, so that the next
iteration over the list ends up checking another dependency leading us
into a 'Internal error, packages left unconfigured. foopkg' maybe or we
are 'lucky' and calculate a solution which might break down the line

Git-Dch: Ignore
apt-pkg/packagemanager.cc