more useful error messages when changing packages, related to #27194