AMBARI-7058. Improve logging on Ubuntu on package install failure. (aonishuk)