check_yum icon indicating copy to clipboard operation
check_yum copied to clipboard

check_yum --all-updates fails with package info on multiple lines

Open ronaldoussoren opened this issue 8 years ago • 0 comments

yum check-output splits output about a package over two lines with the package name is long, like so:

java-1.7.0-openjdk-devel.x86_64
                               1:1.7.0.99-2.6.5.0.el6_7 rhel-6-server-rpms    

This confuses the code in get_all_updates().

A crude hack to fix this is to post-process the return value of self.run(cmd): append any line that starts with whitespace to the preceding line.

ronaldoussoren avatar Mar 25 '16 12:03 ronaldoussoren