Re: one-shot yum command to match rpms between systems?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 18 May 2016 07:55, "Frank Cox" <theatre@xxxxxxxxxxxxxxxxxxx> 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?
>

If you had an internal repo of these packages you could yum distro-sync ...
otherwise there is no one shot command to do this given a list.

And of course as will be pointed out by many the only right answer is yum
update anyway given cherry picking updates is not supported.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux