summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index c54ed9cf..b8ed5a02 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -2560,7 +2560,7 @@ sub install {
$pkg->update_header($mode->{$_});
$trans->add($pkg,
update => $update, $options{excludepath} ? (excludepath => [ split ',', $options{excludepath} ]) : ())
- or $urpm->{error}(N("unable to install package %s", $install->{$_}));
+ or $urpm->{error}(N("unable to install package %s", $mode->{$_}));
}
++$update;
}