sources.list配置

根据不同版本的ubuntu替换

Ubuntu 12.04 (LTS)代号为precise。

Ubuntu 14.04 (LTS)代号为trusty。

Ubuntu 15.04 代号为vivid。

Ubuntu 15.10 代号为wily。

Ubuntu 16.04 (LTS)代号为xenial

# deb cdrom:[Ubuntu 16.04 LTS _precise Xerus_ - Release amd64 (20160420.1)]/ precise main restricted
deb-src http://archive.ubuntu.com/ubuntu precise main restricted #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ precise main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ precise main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ precise-updates main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ precise-updates main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ precise universe
deb http://mirrors.aliyun.com/ubuntu/ precise-updates universe
deb http://mirrors.aliyun.com/ubuntu/ precise multiverse
deb http://mirrors.aliyun.com/ubuntu/ precise-updates multiverse
deb http://mirrors.aliyun.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ precise-backports main restricted universe multiverse #Added by software-properties
deb http://archive.canonical.com/ubuntu precise partner
deb-src http://archive.canonical.com/ubuntu precise partner
deb http://mirrors.aliyun.com/ubuntu/ precise-security main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ precise-security main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ precise-security universe
deb http://mirrors.aliyun.com/ubuntu/ precise-security multiverse

ubuntu
deb http://cn.archive.ubuntu.com/ubuntu bionic main multiverse restricted universe
deb http://cn.archive.ubuntu.com/ubuntu bionic-updates main multiverse restricted universe
deb http://cn.archive.ubuntu.com/ubuntu bionic-security main multiverse restricted universe
deb http://cn.archive.ubuntu.com/ubuntu bionic-proposed main multiverse restricted universe

更新软件列表

运行如下命令:

sudo apt-get update

更新软件包

运行如下命令:

sudo apt-get upgrade

你可能感兴趣的:(大数据)