Created
March 18, 2016 22:26
-
-
Save dandye/0fa4aef43679835f4d20 to your computer and use it in GitHub Desktop.
pretty print versions of RPMs matching a query (for `diff`ing two systems)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rpm -qa --queryformat "%{RPMTAG_NAME}\n" | \ | |
| grep soltra-edge | \ | |
| sort | \ | |
| xargs -I {} \ | |
| rpm -qa --queryformat "%-60{RPMTAG_NAME} \ | |
| %{RPMTAG_VERSION}-%{RPMTAG_RELEASE}\n" {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment