primary.sqlite.bz2 not found on private repo

I think that I've found the answer yesterday night, at least for the moment I'm not facing the problems descrived before.

The solution is simple, avoid that client keep a local cache of the repos. This can be done including in /etc/yum.conf clients file the next line :

http_caching=none

With this option set up, each time the client executes a yum updateor yum repolist it downloads all the repodata from the repository server, so all the files are in their last version.

I still do not understand why if I was erasing all the local cache in the client with yum clean all; rm -rf /var/cache/yum the client kept searching for old repodata files. If someone has an answer please share it. It drove me crazy for the last few days.

Thank you anyway for yous tips and advices