dnf nonlocal update

Robert Dady robert.dady at gmail.com
Fri Jun 12 09:02:13 UTC 2015


I like the idea of creating a mirror repo, although it's less
infrastructure to use the second solution.
Thank you.

On 10 June 2015 at 10:35, Radek Holy <rholy at redhat.com> wrote:

> ----- Original Message -----
> > From: "Rick Stevens" <ricks at alldigital.com>
> > To: "Community support for Fedora users" <users at lists.fedoraproject.org>
> > Sent: Tuesday, June 9, 2015 10:23:29 PM
> > Subject: Re: dnf nonlocal update
> >
> > On 06/09/2015 04:52 AM, Robert Dady wrote:
> > > Hi,
> > >
> > > I have 2 computers: "A" has F22 and 3G cell phone Internet connection
> > > with a limited data plan, "B" has Windows7 / Ubuntu 15.04 / F22 Live
> and
> > > broadband Internet connection.
> > >
> > > I want "A" make a (dnf) list of packages of available updates, which I
> > > could download on "B" and install them offline on "A" from a USB stick.
> > >
> > > Is it feasible?
> >
> > Sure. One way would be to create a local repo. I'd set aside a
> > partition on B and creating the local repo on that partition. Then you
> > could copy the RPMs you need on A from this local repo onto the USB
> > stick and do a local update on A.
> >
> > Instructions on creating a local repo:
> >
> >       http://dotancohen.com/howto/yum_repo.html
> >
> > ----------------------------------------------------------------------
> > - Rick Stevens, Systems Engineer, AllDigital    ricks at alldigital.com -
> > - AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
> > -                                                                    -
> > -   I haven't lost my mind.  It's backed up on tape somewhere, but   -
> > -                       probably not recoverable.                    -
> > ----------------------------------------------------------------------
>
> 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".
>
> To make a script, I'd suggest using the Python API instead of parsing the
> output of "dnf upgrade".
> --
> Radek HolĂ˝
> Associate Software Engineer
> Software Management Team
> Red Hat Czech
> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20150612/81450694/attachment.html>


More information about the users mailing list