1.备份原来的源
1 | cp /etc/apt/sources.list /etc/apt/sources.list.bak |
2.编辑源文件
1 | vi /etc/apt/sources.list |
复制以下代码进文件/etc/apt/sources.list
1 | #163 |
3.运行更新命令
1 | sudo apt-get update |
当才华撑不起野心时,应该静下心来学习;当能力驾驭不了目标时,应该沉下心来历练。
1 | cp /etc/apt/sources.list /etc/apt/sources.list.bak |
1 | vi /etc/apt/sources.list |
1 | #163 |
1 | sudo apt-get update |