what I'm trying to is to make a USB disk with local repository / directory for offline installation (or upgrade) of Linux servers. Why !? Simple, I’m working on maintenance of huge cluster of asterisk IP PBX-es, asterisk (and dahdi, and ...) is build against kernel sources, and if version of kernel is changed (different from one I'm used to build), then it is a disaster waiting to happen. Now, my idea is to place all rpm's / srpm's that are installed on one server (development) and install / upgrade all other servers to same version of rpm's. Easy way to do this is to force YUM to download all installed rpm's to some directory, then copy them to usb-flash_disk and do on all other servers "yum install ./*.rpm" !? So then I'm having all systems at same revision!
Question is : how to tell YUM to (only) download all rpm's that are installed ???