All of lore.kernel.org
 help / color / mirror / Atom feed
* Local YUM Repo
@ 2015-03-19  6:22 Erik Bolton
  0 siblings, 0 replies; only message in thread
From: Erik Bolton @ 2015-03-19  6:22 UTC (permalink / raw)
  To: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1883 bytes --]

Hey All:


I'm trying to setup a local YUM repo using the RPMs in <project>/tmp/deploy/rpm/<arch>


I've added a .repo file to /etc/yum/repos.d with the following lines:


[local]
name=yocto-core2_32
baseurl=file:///home/ebolton/yocto/poky/build-max/tmp/deploy/rpm/core2_32
enabled=1
gpgcheck=0


and setup my main yum.conf file with:


[main]
cachedir=/var/cache/yum
keepcache=1
debuglevel=10
logfile=/var/log/yum.log
obsoletes=1
exactarch=0
multilib_policy=all
protected_multilib=0

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum/repos.d

Yum parses the repodata dir just fine and counts the number of packages correctly, but it's excluding them all for some reason. This is the output from "yum repolist":

Config time: 0.010
Yum Version: 3.4.3
COMMAND: yum repolist
Installroot: /
Setting up Package Sacks
pkgsack time: 0.001
Repo-id      : local
Repo-name    : yocto-core2_32
Repo-updated : Wed Mar 18 21:54:18 2015
Repo-pkgs    : 0
Repo-size    : 0
Repo-baseurl : file:///home/ebolton/yocto/poky/build-max/tmp/deploy/rpm/core2_32
Repo-expire  : 21,600 second(s) (last: Wed Mar 18 23:01:51 2015)
Repo-excluded: 4,599
Repo-filename: ///etc/yum/repos.d/local.repo

repolist: 0

Any thoughts as to why all my packages are being excluded? FYI, using "--disableexcludes=[repo]?" with yum doesn't help.

Thanks.
-Erik



Disclaimer: This message contains information that may be privileged or confidential and is the property of AgJunction Inc and its subsidiaries. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.

[-- Attachment #2: Type: text/html, Size: 3017 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-03-19  6:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-19  6:22 Local YUM Repo Erik Bolton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.