diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | urpm/orphans.pm | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- urpmi, urpme, urpmq: + o fix orphans handling: suggested packages must not be detected as orphans - urpmi: o handle README.urpmi in utf8 (but not other encodings) (#41553) o handle --debug-librpm diff --git a/urpm/orphans.pm b/urpm/orphans.pm index 283c9dec..99368c1e 100644 --- a/urpm/orphans.pm +++ b/urpm/orphans.pm @@ -246,7 +246,7 @@ sub _all_unrequested_orphans { } while (my $pkg = shift @$req) { - foreach my $prop ($pkg->requires) { + foreach my $prop ($pkg->requires, $pkg->suggests) { my $n = URPM::property2name($prop); foreach my $p (@{$provides{$n} || []}) { if ($p != $pkg && $l{$p->name} && $p->provides_overlap($prop)) { |