summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm/orphans.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/orphans.pm b/urpm/orphans.pm
index fa8bb28a..b4149361 100644
--- a/urpm/orphans.pm
+++ b/urpm/orphans.pm
@@ -162,7 +162,7 @@ sub _unrequested_orphans_after_remove_once {
}
foreach my $req (uniq(@requires)) {
- $db->traverse_tag_find('whatprovides', $req, sub {
+ $db->traverse_tag_find('whatprovides', URPM::property2name($req), sub {
my ($p) = @_;
$toremove->{$p->fullname} and return; # already done
$unrequested->{$p->name} or return;