diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2004-02-05 17:19:49 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2004-02-05 17:19:49 +0000 |
commit | aeca1fd976249e33032cd1c8bdad49c651118417 (patch) | |
tree | 328eb3160e60d824b2fb87b37b1d848730d9c6da /urpm.pm | |
parent | 8211d4dda395d02ebdab2222680c2d22a3557f92 (diff) | |
download | urpmi-aeca1fd976249e33032cd1c8bdad49c651118417.tar urpmi-aeca1fd976249e33032cd1c8bdad49c651118417.tar.gz urpmi-aeca1fd976249e33032cd1c8bdad49c651118417.tar.bz2 urpmi-aeca1fd976249e33032cd1c8bdad49c651118417.tar.xz urpmi-aeca1fd976249e33032cd1c8bdad49c651118417.zip |
explain why copy of hdlist failed, since two different problems may occur
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1443,13 +1443,13 @@ this could happen if you mounted manually the directory when creating the medium } -s "$urpm->{cachedir}/partial/$medium->{hdlist}" > 32 or - $error = 1, $urpm->{error}(N("copy of [%s] failed", $with_hdlist_dir)); + $error = 1, $urpm->{error}(N("copy of [%s] failed (file is suspectingly small)", $with_hdlist_dir)); #- keep checking md5sum of file just copied ! (especially on nfs or removable device). if (!$error && $retrieved_md5sum) { $urpm->{log}(N("computing md5sum of copied source hdlist (or synthesis)")); (split ' ', `md5sum '$urpm->{cachedir}/partial/$medium->{hdlist}'`)[0] eq $retrieved_md5sum or - $error = 1, $urpm->{error}(N("copy of [%s] failed", $with_hdlist_dir)); + $error = 1, $urpm->{error}(N("copy of [%s] failed (md5sum mismatch)", $with_hdlist_dir)); } #- check if the file are equals... and no force copy... |