Improved the error messages when the given version cannot be installed