From 7c592dad857c64a2d7b047dd0db5e88062947fde Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Tue, 21 Mar 2006 16:23:30 +0000 Subject: Add a hint for users that run urpmq as non-root and who have trouble with password-protected media --- urpm.pm | 1 + 1 file changed, 1 insertion(+) 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}) { -- cgit v1.2.1