Re: update from another machine

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

 



Thank for the suggestion.
However, the problem is that
yum (on the "fast host") check that the package for nstallation, update or reinstallation.

So I did not find a way to down load on the fast host the package for another
distribution, like a i686 from a host x86_64.
Can I force yum to not check.
Maybe I should use rpm?




At home I have a slow internet connection,  Thus, I would like to
prepare an update but only download the packages to another
machine and then copy the file on a stick to make the update from
the stick.

How can I do it?

Thank.



I update my laptop at work and rsync to other machines when I get home.
Here's a variation on that:

... On fasthost, modify /etc/yum.conf to set keepcache=1.
... If you've not set keepcache before, then you may still end up downloading ... dependencies (to slowhost) not kept on fasthost from previous runs.

fasthost# yum install/update [ --downloadonly ] THE-PACKAGES-I-WANT
fasthost# rsync -avP --include='*/' --include='*rpm' --exclude='*'
/var/cache/yum/ /media/STICK/yum/

... go home ...

slowhost# (edit /etc/yum.conf to set keepcache=1)
slowhost# rsync -avP /media/STICK/yum/ /var/cache/yum/
slowhost# yum update/install

This will only copy the RPMs; yum will still download metadata (see
yum.conf for "metadata_expire").

... optionally, rsync RPMs back to STICK, then back to fasthost

--
======================================================================
 Patrick DUPRÉ                |   |  email: pdupre@xxxxxxxxxx
======================================================================

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
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