美文网首页
wsl安装问题,Clearsigned file isn't v

wsl安装问题,Clearsigned file isn't v

作者: ichengzi | 来源:发表于2019-11-27 23:21 被阅读0次
    1. 公司内网安装wsl,无法使用微软商店, 需要手动安装 ubuntu1804

    2. apt install nodejsunable to locate package nodejs

      • 无法定位安装包,需要更新软件源
    3. apt update报错, Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)

      • 测试可用: 修改更新源(vim /etc/apt/sources.list), http源 改为 https源。 参考:https://www.cnblogs.com/ssxblog/p/11357126.html
        ##中科大源
        deb https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse
        deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse
        deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
        deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
        deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
        deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
        deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
        deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
        deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
        deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
        
      • 设置apt proxy, 测试无效果
    4. apt update, apt upgrade, apt install nodejs 完毕

    copy from : https://ichengzi.github.io/2019/11/27/wsl安装问题.html

    相关文章

      网友评论

          本文标题:wsl安装问题,Clearsigned file isn't v

          本文链接:https://www.haomeiwen.com/subject/kxxvwctx.html