1. 程式人生 > >debian 9 添加源

debian 9 添加源

date list col nbsp sources org str win security

1.將下面內容的添加入/etc/apt/sources.list

deb http://ftp.cn.debian.org/debian/ stretch main
deb http://ftp.cn.debian.org/debian/ stretch-updates main
deb http://ftp.cn.debian.org/debian-security stretch/updates main
deb https://dl.winehq.org/wine-builds/debian/ stretch main

你也可以用一下命令:

echo "deb http://ftp.cn.debian.org/debian/ stretch main
deb http://ftp.cn.debian.org/debian/ stretch-updates main deb http://ftp.cn.debian.org/debian-security stretch/updates main deb https://dl.winehq.org/wine-builds/debian/ stretch main" >> /etc/apt/sources.lsit

2.執行更新動作

apt-get update

debian 9 添加源