summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rwxr-xr-xmdkapplet5
2 files changed, 4 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index 8861e154..65ff360e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- mdkapplet:
+ o adapt to urpmi-5.9 (#38724)
+
Version 2.32 - 5 March 2008, Thierry Vignaud
- mdkapplet:
diff --git a/mdkapplet b/mdkapplet
index fe46df81..775a24a8 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -366,16 +366,13 @@ sub silentCheck() {
if (my $db = urpm::db_open_or_die($urpm)) {
my $requested = {};
my $state = {};
- my @requested_strict;
my $need_restart = urpm::select::resolve_dependencies(
$urpm, $state, $requested,
callback_choices => sub { 0 },
priority_upgrade => $urpm->{options}{'priority-upgrade'},
auto_select => 1,
- resolve_req_callback => sub {
- @requested_strict = sort map { scalar $_->fullname } @_;
- },
);
+ my @requested_strict = map { scalar $_->fullname } @{$urpm->{depslist}}[keys %{$state->{selected}}];
if ($need_restart || @requested_strict) { # FIXME: log first found pkgs?
$exit->('updates');