【Ubuntu 14.04】更新安装源

#!/bin/bash


# get source list from ali

cd /etc/apt

mv sources.list sources.list.bak

wget http://mirrors.aliyun.com/repo/ubuntu1404-lts.list

cp ubuntu1404-lts.list sources.list


# update

apt-get update



你可能感兴趣的:(ubuntu,sources.list,14.02)