The dist-upgrade method will fail to install essential packages but still exit successfully without reporting an error, see #1072218