V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
awenlinux
V2EX  ›  SSL

let's encrypt 升级失败

  •  
  •   awenlinux · 2017-03-14 12:37:13 +08:00 · 3526 次点击
    这是一个创建于 2810 天前的主题,其中的信息可能已经有所发展或是发生改变。

    我尝试运行/usr/bin/certbot renew --quiet 升级证书,然而提示报错信息如下

    Collecting acme==0.12.0 (from -r /tmp/tmp.QGMzMqont0/letsencrypt-auto-requirements.txt (line 174))
      Could not find a version that satisfies the requirement acme==0.12.0 (from -r /tmp/tmp.QGMzMqont0/letsencrypt-auto-requirements.txt (line 174)) (from versions: 0.0.0.dev20151006, 0.0.0.dev20151008, 0.0.0.dev20151017, 0.0.0.dev20151020, 0.0.0.dev20151021, 0.0.0.dev20151024, 0.0.0.dev20151030, 0.0.0.dev20151104, 0.0.0.dev20151107, 0.0.0.dev20151108, 0.0.0.dev20151114, 0.0.0.dev20151123, 0.0.0.dev20151201, 0.1.0, 0.1.1, 0.2.0, 0.3.0, 0.4.0, 0.4.1, 0.4.2, 0.5.0, 0.6.0, 0.7.0, 0.8.0, 0.8.1, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.10.0, 0.10.1, 0.10.2, 0.11.0, 0.11.1)
    No matching distribution found for acme==0.12.0 (from -r /tmp/tmp.QGMzMqont0/letsencrypt-auto-requirements.txt (line 174))
    You are using pip version 8.0.3, however version 9.0.1 is available.
    You should consider upgrading via the 'pip install --upgrade pip' command.
    =====================================================
    
    Certbot has problem setting up the virtual environment.
    
    We were not be able to guess the right solution from your pip 
    output.
    
    Consult https://certbot.eff.org/docs/install.html#problems-with-python-virtual-environment
    for possible solutions.
    You may also find some support resources at https://certbot.eff.org/support/ .
    
    5 条回复    2017-03-22 11:09:33 +08:00
    mkdong
        1
    mkdong  
       2017-03-14 12:45:05 +08:00
    按照提示来说,先升级下 pip ?
    > You are using pip version 8.0.3, however version 9.0.1 is available.
    > You should consider upgrading via the 'pip install --upgrade pip' command.
    kmahyyg
        2
    kmahyyg  
       2017-03-14 12:59:41 +08:00 via Android
    偷懒,避免错误,不用编译版!
    apt-get install letsencrypt -y -t jessie-backports
    Pastsong
        3
    Pastsong  
       2017-03-14 13:02:47 +08:00
    RTFM
    msg7086
        4
    msg7086  
       2017-03-14 16:25:43 +08:00
    acme.sh 欢迎你……
    fundebug
        5
    fundebug  
       2017-03-22 11:09:33 +08:00
    是因为阿里的 pip 源木有更新吧。我是这样搞定的:

    mv ~/.pip/pip.conf ~/.pip/pip.conf.backup

    也可以用清华的 pip 源

    https://mirrors.tuna.tsinghua.edu.cn/help/pypi/
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2757 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 12:42 · PVG 20:42 · LAX 04:42 · JFK 07:42
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.