diff options
author | Pascal Terjan <pterjan@mandriva.org> | 2009-11-18 13:04:55 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mandriva.org> | 2009-11-18 13:04:55 +0000 |
commit | 1414ea6e79e94d943aeaeb2432c75a591fd61f4d (patch) | |
tree | d9960699dc23ef6e9588b74a7b911d5b307045b3 | |
parent | ae46f6a21b8676b81c78290f182551f257c285a7 (diff) | |
download | urpmi-1414ea6e79e94d943aeaeb2432c75a591fd61f4d.tar urpmi-1414ea6e79e94d943aeaeb2432c75a591fd61f4d.tar.gz urpmi-1414ea6e79e94d943aeaeb2432c75a591fd61f4d.tar.bz2 urpmi-1414ea6e79e94d943aeaeb2432c75a591fd61f4d.tar.xz urpmi-1414ea6e79e94d943aeaeb2432c75a591fd61f4d.zip |
ignore gpg_pubkey packages in urpmq --not-available
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | urpmq | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,6 @@ - don't cache media.cfg from the media when using a virtual one (ie a medium for which we don't want to cache metadata) +- ignore gpg_pubkey packages in urpmq --not-available Version 6.32 - 29 October 2009 @@ -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 { |