I've been setting up a private repo for the company I'm working. At the beginning it was working properly, but today, when I'll try to install a new rpm that I've build I had this ugly error :
http://<server_name>/centos/7/repodata/a6ecd0c880b1f5128974cd147a53cd84d7dab269b9055215b6fbe99fb98f6d7a-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found-:-- ETA
I've already tried :
yum clean all
rm -rf /var/cahe/yum
yum repolist
And again the same error.
I've erased all the contents under repodata on the repo server and recreate the repo again with :
createrepo /path/to/repo/directory
After recreate the repo againg I've ran again
yum clean all
rm -rf /var/cahe/yum
yum repolist
But still nothing working
I'm 100% sure that the client configuration is OK, because I'm the only one playing with the servers for the moment and last week it was working well.
Otherwise the repo is accessible in http, I can see all packages and repodata with a web browser. If a execute
curl http://<server_name>/centos/7/repodata/repomd.xml
from the client, I get the correct file.
I've realized that the name of the primary DB name is not the correct one in the client (even after running yum clean all; rm-rf /var/cache/yum; yum update
). How can I fix this please ? I've been all the afternoon digging into this problem but nothing changes
Permissions in repo directories are setup OK (triple checked)
What I'm missing ???
Thank you in advance for your help