From 454c11f17a6955ff6d8601880fc42fc498f7343b Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 5 Mar 2020 15:48:37 +0100 Subject: add support for --reinstall Needs perl-URPM-5.25 (it won't work with rpm < 4.12.x) --- urpmi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpmi') diff --git a/urpmi b/urpmi index e09afd81..3bbbcc0a 100755 --- a/urpmi +++ b/urpmi @@ -583,7 +583,7 @@ if (@to_install && $options{auto_orphans}) { #- - this also takes care of removing packages from #- installed-through-deps if the package was first installed as a #- dep of another package, then removed and then explicitly installed -if (!$urpm->{options}{downgrade}) { +if (!$urpm->{options}{downgrade} && !$urpm->{options}{reinstall}) { urpm::orphans::mark_as_requested($urpm, $state, $test); } -- cgit v1.2.1