Hide Forgot
Document URL: https://access.redhat.com/documentation/en/red-hat-satellite/6.2/single/content-management-guide/ Section Number and Name: Section: C 6.3 Mirror on sync defined: Repositories now have the option to be used in a “mirror on sync” state where the state of the repository mirrors that of the upstream repository at sync time. This results in packages no longer in the upstream repository being removed. mirror-on-sync is set to true by default. Describe the issue: It assumes that you want it to remove old/broken packages when you update from the source. The "fix" is to disable it when creating the repo: hammer repository create \ --name='testrepo1' \ --organization-id=1 \ --product='product1' \ --content-type='yum' \ --publish-via-http=false \ --mirror-on-sync=false \ --download-policy=immediate Suggestions for improvement: It should not do a mirror on sync when using incremental. Additional information:
Moving to engineering based on case comments. Feel free to move this back to documentation if this is the intended behavior and guidance should be provided in the documentation instead.
Assigning to Clifton for review.
Created redmine issue http://projects.theforeman.org/issues/22012 from this bug
I've cloned this upstream to do the work to prevent it from happening. Moving back to NEW
*** This bug has been marked as a duplicate of bug 1416888 ***