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?


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
To unsubscribe or change subscription options:
Have a question? Ask away:

Photo 4 Less

[Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Find Someone Special]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

Add to Google Powered by Linux