ubutnu更换国内源后,更新一直出现404,Not Found的问题

在Ubuntu 16.04系统中,用户更换为清华大学的镜像源后,更新时遇到404 Not Found错误。原因是安装NVIDIA驱动工作SDK导致apt配置混乱,寻找ARM架构的包。解决方案是在sources.list中为每个源添加'[arch=amd64]',指定更新为amd64架构,成功解决了问题。
摘要由CSDN通过智能技术生成

1.问题

题主系统是ubuntu16.04,64位系统,尝试更换国内各种源,连ubuntu官方源都尝试了.

sudo vim /etc/apt/sources.list修改为:

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted universe multiverse

sudo apt update 后,一直出现Not Found的问题,类似如下:
Reading package lists... Done
E: Failed to fetch https://mirrors.tuna.tsinghua.edu.cn/ubuntu/dists/xenial/main/binary-arm64/Packages  404  Not Found
E: Failed to fetch https://mirrors.tuna.tsinghua.edu.cn/ubuntu/dists/xenial-updates/main/binary-arm64/Packages  404  Not Found
E: Failed to fetch https://mirrors.tuna.tsinghua.edu.cn/ubuntu/dists/xenial-backports/main/binary-arm64

  • 11
    点赞
  • 12
    收藏
    觉得还不错? 一键收藏
  • 4
    评论
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值