diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-10-29 18:36:18 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-05 16:27:49 +0100 |
commit | ccafb2b91cfd8428a4a9ae7fa3c8c2756f8a7cf1 (patch) | |
tree | d555f1733c3063de4b8cd2bb0d716388a5cbe065 | |
parent | 9bdfcaa080ef291e5adf7c7156df10f3e9ce746c (diff) | |
download | urpmi-ccafb2b91cfd8428a4a9ae7fa3c8c2756f8a7cf1.tar urpmi-ccafb2b91cfd8428a4a9ae7fa3c8c2756f8a7cf1.tar.gz urpmi-ccafb2b91cfd8428a4a9ae7fa3c8c2756f8a7cf1.tar.bz2 urpmi-ccafb2b91cfd8428a4a9ae7fa3c8c2756f8a7cf1.tar.xz urpmi-ccafb2b91cfd8428a4a9ae7fa3c8c2756f8a7cf1.zip |
add support for --deploops option
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | pod/8/urpmi.pod | 4 | ||||
-rw-r--r-- | urpm/args.pm | 1 | ||||
-rw-r--r-- | urpm/install.pm | 2 | ||||
-rw-r--r-- | urpm/main_loop.pm | 1 |
5 files changed, 9 insertions, 1 deletions
@@ -1,5 +1,7 @@ - library: o fix parsing download progress with rsync >= 3.10 +- urpmi: + o add support for --deploops option (needs URPM-4.29+) Version 7.27.5 - 13 October 2013, by Colin Guthrie diff --git a/pod/8/urpmi.pod b/pod/8/urpmi.pod index ac2ac041..5c18cb2f 100644 --- a/pod/8/urpmi.pod +++ b/pod/8/urpmi.pod @@ -194,6 +194,10 @@ Proposes a very verbose mode. Proposes a very verbose mode (similar to rpm -vv) +=item B<--deploops> + +Print warnings when packages cannot be ordered properly due to dependancy loops. + =item B<--no-suggests> With this option, urpmi will not install "suggested" packages. diff --git a/urpm/args.pm b/urpm/args.pm index 86906669..1f43cb49 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -167,6 +167,7 @@ my %options_spec = ( 'norebuild!' => sub { $urpm->{options}{'build-hdlist-on-error'} = !$_[1] }, 'test!' => \$::test, 'debug__do_not_install' => \$options{debug__do_not_install}, + deploops => \$options{deploops}, 'skip=s' => \$options{skip}, 'prefer=s' => \$options{prefer}, 'root=s' => sub { set_root($urpm, $_[1]) }, diff --git a/urpm/install.pm b/urpm/install.pm index de52dca1..8ede436b 100644 --- a/urpm/install.pm +++ b/urpm/install.pm @@ -353,7 +353,7 @@ sub install { my ($produced_deltas, @trans_pkgs) = _schedule_packages($urpm, $trans, $install, $upgrade, %options); if (!$options{nodeps} && (@errors = $trans->check(%options))) { - } elsif (!$options{noorder} && (@errors = $trans->order)) { + } elsif (!$options{noorder} && (@errors = $trans->order(%options))) { } else { $urpm->{readmes} = {}; diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm index 9695b9db..a010bc76 100644 --- a/urpm/main_loop.pm +++ b/urpm/main_loop.pm @@ -211,6 +211,7 @@ sub _init_common_options { ( urpm::install::options($urpm), test => $test, + deploops => $options{deploops}, verbose => $options{verbose}, script_fd => $urpm->{options}{script_fd}, oldpackage => $state->{oldpackage}, |