0

我正在尝试在我的操作系统上安装 imapclient,但它不起作用。我像这样添加了 perl 存储库:

     zypper ar -f -n perl http://download.opensuse.org/repositories/devel:/languages:/perl/SLE_11_SP2 Perl

我得到了正确的输出,它说添加了存储库。

但是当我使用 zypper 像这样添加 imapclient

    zypper install -y "perl(MAIL::IMAPClient)"

我得到:

    zypper install -y "perl(MAIL::IMAPClient)"
    Refreshing service 'susecloud'.
    Retrieving repository 'perl' metadata [done]
    Building repository 'perl' cache [done]
    Retrieving repository 'perl' metadata [error]
    Repository 'perl' is invalid.
    [|] Valid metadata not found at specified URL(s)
    Please check if the URIs defined for this repository are pointing to a valid 
    repository.
    Warning: Disabling repository 'perl' because of the above error.
    Loading repository data...
    Reading installed packages...
    'perl(MAIL::IMAPClient)' not found in package names. Trying capabilities.
    No provider of 'perl(MAIL::IMAPClient)' found.

任何帮助,将不胜感激!谢谢!

4

1 回答 1

0
>cpan install MAIL::IMAPClient

或更难

>cpan
cpan> force install MAIL::IMAPClient

或者

>ppm install MAIL::IMAPClient

或使用图形用户界面

>ppm
*choose package and install via gui*

链接:MAIL::IMAPClient

于 2014-01-11T18:53:47.363 回答