diff options
Diffstat (limited to 'urpmq')
-rwxr-xr-x | urpmq | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -258,7 +258,8 @@ if ($options{list_aliases}) { $p->name . '-' . $p->version . '-' . $p->release . '.' . $p->arch }; foreach my $p (@{$urpm->{depslist}}) { - $available{$to_string->($p)} = 1; + # Magical packages like gpg-pubkey do not have arch and we do not want them + $available{$to_string->($p)} = 1 if $p->arch; } my $db = urpm::db_open_or_die_($urpm); $db->traverse(sub { |