From 1414ea6e79e94d943aeaeb2432c75a591fd61f4d Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Wed, 18 Nov 2009 13:04:55 +0000 Subject: ignore gpg_pubkey packages in urpmq --not-available --- urpmq | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'urpmq') diff --git a/urpmq b/urpmq index bed74dbd..3d408a5a 100755 --- a/urpmq +++ b/urpmq @@ -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 { -- cgit v1.2.1