yum question: How to update from backed up yum cache?
I just did an initial yum update on a fresh system and it took a long time since it had to download 500+MB of updated packages.
I'm going to backup /var/cache/yum/* so I can avoid having to download the package again for my next build. How do I specify to yum to use the backup to install the rpms?
Or do I just manually go into the directory with the rpms and do a rpm -Uvh *.rpm? I'm wondering if the dependencies might screw that up since it will just install the rpms in order.
Installing from backup of yum cache
I'ts interesting you are posting such question, since I'm planning to do the same in other computers with a Fedora Distro. I never tried it, but if you do (in the local directory where the rpms are located)
yum localinstall *.rpm
It should check and locate the necessary dependencies automatically, and install in the proper order.
if you backup /var/cache/yum there also packages in
next time u run yum , yum will look at the packages u have first
mean but if your packages inside is old yum will download new one
dont forget to edit yum.conf keepcache=1
|All times are GMT -5. The time now is 08:45 PM.|