V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
i730
V2EX  ›  Linux

被缓存服务器搞了 apt 没用

  •  
  •   i730 · 2017-08-17 16:23:50 +08:00 · 1738 次点击
    这是一个创建于 2442 天前的主题,其中的信息可能已经有所发展或是发生改变。
    ## http://一枚 ip/一些 url,403。
    ## 这导致不能正常安装程序,有啥办法解决吗
    4 条回复    2017-08-17 18:08:09 +08:00
    noe132
        1
    noe132  
       2017-08-17 16:26:43 +08:00
    ProjectAmber
        2
    ProjectAmber  
       2017-08-17 16:29:39 +08:00
    安装 apt-transport-https,并切换到支持 https 的源,如 https://mirrors.tuna.tsinghua.edu.cn
    terrawu
        3
    terrawu  
       2017-08-17 16:31:02 +08:00
    debian 9 的 apt 已经支持炫酷 https-proxy 了,还可以这样弄

    export http_proxy=https://<a_https_proxy>
    sudo -E apt update
    i730
        4
    i730  
    OP
       2017-08-17 18:08:09 +08:00
    @noe132
    @ProjectAmber
    @terrawu
    谢谢各位,不过我树莓派炸了,远程开机就没法用了,所以还不能实践
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1836 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 16:28 · PVG 00:28 · LAX 09:28 · JFK 12:28
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.