diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-10-14 04:58:59 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-10-14 04:58:59 +0000 |
commit | 06cc2290d0238f82869b43dd346f685f3cf93136 (patch) | |
tree | dbbeb0266ca9f3f6d36afed087ed248680535f11 | |
parent | 6ea134b523ec10effc700bd915ddd22c73e37a93 (diff) | |
download | urpmi-06cc2290d0238f82869b43dd346f685f3cf93136.tar urpmi-06cc2290d0238f82869b43dd346f685f3cf93136.tar.gz urpmi-06cc2290d0238f82869b43dd346f685f3cf93136.tar.bz2 urpmi-06cc2290d0238f82869b43dd346f685f3cf93136.tar.xz urpmi-06cc2290d0238f82869b43dd346f685f3cf93136.zip |
When a synthesis could not be build, keep the hdlist
-rw-r--r-- | urpm.pm | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1831,9 +1831,9 @@ this could happen if you mounted manually the directory when creating the medium synthesis => "$urpm->{statedir}/synthesis.$medium->{hdlist}", ) }; if ($@) { - $urpm->{error}(N("Unable to build hdlist and synthesis files for medium \"%s\".", $medium->{name})); - unlink "$urpm->{statedir}/$medium->{hdlist}", "$urpm->{statedir}/synthesis.$medium->{hdlist}"; - $medium->{ignore} = 1; + #- XXX this happens when building a synthesis for a local media from RPMs... why ? + $urpm->{error}(N("Unable to build synthesis file for medium \"%s\". Your hdlist file may be corrupted.", $medium->{name})); + unlink "$urpm->{statedir}/synthesis.$medium->{hdlist}"; } else { $urpm->{log}(N("built hdlist synthesis file for medium \"%s\"", $medium->{name})); } |