Red Hat Bugzilla – Bug 858390
local yum repository sees all custom rpm's except one rpm
Last modified: 2014-01-21 01:25:07 EST
Created attachment 614115 [details]
Description of problem:
I am unable to install a custom rpm from my local repository.
All custom rpms in this repository show from other server trying to install it via yum install, except for this one.
I cannot imagine why this would happen for only one rpm, unless there is something wrong with the rpm.
Doesn't yum just look at an rpm file and install it?
I cannot install this crucial rpm as a result via yum.
I verified it is in the repository (createrepo -v --update .) and I checked the repository metadata (zcat x86_64/repodata/*.gz | grep mycustomrpm) and it shows up.
I did notice that running a rpm -ivvh showed some information that it's built for i386 it seems, so I added it to my i386 repository but I imagine yum see's it's an x86_64 system and then doesn't utilize this repository. I can't imagine this is the issue though because I've install i386 packages on x86 system before.
I also tried yum install custompackage.i386 to specify i386 repo but it still doesn't see it.
Version-Release number of selected component (if applicable):
Red Hat Enterprise Linux Server release 5.6 (Tikanga)
Linux ip-10-24-14-20 2.6.18-238.9.1.el5xen #1 SMP Fri Mar 18 12:53:42 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
[root@ ~]# rpm -qa | grep yum
Steps to Reproduce:
1 I added a custom rpm to my local yum repository.
2 I ran createrepo --update .
3 I try to run yum install customrpm, and it doesn't see it.
Loaded plugins: amazon-id, fastestmirror, priorities, security
Loading mirror speeds from cached hostfile
* base: mirror.symnds.com
* extras: mirror.symnds.com
* update: mirror.ash.fastserv.com
44 packages excluded due to repository priority protections
Setting up Install Process
No package SumoLogic available.
Nothing to do
It installs the RPM via yum
I've downloaded the RPM, and queried it. The package name is SumoCollector-19.9-2-1.i386
> I try to run yum install customrpm, and it doesn't see it.
> No package SumoLogic available.
Seems you have tried to install "SumoLogic". Try installing "SumoCollector" instead.