summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-11-04 10:55:02 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-11-04 10:55:02 +0000
commit57402bbd4f0809adfdb984fd1a103a2ccd3af0e1 (patch)
treee315e4398a5f2873c026baf431b7e24d0b820b47 /urpmq
parent7d76549aff2596fbe620beaa781df2ae8eadb4f9 (diff)
downloadurpmi-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-xurpmq4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpmq b/urpmq
index c90911cd..c192ad02 100755
--- a/urpmq
+++ b/urpmq
@@ -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);