From 9fe33de81b7c4c7acc0cce5a45e751b631d53122 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 8 Jul 2008 14:12:17 +0000 Subject: - urpmi o handle --debug-librpm --- NEWS | 1 + pod/urpmi.8.pod | 4 ++++ urpm/args.pm | 1 + urpmi | 2 -- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 6b0c5e93..03cd4bf6 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,6 @@ - urpmi: o handle README.urpmi in utf8 (but not other encodings) (#41553) + o handle --debug-librpm - urpmi.addmedia: o make --mirrorlist with no url equivalent to --mirrorlist '$MIRRORLIST' (#40283) o --interactive: fix selecting "noauto" media (#39522) diff --git a/pod/urpmi.8.pod b/pod/urpmi.8.pod index b80b81a5..64204268 100644 --- a/pod/urpmi.8.pod +++ b/pod/urpmi.8.pod @@ -190,6 +190,10 @@ Proposes a verbose mode with various messages. Proposes a very verbose mode. +=item B<--debug-librpm> + +Proposes a very verbose mode (similar to rpm -vv) + =item B<--no-suggests> With this option, urpmi will not install "suggested" packages. diff --git a/urpm/args.pm b/urpm/args.pm index d2493fcb..9626fc6b 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -50,6 +50,7 @@ my %options_spec_all = ( $options{verbose}++; $urpm->{debug} = $urpm->{debug_URPM} = sub { print STDERR "$_[0]\n" }; }, + 'debug-librpm' => sub { URPM::setVerbosity(7) }, # 7 == RPMLOG_DEBUG 'q|quiet' => sub { --$options{verbose} }, 'v|verbose' => sub { ++$options{verbose} }, 'urpmi-root=s' => sub { urpm::set_files($urpm, $_[1]) }, diff --git a/urpmi b/urpmi index 23e0b811..7c3c0cda 100755 --- a/urpmi +++ b/urpmi @@ -28,8 +28,6 @@ use urpm::select; use urpm::util qw(untaint difference2 member partition cat_); use urpm::main_loop; -#URPM::setVerbosity(7); - #- default options. our $update = 0; our $media = ''; -- cgit v1.2.1