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 | |
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
-rw-r--r-- | urpmi.spec | 4 | ||||
-rwxr-xr-x | urpmq | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -29,8 +29,8 @@ Requires: %{req_webfetch} eject gnupg Requires(pre): perl-Locale-gettext >= 1.01-14mdk Requires(pre): perl-URPM >= 1.22 Requires: perl-URPM >= 1.22 -#- this one is require'd by urpmi, so it's not found [yet] by perl.req -Requires: perl(MDV::Packdrakeng) +#- this one is require'd by urpmq, so it's not found [yet] by perl.req +Requires: perl-MDV-Packdrakeng >= 1.01 #- rpm2header is needed by urpmq Requires: rpmtools >= 4.5 BuildRequires: bzip2-devel @@ -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); |