if an error occurs, stop updating/installing