Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

11
  • Is the filextension always .rpm. Consist the version number always of three blocks of numbers? Commented Feb 12, 2019 at 8:22
  • yes the file extension is always .rpm . but the version number blocks will differ sometimes it will be 5 to 6 blocks of numbers. Commented Feb 12, 2019 at 8:25
  • This is not comparing files, which could be achieved by diff. This is more like comparing data in database from two different tables. Certainly doable in shell, but maybe that's not the right way to do it? Commented Feb 12, 2019 at 8:27
  • i tried diff but i am not getting output what i want. is any other way to do this? Commented Feb 12, 2019 at 8:30
  • Do the package names contain exactly one hyphen, or can you have ap-dev.2.35.foo-bar.3.rpm ? Commented Feb 12, 2019 at 8:30