我换了清华的源
apt update时出现了问题:
E: 无法下载 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/dists/focal/main/binary-i386/Packages 404 Not Found [IP: 101.6.8.193 443]
E: 无法下载 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/dists/focal-updates/main/binary-i386/Packages 404 Not Found [IP: 101.6.8.193 443]
E: 无法下载 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/dists/focal-backports/main/binary-i386/Packages 404 Not Found [IP: 101.6.8.193 443]
E: 无法下载 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/dists/focal-security/main/binary-i386/Packages 404 Not Found [IP: 101.6.8.193 443]
E: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。
对了我的电脑是ARM处理器的所以用了 https://mirror.tuna.tsinghua.edu.cn/help/ubuntu-ports/ 这个源(其他源也试过了不行)
ping了其中一个:
root@TuXg-PC:~# ping 101.6.8.193 443
PING 443 (0.0.1.187) 56(124) bytes of data.
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
--- 443 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4010ms
对了我是root的权限
对了,我可以联网
root@TuXg-PC:~# ping baidu.com
PING baidu.com (220.181.38.148) 56(84) bytes of data.
64 bytes from baidu.com (220.181.38.148): icmp_seq=1 ttl=52 time=39.6 ms
64 bytes from baidu.com (220.181.38.148): icmp_seq=2 ttl=52 time=47.7 ms
64 bytes from baidu.com (220.181.38.148): icmp_seq=3 ttl=52 time=43.7 ms
--- baidu.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 39.562/43.660/47.690/3.318 ms
可能是装图形化界面弄坏的
换阿里源 或者 豆瓣的试试呢
阿里的也试过了,一开始就是阿里,一样的问题
可能是版本问题