If I understand this correctly then you want to update the LOCAL RPM files to the latest version?
I am not sure but you could try "yumdownloader" with some kind of bash script:
for f in `ls -1 *rpm`; do echo Working on file: $f rpm=${f##*/} name=${rpm%%-[0-9]*} echo The name of the rpm: $name yumdownloader $name done
This is NOT tested but you could give it a try!
jobst
On Thu, May 13, 2010 at 03:49:27PM +0300, Adrian Sevcenco (Adrian.Sevcenco@cern.ch) wrote:
Hi! I have an directory full with rpms that are installed on some machines.. what is the best way to update those rpms to the latest version? are there more optimal approaches then searching for each rpm names in an update repo and download one by one?
Thanks, Adrian
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos