[CentOS] one-shot yum command to match rpms between systems?
Noam Bernstein
noam.bernstein at nrl.navy.milWed May 18 17:02:18 UTC 2016
- Previous message: [CentOS] one-shot yum command to match rpms between systems?
- Next message: [CentOS] one-shot yum command to match rpms between systems?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> On May 18, 2016, at 2:54 AM, Frank Cox <theatre at melvilletheatre.com> wrote: > > Given a list of rpms on one system (rpm -qa > list.txt), is there a one-shot command that I can run on another system to remove all of the rpms not listed and add any that are on the list and not present on the second system? It wouldn’t be a one liner except in the most general sense that you can string multiple bash commands with “;”, but I’m sure someone can do something clever with uniq(1). Noam
- Previous message: [CentOS] one-shot yum command to match rpms between systems?
- Next message: [CentOS] one-shot yum command to match rpms between systems?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list