I've attached a patch to this mail. The yes-or-no-p function handles longs strings well, such that this works even if there are many upgradeable packages. Daniel