Copying a yum cache to a new system?

Konstantin Riabitsev yellowdog-general@lists.terrasoftsolutions.com
Sun Oct 26 19:55:01 2003


On Sun, 2003-10-26 at 17:54, Greg Hamilton wrote:
> I've had a crack at it, copying both '/var/cache/yum' and 
> '/etc/yum.conf' and even manually upgraded yum and rpm in the hope that 
> that would solve the problem but I can't get yum to work properly on 
> the new box. Doing 'yum -C list' with the new cache just produces an 
> error which I wish I'd made a note of before I left for work this 
> morning. Oh well. Surely I can't be the first person to try doing this. 
> Any clues?

You'd probably be better off copying all the RPMs onto your new machine
into a directory and then making it a local repository.

man yum-arch
man yum.conf

Regards,
-- 
Konstantin ("Icon") Riabitsev
Duke University Physics Sysadmin