summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS4
-rw-r--r--urpm/media.pm2
2 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index cbb78050..0eecf563 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+- urpmi.addmedia
+ o with --distrib, don't use previous media's pubkey if a pubkey is missing
+ (eg: use pubkey_main for media "Main Updates" when pubkey_main_updates is missing)
+
Version 4.9.21.1 - 29 May 2007, by Pascal "Pixel" Rigaux
- urpmi.addmedia
diff --git a/urpm/media.pm b/urpm/media.pm
index 43b6deba..e12ba58f 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -1551,6 +1551,8 @@ sub _read_cachedir_pubkey {
if (keys(%key_ids)) {
$medium->{'key-ids'} = join(',', keys %key_ids);
}
+
+ unlink "$urpm->{cachedir}/partial/pubkey";
}
sub _write_rpm_list {