Fix a bug with subprocess usage.
Strip out the last \n from version.txt.
Workaround old yum bug: no action taken in a daemon.

Try invoke an external yum command to fix the completed but failed
(without error reported) yum transaction.