rpm upgrade/freshen a glob of RPMs

James Antill james at fedoraproject.org
Fri Oct 23 19:38:17 UTC 2015


On Fri, 2015-10-23 at 19:08 +0000, Paul Becker wrote:

> I am on CentOS-6.7 x86_64
> and Centos-7 x86_64
> 
> % rpm --version
> RPM version 4.8.0
> RPM version 4.11.1
> 
> I know I could try to use 'yum' but I had other issues with that.

 You almost certainly want to put all the rpms in a repo. and use
"yum distro-sync full", --tmprepo if you really can't use a repo.
 If even distro-sync full isn't enough, then I'd guess reinstall
followed by normal distro-sync (yum shell should let you do this in one
transaction).
 You may also want to use repo-pkgs, to limit the effect of other repos.

 In theory you could reimplement any of those commands on top of rpm, I
wouldn't recommend it though.



More information about the Rpm-list mailing list