<div dir="ltr"><div>I like the idea of creating a mirror repo, although it&#39;s less infrastructure to use the second solution.<br></div>Thank you.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 10 June 2015 at 10:35, Radek Holy <span dir="ltr">&lt;<a href="mailto:rholy@redhat.com" target="_blank">rholy@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">----- Original Message -----<br>
&gt; From: &quot;Rick Stevens&quot; &lt;<a href="mailto:ricks@alldigital.com">ricks@alldigital.com</a>&gt;<br>
&gt; To: &quot;Community support for Fedora users&quot; &lt;<a href="mailto:users@lists.fedoraproject.org">users@lists.fedoraproject.org</a>&gt;<br>
&gt; Sent: Tuesday, June 9, 2015 10:23:29 PM<br>
&gt; Subject: Re: dnf nonlocal update<br>
&gt;<br>
&gt; On 06/09/2015 04:52 AM, Robert Dady wrote:<br>
&gt; &gt; Hi,<br>
&gt; &gt;<br>
&gt; &gt; I have 2 computers: &quot;A&quot; has F22 and 3G cell phone Internet connection<br>
&gt; &gt; with a limited data plan, &quot;B&quot; has Windows7 / Ubuntu 15.04 / F22 Live and<br>
&gt; &gt; broadband Internet connection.<br>
&gt; &gt;<br>
&gt; &gt; I want &quot;A&quot; make a (dnf) list of packages of available updates, which I<br>
&gt; &gt; could download on &quot;B&quot; and install them offline on &quot;A&quot; from a USB stick.<br>
&gt; &gt;<br>
&gt; &gt; Is it feasible?<br>
&gt;<br>
&gt; Sure. One way would be to create a local repo. I&#39;d set aside a<br>
&gt; partition on B and creating the local repo on that partition. Then you<br>
&gt; could copy the RPMs you need on A from this local repo onto the USB<br>
&gt; stick and do a local update on A.<br>
&gt;<br>
&gt; Instructions on creating a local repo:<br>
&gt;<br>
&gt;       <a href="http://dotancohen.com/howto/yum_repo.html" rel="noreferrer" target="_blank">http://dotancohen.com/howto/yum_repo.html</a><br>
&gt;<br>
&gt; ----------------------------------------------------------------------<br>
&gt; - Rick Stevens, Systems Engineer, AllDigital    <a href="mailto:ricks@alldigital.com">ricks@alldigital.com</a> -<br>
&gt; - AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -<br>
&gt; -                                                                    -<br>
&gt; -   I haven&#39;t lost my mind.  It&#39;s backed up on tape somewhere, but   -<br>
&gt; -                       probably not recoverable.                    -<br>
&gt; ----------------------------------------------------------------------<br>
<br>
</div></div>Or if you don&#39;t want to mirror repositories, you can run &quot;dnf --assumeno upgrade&quot; on &quot;A&quot;, save the resolved packages into a file and use &quot;dnf download&quot; on &quot;B&quot; to download them. Then you can install the packages with &quot;dnf install&quot; on &quot;A&quot;.<br>
<br>
To make a script, I&#39;d suggest using the Python API instead of parsing the output of &quot;dnf upgrade&quot;.<br>
<span class="HOEnZb"><font color="#888888">--<br>
Radek Holý<br>
Associate Software Engineer<br>
Software Management Team<br>
Red Hat Czech<br>
</font></span><div class="HOEnZb"><div class="h5">--<br>
users mailing list<br>
<a href="mailto:users@lists.fedoraproject.org">users@lists.fedoraproject.org</a><br>
To unsubscribe or change subscription options:<br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/users</a><br>
Fedora Code of Conduct: <a href="http://fedoraproject.org/code-of-conduct" rel="noreferrer" target="_blank">http://fedoraproject.org/code-of-conduct</a><br>
Guidelines: <a href="http://fedoraproject.org/wiki/Mailing_list_guidelines" rel="noreferrer" target="_blank">http://fedoraproject.org/wiki/Mailing_list_guidelines</a><br>
Have a question? Ask away: <a href="http://ask.fedoraproject.org" rel="noreferrer" target="_blank">http://ask.fedoraproject.org</a><br>
</div></div></blockquote></div><br></div>