summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-11-15 10:45:34 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-11-15 10:45:34 +0000
commit930f9483e0e230796f86f7004d3aa289b667230b (patch)
tree3fa7e648c7c50341b1a29cbe11ae5b8d3180976b
parent1dfdbae747b80b38c984a59989df1c1baf797bf4 (diff)
downloadurpmi-930f9483e0e230796f86f7004d3aa289b667230b.tar
urpmi-930f9483e0e230796f86f7004d3aa289b667230b.tar.gz
urpmi-930f9483e0e230796f86f7004d3aa289b667230b.tar.bz2
urpmi-930f9483e0e230796f86f7004d3aa289b667230b.tar.xz
urpmi-930f9483e0e230796f86f7004d3aa289b667230b.zip
a somewhat better error message
(occurs when using --install-src and a buildrequire is missing)
-rwxr-xr-xurpmi2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi b/urpmi
index ee5cc439..f98f8a50 100755
--- a/urpmi
+++ b/urpmi
@@ -580,7 +580,7 @@ foreach my $pkg (@to_install) {
}
}
if (@root_only && !$env) {
- print N("You need to be root to install the following dependencies:\n%s\n", join(' ', sort @root_only));
+ print N("You must first call urpmi without --install-src to install the following dependencies:\n%s\n", join(' ', sort @root_only));
exit 1;
}
$urpm->{nb_install} = @to_install;