I have a really weird problem. I've setup my private yum repo, it is serving the rpm just fine, EXCEPT one rpm.
Let's say I've build and copied over all of my rpms to my custom repo directory, something along the line:
postgresql-myStuff11-11.7-2.el8.x86_64.rpm
postgresql-myStuff11-libs-11.7-2.el8.x86_64.rpm
postgresql-myStuff11-devel.7-2.el8.x86_64.rpm
postgresql-myStuff11-docs-11.7-2.el8.x86_64.rpm
...
All of them are there, I've clear my yum cache, rebuilt my yum repo using createrepo --update
or even deleting the whole repodata
folder and recreate it etc. But no matter what I do, it will not find my main package, when I run yum search myStuff
(or myStuff11 etc).
It would only return EVERYTHING ELSE, except the main package.
Searching Packages:
==========================================================================================
Name Matched: myStuff11
==========================================================================================
postgresql-myStuff11-libs.x86_64 : The shared libraries required for any PostgreSQL clients
Repo : @System
Matched from:
Provide : postgresql-myStuff11-libs = 11.7-2.el8
...
At first, I thought maybe it was due to the Name:
inside my spec file was using a defined variable, but even after I changed it to a string, it remained the exact same thing...
Question:
- How do you make
yum
to see the package postgresql-myStuff11-11.7-2.el8.x86_64.rpm
?