<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>It's sort of related to what I asked about repoquery.  One way to do that is for each package, run:<br><br>$ repoquery --resolve --requires --recursive perl-Moose<br>perl-Moose-0:1.15-1.el6.x86_64<br>perl-Package-DeprecationManager-0:0.11-1.el6.noarch<br>perl-Sub-Exporter-0:0.982-4.el6.noarch<br>perl-Sub-Name-0:0.05-6.el6.x86_64<br>perl-MRO-Compat-0:0.11-2.el6.noarch<br>perl-Data-OptList-0:0.104-4.el6.noarch<br>glibc-0:2.12-1.149.el6.i686<br>perl-Params-Util-0:1.00-3.el6.x86_64<br>perl-List-MoreUtils-0:0.22-10.el6.x86_64<br>glibc-0:2.12-1.149.el6_6.9.x86_64<br>perl-Task-Weaken-0:1.02-7.el6.noarch<br>perl-4:5.10.1-136.el6.x86_64<br>perl-Class-MOP-0:1.12-1.el6.x86_64<br>perl-Devel-GlobalDestruction-0:0.02-7.el6.x86_64<br>perl-Try-Tiny-0:0.11-4.el6.noarch<br><br>Then I suppose you can combine all the output then sort | uniq to get a full list.<br><br>Note that this approach requires your dependencies to resolve, as repoquery does not report on dependency failures, and that was my gripe about repoquery in a different post.<br><br>Satoshi<br><br><div>> Date: Tue, 21 Jul 2015 17:51:04 +0300<br>> From: wkevils@gmail.com<br>> To: yum@lists.baseurl.org<br>> Subject: [Yum] Downloading and installing all rpms needed for a set of packages<br>> <br>> Hello,<br>> There is a device on which I am running Fedora 21 x86_64.<br>> This is a device for development.<br>> Now, it comes with a set or rpms that come with the image.<br>> I need to reinstall the image once in 3-4 days (because of new image releases)<br>> <br>> After installing the image, I am using yum -y install to install a set<br>> of 10 packages (rpms)<br>> and all their dependencies.<br>> <br>> Is there a way to find out all the dependencies of these 10 rpms and<br>> also the packages that depend on these which are not installed on the<br>> device (and so on and so forth)<br>> so I will be able to have a local copies of all the rpms needed for<br>> these 10 rpms, so in the next time I will perform the installations, I<br>> will be able to do it localy by some rpm -ivh * command ?<br>> <br>> Regards,<br>> Kevin<br>> _______________________________________________<br>> Yum mailing list<br>> Yum@lists.baseurl.org<br>> http://lists.baseurl.org/mailman/listinfo/yum<br></div>                                      </div></body>
</html>