aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--Rpmdrake/pkg.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index f018a995..8d7ac47f 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,9 @@
o add media even if one failed instead of rollbacking all of them
(regression introduced in urpmi-6.19)
o fix displayling big list of media to remove (#46773)
+- MandrivaUpdate:
+ o use new proper API to select media, thus fixing not updating media
+ (side effect of urpmi API changes, #47209)
- rpmdrake:
o update GUI package list
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index de890e26..a06422d9 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -236,7 +236,7 @@ Is it ok to continue?"), yesno => 1,
)) or myexit(-1);
writeconf();
urpm::media::select_media($urpm, map { $_->{name} } @update_medias);
- update_sources($urpm, noclean => 1);
+ update_sources($urpm, noclean => 1, medialist => [ map { $_->{name} } @update_medias ]);
}
} else {
if (any { $_->{update} } @{$urpm->{media}}) {