Skip to content

Commit

Permalink
Improve the "bad update notice" hint. BZ 1645618
Browse files Browse the repository at this point in the history
  • Loading branch information
dmnks committed Feb 12, 2020
1 parent e48539d commit d959ac5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions yum/update_md.py
Expand Up @@ -611,8 +611,7 @@ def _rid(repoid, fmt=_('(from %s)'), unknown=_("<unknown>")):
msg = _("Update notice %s %s is broken, or a bad duplicate, skipping.") % (un['update_id'], _rid(repoid))
if not have_dup:
msg += _('\nYou should report this problem to the owner of the %s repository.') % _rid(repoid, "%s")
msg += _('\nIf you are the owner, consider re-running the same command with --verbose to see the '
'exact data that caused the conflict.')
msg += _('\nTo help pinpoint the issue, please attach the output of "yum updateinfo --verbose" to the report.')
have_dup = True
if self._vlogger:
self._vlogger.warn("%s", msg)
Expand Down

0 comments on commit d959ac5

Please sign in to comment.