summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-10-17 07:44:00 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-10-17 07:44:00 +0000
commit9c1a8705fe4ed83709d33b275947d4bab1f79a97 (patch)
treeccec2f7a6ae8c8865c298d6b3762e9a3e0b85dac /urpm
parent81d0a5b0f77d7dfb9c03c050cc0202cdecf94c43 (diff)
downloadurpmi-9c1a8705fe4ed83709d33b275947d4bab1f79a97.tar
urpmi-9c1a8705fe4ed83709d33b275947d4bab1f79a97.tar.gz
urpmi-9c1a8705fe4ed83709d33b275947d4bab1f79a97.tar.bz2
urpmi-9c1a8705fe4ed83709d33b275947d4bab1f79a97.tar.xz
urpmi-9c1a8705fe4ed83709d33b275947d4bab1f79a97.zip
be safer, only main_loop (partially) handles "raw_message" errors
Diffstat (limited to 'urpm')
-rw-r--r--urpm/install.pm1
-rw-r--r--urpm/main_loop.pm1
2 files changed, 1 insertions, 1 deletions
diff --git a/urpm/install.pm b/urpm/install.pm
index 39647f90..a688135a 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -160,7 +160,6 @@ sub options {
sub install {
my ($urpm, $remove, $install, $upgrade, %options) = @_;
$options{translate_message} = 1;
- $options{raw_message} = 1;
my $db = urpm::db_open_or_die_($urpm, !$options{test}); #- open in read/write mode unless testing installation.
diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm
index b8a27349..8ee82423 100644
--- a/urpm/main_loop.pm
+++ b/urpm/main_loop.pm
@@ -212,6 +212,7 @@ foreach my $set (@{$state->{transaction} || []}) {
callback_inst => $callbacks->{inst},
callback_trans => $callbacks->{trans},
callback_report_uninst => $callbacks->{callback_report_uninst},
+ raw_message => 1,
);
urpm::orphans::add_unrequested($urpm, $state);