[ATrpms-users] Co-ordinating package versions on multiple systems (HOWTO?)
Chris Rouch
chris.rouch at gmail.com
Wed Mar 12 13:31:33 CET 2008
On 3/12/08, Craig Huff <huffcslists at gmail.com> wrote:
> I have a rather (I expect) basic question about the mechanics of
> package installation.
>
> If it makes any difference to the answer, I am currently using yum
> under Fedora and/or CentOS, although I am thinking of at least trying
> out smart thanks to Axel's often urging on this list.
>
> I have a client-server package that I install on several systems
> (MythTV, if you care) and they *should* be running the same exact
> build to function properly, however... Typically, they don't all get
> done at one time and on occasion they end up with different builds.
>
> My question is: How do I go about updating later systems with the same
> .rpm that I used on earlier systems? Is the .rpm that has been
> installed on system A physically present there as a single file that
> could easily be moved (e.g. with scp) to system B and then locally
> referenced in the yum invocation (or better, referenced remotely from
> A) on B? If so, where should I expect to find the .rpm and how do I
> tell yum to install /the/package/at/this/location/existing.rpm?
In /etc/yum.conf make sure
keepcache=1
Then all packages will be in e.g. /var/cache/yum/atrpms/packages.
I think "yum clean all" will delete them, but I always copy them to an
nfs exported directory so they can be used on other local machines.
Chris
More information about the atrpms-users
mailing list