summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-07-22 07:21:46 +0000
committerFrancois Pons <fpons@mandriva.com>2002-07-22 07:21:46 +0000
commitc2e7cb5dba3565c87f9f990739d19d4740e7d990 (patch)
treea40448175d44749e4808afd6035badd1da0ec19e
parentbb211c890a5bbc1fad9953e0e1930169e37998d2 (diff)
downloadurpmi-c2e7cb5dba3565c87f9f990739d19d4740e7d990.tar
urpmi-c2e7cb5dba3565c87f9f990739d19d4740e7d990.tar.gz
urpmi-c2e7cb5dba3565c87f9f990739d19d4740e7d990.tar.bz2
urpmi-c2e7cb5dba3565c87f9f990739d19d4740e7d990.tar.xz
urpmi-c2e7cb5dba3565c87f9f990739d19d4740e7d990.zip
3.8-2mdk
-rwxr-xr-xurpmi8
-rw-r--r--urpmi.spec5
2 files changed, 8 insertions, 5 deletions
diff --git a/urpmi b/urpmi
index 696fd1d9..a7184a09 100755
--- a/urpmi
+++ b/urpmi
@@ -486,15 +486,15 @@ if (%sources_install || %sources) {
$noexpr = _("Nn");
$yesexpr = _("Yy");
message_input(_("Try installation without checking dependencies? (y/N) "), $force && $yesexpr) =~ /[$yesexpr]/
- or exit 1;
+ or exit 1;
$urpm->{log}("starting installing packages without deps");
- @l = $urpm->install($root, \%sources_install, \%sources, nodeps => 1);
+ @l = $urpm->install($root, [ keys %{$state->{ask_remove} || {}} ], \%sources_install, \%sources, nodeps => 1);
if (@l) {
message(_("Installation failed") . ":\n" . join("\n", @l));
message_input(_("Try installation even more strongly (--force)? (y/N) "), $force && $yesexpr) =~ /[$yesexpr]/
- or exit 1;
+ or exit 1;
$urpm->{log}("starting force installing packages without deps");
- @l = $urpm->install($root, \%sources_install, \%sources, nodeps => 1, force => 1);
+ @l = $urpm->install($root, [ keys %{$state->{ask_remove} || {}} ], \%sources_install, \%sources, nodeps => 1, force => 1);
@l and $urpm->fatal(2, _("Installation failed") . ":\n" . join("\n", @l));
}
}
diff --git a/urpmi.spec b/urpmi.spec
index 5ff54a88..719c8d55 100644
--- a/urpmi.spec
+++ b/urpmi.spec
@@ -2,7 +2,7 @@
Name: urpmi
Version: 3.8
-Release: 1mdk
+Release: 2mdk
License: GPL
Source0: %{name}.tar.bz2
Source1: %{name}.logrotate
@@ -144,6 +144,9 @@ fi
%changelog
+* Mon Jul 22 2002 François Pons <fpons@mandrakesoft.com> 3.8-2mdk
+- fixed no dependencies or forced install error.
+
* Fri Jul 19 2002 François Pons <fpons@mandrakesoft.com> 3.8-1mdk
- removing, installing and upgrading packages is done in only
one transaction.