我正在尝试在我的操作系统上获取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.
.

任何帮助都会受到赞赏!谢谢!

有帮助吗?

解决方案

>cpan install MAIL::IMAPClient
.

或更高

>cpan
cpan> force install MAIL::IMAPClient
.

>ppm install MAIL::IMAPClient
.

或gui

>ppm
*choose package and install via gui*
.

链接: mail :: imapclient

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top