Issue #2369153: add better error handling for various install problems