Hey everbody,
I run a mirror of the RedHat repository on a network at work (no outside connections to the net) and trying to do a regular update yesterday I messed something up. I spent today looking online, checking yum configs, apache config, etc. but couldn't figured out what I goofed, so here goes:
All of my rpms and the repodata directory are in:
Code:
/var/yumRepository/rhel-i386-server-5/getPackage/
When I run:
on one of my remote machines it fires up properly, checks for updates and identifies the correct packages, but returns [code][Errno 14] HTTP Error 404 - Note Found[code] when it tries to download each one of the packages.
So far I've figured out it tries to download from a different (wrong) url, but no reason why it is changing urls / where the wrong one is coming from:
Code:
It should be hitting:
http://<my ip>/repo/rhel-i386-server-5/getPackage/<file>.rpm
But it is hitting:
http://<my ip>/repo/rhel-i386-server-5/getPackage/var/update/os/Server/rhel-i386-server-5/getPackage/<file>.rpm
I can't find where the extra stuff in the url for the update (it can't be there when it checks for updates since it finds the correct packages to update right?) is getting pulled from for the update. I'm thinking it must be a problem on my mirror, since I made the changes there (deleted the repodata directory, yum clean all, and redid createrepo twice) and I have an identical problem on all my remote machines.
Well, thanks everybody who took the time to read this far

I'll try and provide any information someone needs if I left something out, but unless I remember it of the top of my head it may have to wait until tomorrow (no net connection).
Thanks,
WindleX