From 5c4584920843325858b718db6d91d900017d43c6 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Fri, 20 Mar 2009 08:37:29 +0000 Subject: When using urpme -a, properly report when no packages could be removed, #48506 --- urpm/select.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/urpm/select.pm b/urpm/select.pm index 7bc975ac..28b38d91 100644 --- a/urpm/select.pm +++ b/urpm/select.pm @@ -481,6 +481,10 @@ sub find_packages_to_remove { or return (); } } + if (!@m) { + $options{callback_notfound} && $options{callback_notfound}->($urpm, @$l) + or return (); + } } #- check if something needs to be removed. -- cgit v1.2.1