Logging error if set alternatives fails

`update-alternatives --set` always fails when using in vagrant + precise32. Will investigate why, as for now at least logging should be added if the command fails. That's what I'm adding here..