diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | urpm/select.pm | 3 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,6 @@ +- urpme, urpmi: + o add basesystem-minimal to prohibit-remove + Version 5.2 - 18 January 2008, by Pascal "Pixel" Rigaux - urpmi: diff --git a/urpm/select.pm b/urpm/select.pm index a0201426..0dd8106a 100644 --- a/urpm/select.pm +++ b/urpm/select.pm @@ -453,7 +453,8 @@ sub find_removed_from_basesystem { my ($urpm, $db, $state, $callback_base) = @_; if ($callback_base && %{$state->{rejected} || {}}) { my %basepackages; - my @dont_remove = ('basesystem', split /,\s*/, $urpm->{global_config}{'prohibit-remove'}); + my @dont_remove = ('basesystem', 'basesystem-minimal', + split /,\s*/, $urpm->{global_config}{'prohibit-remove'}); #- check if a package to be removed is a part of basesystem requires. $db->traverse_tag('whatprovides', \@dont_remove, sub { my ($p) = @_; |