summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--urpm/orphans.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 03cd4bf6..97e97f46 100644
--- a/NEWS
+++ b/NEWS
@@ -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)) {