Setup local repo for F14 install packages. What am I doing wrong?

Darr darr at core.com
Wed Dec 8 20:15:34 UTC 2010


On Wednesday, 08 December, 2010 @16:57 zulu, Richard Shaw scribed:

> I copied all the packages from the F14 x86_64 installation disc into a
> directory (/var/local/packages/fedora/14...) and then ran createrepo
> on it. I setup a new repo file called local.repo.
> 
> It recognizes the repo fine but I want to make sure it tries to use
> packages from it before downloading them. I tried yum-priorities but
> it seems to exclude too many packages to the point of not catching
> updates.
 
If you use 
# yum -C install /var/local/packages/[i.e.full/path/to]/filename.rpm
it should not even try to update the online repos' metadata files.

According to 'yum man' localinstall is a legacy command.


More information about the users mailing list