Skip to content

Instantly share code, notes, and snippets.

@tony612
Last active August 31, 2016 14:48
Show Gist options
  • Save tony612/96536676e8afb04cba6d9d74034ec0bf to your computer and use it in GitHub Desktop.
Save tony612/96536676e8afb04cba6d9d74034ec0bf to your computer and use it in GitHub Desktop.
ubuntu 14 source.list
deb http://cn.archive.ubuntu.com/ubuntu/ trusty main universe
deb http://cn.archive.ubuntu.com/ubuntu/ trusty-security main universe
deb http://cn.archive.ubuntu.com/ubuntu/ trusty-updates main universe
deb http://cn.archive.ubuntu.com/ubuntu/ trusty-backports main universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ trusty main universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ trusty-security main universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ trusty-updates main universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ trusty-backports main universe
sudo sh -c "cat <<EOF >/etc/apt/sources.list
deb http://cn.archive.ubuntu.com/ubuntu/ trusty main universe
deb http://cn.archive.ubuntu.com/ubuntu/ trusty-security main universe
deb http://cn.archive.ubuntu.com/ubuntu/ trusty-updates main universe
deb http://cn.archive.ubuntu.com/ubuntu/ trusty-backports main universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ trusty main universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ trusty-security main universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ trusty-updates main universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ trusty-backports main universe
EOF"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment