Skip to content

Commit

Permalink
Fix broken dependencies error reporting (RhBug:2088422)
Browse files Browse the repository at this point in the history
= changelog =
type: bugfix
resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2088422
  • Loading branch information
jan-kolarik committed Sep 2, 2022
1 parent b623eed commit ee7eba0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dnf/cli/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,8 @@ def format_line(group):
lines.append(format_line(group))
pkglist_lines.append((action, lines))
# show skipped conflicting packages
if not self.conf.best and self.base._goal.actions & forward_actions:
if ((not self.conf.best or not self.conf.strict) and not self.conf.skip_broken) \
and self.base._goal.actions & forward_actions:
lines = []
skipped_conflicts, skipped_broken = self.base._skipped_packages(
report_problems=True, transaction=transaction)
Expand Down

0 comments on commit ee7eba0

Please sign in to comment.