Re: dnf nonlocal update

2015-06-12 Thread Robert Dady
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 rh...@redhat.com wrote:

 - Original Message -
  From: Rick Stevens ri...@alldigital.com
  To: Community support for Fedora users users@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, AllDigitalri...@alldigital.com -
  - AIM/Skype: therps2ICQ: 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@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

-- 
users mailing list
users@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


Re: dnf nonlocal update

2015-06-10 Thread Radek Holy
- Original Message -
 From: Rick Stevens ri...@alldigital.com
 To: Community support for Fedora users users@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, AllDigitalri...@alldigital.com -
 - AIM/Skype: therps2ICQ: 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@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


dnf nonlocal update

2015-06-09 Thread Robert Dady
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?

Best regards,
Robert
-- 
users mailing list
users@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


Re: dnf nonlocal update

2015-06-09 Thread Rick Stevens

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, AllDigitalri...@alldigital.com -
- AIM/Skype: therps2ICQ: 226437340   Yahoo: origrps2 -
--
-   I haven't lost my mind.  It's backed up on tape somewhere, but   -
-   probably not recoverable.-
--
--
users mailing list
users@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