Hi,

in our master-slave setup, syncing channels fails for some channels with the following error:

Code:
 +++ sending log as an email +++

SYNC ERROR: unhandled exception occurred:

(Check logs/email for potentially more detail)

EOFError()
After removing /var/cache/rhn/satsync/* it succeeds.
Case closed ? Saldy no.
Now other channels (that did work before) fail with the following error:

Code:
Importing:  +++ sending log as an email +++

SYNC ERROR: unhandled exception occurred:

(Check logs/email for potentially more detail)

UnicodeDecodeError('ascii', 'ERROR: Encountered IntegrityError: \nFEHLER:  doppelter Schl\xc3\xbcsselwert verletzt Unique-Constraint \xc2\xbbrhn_package_id_pk\xc2\xab\nDETAIL:  Schl\xc3\xbcssel \xc2\xbb(id)=(36931)\xc2\xab existiert bereits.\n\nconsider removing satellite-sync cache at /var/cache/rhn/satsync/* and re-run satellite-sync with same options.\nIf this error persits after removing cache, please contact Red Hat support.', 59, 60, 'ordinal not in range(128)')
'ascii' codec can't decode byte 0xc3 in position 59: ordinal not in range(128)
It does not help to remove /var/cache/rhn/satsync/* again
The error message is partly in german. It says: Duplicate key word violates Unique-Constraint rhn_package_id. Key (id)=(36931) already exists.