if (needsUpgrade.size() > 0) {
System.out.println("The following packages will be upgraded in order to install "
+ packageName);
Iterator<PackageConstraint> upI = needsUpgrade.iterator();
while (upI.hasNext()) {
PackageConstraint tempC = upI.next();
System.out.println("\t" + tempC);
}
System.out.print("\nOK to continue [y/n]? > ");
String response = queryUser();