[CentOS] update of rpm directory

2010-05-13 Thread Adrian Sevcenco
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 smime.p7s Description:

Re: [CentOS] update of rpm directory

2010-05-13 Thread Brunner, Brian T.
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? yum update

Re: [CentOS] update of rpm directory

2010-05-13 Thread Chaitanya Yanamadala
On 5/13/10, Adrian Sevcenco adrian.sevce...@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

Re: [CentOS] update of rpm directory

2010-05-13 Thread Phil Schaffner
Adrian Sevcenco wrote on 05/13/2010 08:49 AM: 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

Re: [CentOS] update of rpm directory

2010-05-13 Thread Adrian Sevcenco
On 05/13/2010 04:23 PM, Phil Schaffner wrote: Adrian Sevcenco wrote on 05/13/2010 08:49 AM: 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

Re: [CentOS] update of rpm directory

2010-05-13 Thread Spiro Harvey
Adrian Sevcenco adrian.sevce...@cern.ch wrote: Thanks it helps! but a little more bit of info^Whints could help even more: lets say that on the server i do this stuff (and where is this dir from which nodes are installed) everything is up to date.. (and worker nodes are NOT updated) and i

Re: [CentOS] update of rpm directory

2010-05-13 Thread Les Mikesell
On 5/13/2010 3:26 PM, Adrian Sevcenco wrote: On 05/13/2010 04:23 PM, Phil Schaffner wrote: Adrian Sevcenco wrote on 05/13/2010 08:49 AM: 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

Re: [CentOS] update of rpm directory

2010-05-13 Thread Jobst Schmalenbach
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: