
修改文件是/etc/apt/sources.list.d/ubuntu.sources把这个文件修改为一下内容# 普通软件源使用清华镜像 Types: deb URIs: https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ Suites: noble noble-updates noble-backports Components: main restricted universe multiverse Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg # 安全更新源使用官方源 Types: deb URIs: http://security.ubuntu.com/ubuntu/ Suites: noble-security Components: main restricted universe multiverse Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg修改好以后就正常了这是我自己发现的我太厉害了