Re: replicating exact centos 5 package list

2008-12-17 Thread Gilboa Davara
On Tue, 2008-12-16 at 08:13 +1100, Amos Shapira wrote: > 2008/12/16 Gilboa Davara : > > Hello Amos, > > > > As I'm using this script on full updated machines, I didn't really need > > the package versions. > > Either way, good to hear that it worked. > > The idea is that every "yum update" could f

Re: replicating exact centos 5 package list

2008-12-15 Thread Amos Shapira
2008/12/16 Gilboa Davara : > Hello Amos, > > As I'm using this script on full updated machines, I didn't really need > the package versions. > Either way, good to hear that it worked. The idea is that every "yum update" could fetch slightly different versions - either because the auto-mirror picki

Re: replicating exact centos 5 package list

2008-12-15 Thread Gilboa Davara
On Mon, 2008-12-15 at 13:18 +1100, Amos Shapira wrote: > 2008/11/16 Amos Shapira : > > 2008/11/16 Gilboa Davara : > >> I usually do the following: (Under both Fedora, CentOS and RHEL) > >> > >> A. Installing the missing packages. > >> (On the source machine:) > >> $ rpm -qa --queryformat="%{NAME}-%

Re: replicating exact centos 5 package list

2008-12-14 Thread Amos Shapira
2008/11/16 Amos Shapira : > 2008/11/16 Gilboa Davara : >> I usually do the following: (Under both Fedora, CentOS and RHEL) >> >> A. Installing the missing packages. >> (On the source machine:) >> $ rpm -qa --queryformat="%{NAME}-%{ARCH}\n" | sort > package_list.txt >> (On the target machine:) >> $

Re: replicating exact centos 5 package list

2008-11-15 Thread Amos Shapira
2008/11/16 Gilboa Davara <[EMAIL PROTECTED]>: > I usually do the following: (Under both Fedora, CentOS and RHEL) > > A. Installing the missing packages. > (On the source machine:) > $ rpm -qa --queryformat="%{NAME}-%{ARCH}\n" | sort > package_list.txt > (On the target machine:) > $ yum install -y $

Re: replicating exact centos 5 package list

2008-11-15 Thread Amos Shapira
2008/11/16 Shlomi Fish <[EMAIL PROTECTED]>: > You probably mean: > > http://www.catonmat.net/blog/set-operations-in-unix-shell/ Yup right! Thanks! --Amos = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe"

Re: replicating exact centos 5 package list

2008-11-15 Thread Gilboa Davara
On Sun, 2008-11-16 at 00:19 +1100, Amos Shapira wrote: > Hello, > > I'm looking for a way to replicate exact list of packages (including > exact versions) from one CentOS 5 system to another. > > The trigger - I want to be able to "yum update" on my test/staging > systems (mostly distro updates a

Re: replicating exact centos 5 package list

2008-11-15 Thread Shlomi Fish
On Saturday 15 November 2008, Amos Shapira wrote: > (PS - there was an excellent article with a title like "set > manipulation using shell scripts" published not long ago, maybe posted > here but I can't find it in the archives or my bookmarks, this could > be useful for my last question). You pro

replicating exact centos 5 package list

2008-11-15 Thread Amos Shapira
Hello, I'm looking for a way to replicate exact list of packages (including exact versions) from one CentOS 5 system to another. The trigger - I want to be able to "yum update" on my test/staging systems (mostly distro updates and security fixes), verify that nothing breaks with this updates, the