[sisyphus] Perl Archive modules

Ivan Adzhubey =?iso-8859-1?q?iadzhubey_=CE=C1_rics=2Ebwh=2Eharvard=2Eedu?=
Вт Апр 15 03:11:50 MSD 2008


Добрый день!

Понадобилось работать с архивами из перла. В Сизифе есть пакеты с модулями для 
zip и tar, но версии очень старые, хорошо бы обновить сборки:

# rpm -qa|fgrep perl-Archive|sort
perl-Archive-Tar-1.29-alt1
perl-Archive-Zip-1.15-alt2

cpan[2]> m Archive::Tar
Module id = Archive::Tar
    DESCRIPTION  Read, write and manipulate tar files
    CPAN_USERID  KANE (Jos Boumans <kane на cpan.org>)
    CPAN_VERSION 1.38
    CPAN_FILE    K/KA/KANE/Archive-Tar-1.38.tar.gz
    DSLIP_STATUS RdpOp (released,developer,perl,object-oriented,Standard-Perl)
    MANPAGE      Archive::Tar - module for manipulations of tar archives
    INST_FILE    /usr/lib/perl5/vendor_perl/Archive/Tar.pm
    INST_VERSION 1.29

cpan[3]> m Archive::Zip
Module id = Archive::Zip
    DESCRIPTION  Provides an interface to ZIP archive files
    CPAN_USERID  SMPETERS (Steve Peters <steve at fisharerojo dot org>)
    CPAN_VERSION 1.23
    CPAN_FILE    A/AD/ADAMK/Archive-Zip-1.23.tar.gz
    DSLIP_STATUS RdpOp (released,developer,perl,object-oriented,Standard-Perl)
    MANPAGE      Archive::Zip - Provide an interface to ZIP archive files.
    INST_FILE    /usr/lib/perl5/vendor_perl/Archive/Zip.pm
    INST_VERSION 1.15

Кроме того, сломан пакет perl-Archive-Extract:

# apt-get install perl-Archive-Extract
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  perl-Archive-Extract: Depends: perl(Module/Load/Conditional.pm) (>= 0.040) 
but it is not installable
E: Broken packages

--Иван



Подробная информация о списке рассылки Sisyphus