用户工具


Ubuntu 本地源地址


修改源步骤

  1. cd /etc/apt
  2. sudo mv sources.list sources.list.bak
  3. sudo vim sources.list
  4. 根据各自的版本,加入以下相应内容
  5. 最后更新软件源 sudo apt-get update

14.04 (持续更新中)

deb http://192.168.41.191/ubuntu14.04/ trusty main restricted universe multiverse
deb http://192.168.41.191/ubuntu14.04/ trusty-security main restricted universe multiverse
deb http://192.168.41.191/ubuntu14.04/ trusty-updates main restricted universe multiverse
deb http://192.168.41.191/ubuntu14.04/ trusty-proposed main restricted universe multiverse
deb http://192.168.41.191/ubuntu14.04/ trusty-backports main restricted universe multiverse

12.04 (可用但不再更新)

deb http://192.168.41.191/ubuntu12.04/ trusty main restricted universe multiverse
deb http://192.168.41.191/ubuntu12.04/ trusty-security main restricted universe multiverse
deb http://192.168.41.191/ubuntu12.04/ trusty-updates main restricted universe multiverse
deb http://192.168.41.191/ubuntu12.04/ trusty-proposed main restricted universe multiverse
deb http://192.168.41.191/ubuntu12.04/ trusty-backports main restricted universe multiverse