<div dir="ltr"><div>I like the idea of creating a mirror repo, although it'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"><<a href="mailto:rholy@redhat.com" target="_blank">rholy@redhat.com</a>></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>
> From: "Rick Stevens" <<a href="mailto:ricks@alldigital.com">ricks@alldigital.com</a>><br>
> To: "Community support for Fedora users" <<a href="mailto:users@lists.fedoraproject.org">users@lists.fedoraproject.org</a>><br>
> Sent: Tuesday, June 9, 2015 10:23:29 PM<br>
> Subject: Re: dnf nonlocal update<br>
><br>
> On 06/09/2015 04:52 AM, Robert Dady wrote:<br>
> > Hi,<br>
> ><br>
> > I have 2 computers: "A" has F22 and 3G cell phone Internet connection<br>
> > with a limited data plan, "B" has Windows7 / Ubuntu 15.04 / F22 Live and<br>
> > broadband Internet connection.<br>
> ><br>
> > I want "A" make a (dnf) list of packages of available updates, which I<br>
> > could download on "B" and install them offline on "A" from a USB stick.<br>
> ><br>
> > Is it feasible?<br>
><br>
> Sure. One way would be to create a local repo. I'd set aside a<br>
> partition on B and creating the local repo on that partition. Then you<br>
> could copy the RPMs you need on A from this local repo onto the USB<br>
> stick and do a local update on A.<br>
><br>
> Instructions on creating a local repo:<br>
><br>
> <a href="http://dotancohen.com/howto/yum_repo.html" rel="noreferrer" target="_blank">http://dotancohen.com/howto/yum_repo.html</a><br>
><br>
> ----------------------------------------------------------------------<br>
> - Rick Stevens, Systems Engineer, AllDigital <a href="mailto:ricks@alldigital.com">ricks@alldigital.com</a> -<br>
> - AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 -<br>
> - -<br>
> - I haven't lost my mind. It's backed up on tape somewhere, but -<br>
> - probably not recoverable. -<br>
> ----------------------------------------------------------------------<br>
<br>
</div></div>Or if you don't want to mirror repositories, you can run "dnf --assumeno upgrade" on "A", save the resolved packages into a file and use "dnf download" on "B" to download them. Then you can install the packages with "dnf install" on "A".<br>
<br>
To make a script, I'd suggest using the Python API instead of parsing the output of "dnf upgrade".<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>