[Yum] yum over sneakernet

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

 



One of my computers (call it home) has no internet access. When it used
to have internet access, it was happily running fedora core 2 and yum.
I'd like to keep updating the packages on it using yum. I'd like to have
it work like this:
1. copy home's /etc/yum.conf, /var/cache/yum tree, and rpm database to a
removable medium (e.g., zip disk)
2. take the zip disk to an internet-enabled computer (call it office),
and run yum to download updates to the packages in the home's rpm
database according to the repositories from home's yum.conf, and store
them in home's /var/cache/yum tree
3. take the zip disk home, and run the local yum such that it takes the
updated /var/cache/yum tree and updates local packages accordingly
4. repeat steps 2-3 as necessary

Is this even possible? How do I extract home's rpm database (step 1),
and then have yum update it (in step 2, as opposed to updating office's
rpm database)?

How do I do 3? What if home's rpm database has changed between 2 and 3,
e.g., by removing an installed package?

When I go to do 4, do I need to restart from 1, or from 2?

Thanks in advance.



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux