Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

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

Open
ronaldoussoren opened this issue Mar 25, 2016 · 0 comments
Open

Comments

@ronaldoussoren
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant