I am using Fedora16 (64 bit). I have installed yum-plugin-local, which collects all rpm packages in directory /var/lib/yum/plugins/local. This directory contains more then one version of rpm packages.
1st question
I want to copy latest packages to another directory. I tried different options of grep but failed. I am not very familiar with command line. so my question is
How can I copy latest versions of rpm packages from /var/lib/yum/plugins/local to another directory?
2nd question
I copied all rpms from dvd to /var/lib/yum/plugins/local and run createrepo. Now I think I can copy latest packages which will be "yum list installed" to another directory. Again i failed with grep. So my question is
How can I copy all latest packages with the help of "yum list installed" from /var/lib/yum/plugins/local to another directory?
I have asked very few questions in last two year and I take these opportunity to express my greatfulness to Fedora, such a nice linux distribution and to all forummembers.
Thanks once again.