Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
i730
V2EX  ›  Linux

被缓存服务器搞了 apt 没用

  •  
  •   i730 · Aug 17, 2017 · 2458 views
    This topic created in 3221 days ago, the information mentioned may be changed or developed.
    ## http://一枚 ip/一些 url,403。
    ## 这导致不能正常安装程序,有啥办法解决吗
    4 replies    2017-08-17 18:08:09 +08:00
    noe132
        1
    noe132  
       Aug 17, 2017
    ProjectAmber
        2
    ProjectAmber  
       Aug 17, 2017
    安装 apt-transport-https,并切换到支持 https 的源,如 https://mirrors.tuna.tsinghua.edu.cn
    terrawu
        3
    terrawu  
       Aug 17, 2017
    debian 9 的 apt 已经支持炫酷 https-proxy 了,还可以这样弄

    export http_proxy=https://<a_https_proxy>
    sudo -E apt update
    i730
        4
    i730  
    OP
       Aug 17, 2017
    @noe132
    @ProjectAmber
    @terrawu
    谢谢各位,不过我树莓派炸了,远程开机就没法用了,所以还不能实践
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4577 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 61ms · UTC 09:56 · PVG 17:56 · LAX 02:56 · JFK 05:56
    ♥ Do have faith in what you're doing.