Re: dnf nonlocal update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Original Message -----
> From: "Rick Stevens" <ricks@xxxxxxxxxxxxxx>
> To: "Community support for Fedora users" <users@xxxxxxxxxxxxxxxxxxxxxxx>
> 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@xxxxxxxxxxxxxx -
> - 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@xxxxxxxxxxxxxxxxxxxxxxx
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




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux