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 at 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 at centos.org > http://lists.centos.org/mailman/listinfo/centos -- I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone. -- Bjarne Stroustrup, inventor of the C++ language. | |0| | Jobst Schmalenbach, jobst at barrett.com.au, General Manager | | |0| Barrett Consulting Group P/L & The Meditation Room P/L |0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia