summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-03-21 16:23:30 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-03-21 16:23:30 +0000
commit7c592dad857c64a2d7b047dd0db5e88062947fde (patch)
treec1f20072000704fa123fb5755a074b8a11a5baa0
parent7230c5b0ba14b42d37eaf8de7a56d881af2b393c (diff)
downloadurpmi-7c592dad857c64a2d7b047dd0db5e88062947fde.tar
urpmi-7c592dad857c64a2d7b047dd0db5e88062947fde.tar.gz
urpmi-7c592dad857c64a2d7b047dd0db5e88062947fde.tar.bz2
urpmi-7c592dad857c64a2d7b047dd0db5e88062947fde.tar.xz
urpmi-7c592dad857c64a2d7b047dd0db5e88062947fde.zip
Add a hint for users that run urpmq as non-root and who have trouble with
password-protected media
-rw-r--r--urpm.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm.pm b/urpm.pm
index 3545612d..5c3cf2f4 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -2519,6 +2519,7 @@ sub get_source_packages {
# list file exists but isn't readable
# report error only if no result found, list files are only readable by root
push @list_error, N("unable to access list file of \"%s\", medium ignored", $medium->{name});
+ $< and push @list_error, " " . N("(retry as root?)");
next;
}
if (defined $medium->{url}) {