diff options
author | Christophe Fergeau <cfergeau@mandriva.com> | 2010-05-11 13:16:21 +0000 |
---|---|---|
committer | Christophe Fergeau <cfergeau@mandriva.com> | 2010-05-11 13:16:21 +0000 |
commit | b70096650be33a553380c819d8dd5822eb024dcf (patch) | |
tree | d9960699dc23ef6e9588b74a7b911d5b307045b3 /urpmq | |
parent | 4c33c95c7a9d64db6f915a66290dda91cb56e341 (diff) | |
download | urpmi-b70096650be33a553380c819d8dd5822eb024dcf.tar urpmi-b70096650be33a553380c819d8dd5822eb024dcf.tar.gz urpmi-b70096650be33a553380c819d8dd5822eb024dcf.tar.bz2 urpmi-b70096650be33a553380c819d8dd5822eb024dcf.tar.xz urpmi-b70096650be33a553380c819d8dd5822eb024dcf.zip |
ignore gpg_pubkey packages in urpmq --not-available
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 { |