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

被缓存服务器搞了 apt 没用

  •  
  •   i730 · Aug 17, 2017 · 2456 views
    This topic created in 3220 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   ·   5268 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 67ms · UTC 06:54 · PVG 14:54 · LAX 23:54 · JFK 02:54
    ♥ Do have faith in what you're doing.