repository sync problems
I've recently run into an issue where one of the Red Hat repositories didn't sync all of the packages that should be in it. When adding the Red Hat Enterprise Linux 6 Server - RH Common RPMs x86_64 6.4 repo and performing the initial sync, only 15 packages were downloaded. In the same repo for other versions, there are more than 150 packages. While working with support, they've had me disable and enable the repo to try and trigger a fresh sync, but satellite just reports there are no new packages.
Is there any way to force satellite to redownload all packages or to see why it is only downloading a few?
Responses
Hey Gary,
PREFACE: I am not advocating doing anything without Red Hat's blessing
What steps did you take to add that channel? (i.e. did you run satellite-sync -c
Did they ask you to delete the cache directories as well? On occasion I have have had to do this myself (for different reasons) and initiate a resync. (if you google search "/var/cache/rhn/satsync" you will see some examples). Again - I would clear with support before you do anything in case it messes up whatever direction they are hoping to go.
EDIT: the method I mention (clearing the cache) does not download everything - I think it simply checks what should be there, what actually is there, downloads the delta and then relinks everything.
Does it give any errors on the sync, or fail silently? I had a repo that would not sync correctly (showing "Sync Incomplete" on the Sync Status page) and the best support could do have me completely delete that repo (remove it from all Content Views & published versions thereof, then un-check it in Content -> Red Hat Repositories), and start over by re-adding it to the system.
If you are syncing from the Content > Sync Status page, the status of the repo sync should be a clickable link (on the far right hand side). Click on that and it should take you to the task status.
- what is the "Output" (towards the bottom)?
- Under the "Raw" tab can you grab the complete "raw input" text?
- Is anything listed under the "Errors" tab?
-Justin
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
