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 authored and kontura committed Sep 6, 2022
1 parent b623eed commit 8f08a3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnf/cli/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,7 @@ 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 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 8f08a3c

Please sign in to comment.