- // Old code for debugging
- if (OldPolicy)
- {
- if (Plcy->GetPriority(I) == 0)
- continue;
-
- // Print the package name and the version we are forcing to
- std::cout << " " << I.FullName(true) << " -> ";
-
- pkgCache::VerIterator V = Plcy->GetMatch(I);
- if (V.end() == true)
- std::cout << _("(not found)") << std::endl;
- else
- std::cout << V.VerStr() << std::endl;
-
- continue;
- }
- // New code