summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
Diffstat (limited to 'urpmq')
-rwxr-xr-xurpmq4
1 files changed, 1 insertions, 3 deletions
diff --git a/urpmq b/urpmq
index 3d44b840..6348e281 100755
--- a/urpmq
+++ b/urpmq
@@ -288,7 +288,7 @@ if ($urpm::args::options{list_aliases}) {
#- If more than one thing provides this requirement
#- then don't bother finding stuff
#- that needs it as it will be invalid
- my @l = grep { $_ ne $pkg->name } map { $urpm->{depslist}[$_]->name } keys %{$urpm->{provides}{$n}};
+ my @l = grep { $_ ne $pkg->name } map { $_->name } $urpm->packages_providing($n);
$urpm->{log}(sprintf "skipping package(s) requiring %s via %s, since %s is also provided by %s", $pkg->name, $n, $n, join(' ', @l));
next;
}
@@ -413,8 +413,6 @@ if ($urpm::args::options{list_aliases}) {
if ($urpm::args::options{list_files}) {
if ($pkg->files) {
print join("\n", $pkg->files) . "\n";
- } else {
- print STDERR N("No filelist found\n");
}
}
if ($urpm::args::options{changelog}) {