1 备份现在的apt源配置 mv /etc/apt/sources.list /etc/apt/sources.list.old 2 替换为其他apt源 下面的内容是一条bash命令,复制后直接粘贴运行即可。 2.1 默认官方源 cat > /etc/apt/sources.list