1、配置阿里的debian源

  1. mv /etc/apt/sources.list /etc/apt/sources.list.bak #备份原有配置文件
  2. vim /etc/apt/sources.list
  3. deb http://mirrors.aliyun.com/debian stable main contrib non-free
  4. deb http://mirrors.aliyun.com/debian stable-proposed-updates main contrib non-free
  5. deb http://mirrors.aliyun.com/debian stable-updates main contrib non-free
  6. deb-src http://mirrors.aliyun.com/debian stable main contrib non-free
  7. deb-src http://mirrors.aliyun.com/debian stable-proposed-updates main contrib non-free
  8. deb-src http://mirrors.aliyun.com/debian stable-updates main contrib non-free