diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-11-04 10:55:02 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-11-04 10:55:02 +0000 |
commit | 57402bbd4f0809adfdb984fd1a103a2ccd3af0e1 (patch) | |
tree | e315e4398a5f2873c026baf431b7e24d0b820b47 /urpmq | |
parent | 7d76549aff2596fbe620beaa781df2ae8eadb4f9 (diff) | |
download | urpmi-57402bbd4f0809adfdb984fd1a103a2ccd3af0e1.tar urpmi-57402bbd4f0809adfdb984fd1a103a2ccd3af0e1.tar.gz urpmi-57402bbd4f0809adfdb984fd1a103a2ccd3af0e1.tar.bz2 urpmi-57402bbd4f0809adfdb984fd1a103a2ccd3af0e1.tar.xz urpmi-57402bbd4f0809adfdb984fd1a103a2ccd3af0e1.zip |
Better error messages when urpmq fails to read cz archives
Diffstat (limited to 'urpmq')
-rwxr-xr-x | urpmq | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -327,7 +327,7 @@ if ($urpm::args::options{list_aliases}) { quiet => 1, ); defined $packer or do { - warn "Can't open archive\n"; + warn "Can't open archive: $MDV::Packdrakeng::error"; exit 1; }; $packer->extract(undef, @headers); @@ -363,7 +363,7 @@ if ($urpm::args::options{list_aliases}) { require MDV::Packdrakeng; my $packer = MDV::Packdrakeng->open(archive => $hdlist_path, quiet => 1); defined $packer or do { - warn "Can't open archive\n"; + warn "Can't open archive: $MDV::Packdrakeng::error"; exit 1; }; $packer->extract($tmp_header_dir, @headers); |