-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 8 Dec 2010, Richard Shaw wrote: > Date: Wed, 8 Dec 2010 10:57:28 -0600 > From: Richard Shaw <hobbes1069@xxxxxxxxx> > To: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx> > X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 > autolearn=unavailable version=3.2.5 > Subject: Setup local repo for F14 install packages. What am I doing wrong? > > 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. > > There are only 2,786 packages in my local repo but it's excluding 4535 > packages when updating (See below). Is it blocking the original > install versions as well as updates of the same package name? > > I guess I want package level priorities but the plugin only seems to > work at the repo level. Use "cost" for your local repo. Default is 1000. (man yum.conf). Choose something like 500: [repo name...] name=... baseurl=... enabled=1 gpgcheck=1 cost=500 That's all. Gabriel - -- // Gabriel VLASIU // // OpenGPG-KeyID : 0xE684206E // OpenGPG-Fingerprint: 0C3D 9F8B 725D E243 CB3C 8428 796A DB1F E684 206E // OpenGPG-URL : http://www.vlasiu.net/public.key -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFNAIlxeWrbH+aEIG4RAh1mAJ931W9ovqCo+cn+7mra9eb8IQh4dgCfZv7G S9HJkG7TWI+fgzdCxCeSsww= =NK6Q -----END PGP SIGNATURE----- -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines