debian 9 添加源


1.將下面內容的添加入/etc/apt/sources.list(香港鏡像)

#For software
deb http://mirrors.ustc.edu.cn/debian/ stretch main
deb http://mirrors.ustc.edu.cn/debian/ stretch-updates main
deb http://mirrors.ustc.edu.cn/debian-security stretch/updates main
#For wineHQ
deb https://dl.winehq.org/wine-builds/debian/ stretch main
#For driver
deb http://httpredir.debian.org/debian/ stretch main contrib non-free

 

你也可以用一下命令:

echo "deb http://mirrors.ustc.edu.cn/debian/ stretch main
deb http://mirrors.ustc.edu.cn/debian/ stretch-updates main
deb http://mirrors.ustc.edu.cn/debian-security stretch/updates main
deb https://dl.winehq.org/wine-builds/debian/ stretch main
deb http://httpredir.debian.org/debian/ stretch main contrib non-free" >> /etc/apt/sources.list

 

 

2.執行更新動作

apt-get update

 注意:下面是163的debian9的源(會快些畢竟國內的)

deb http://mirrors.163.com/debian/  stretch main non-free contrib
deb http://mirrors.163.com/debian/  stretch-updates main non-free contrib
deb http://mirrors.163.com/debian/  stretch-backports main non-free contrib
deb http://mirrors.163.com/debian-security/  stretch/updates main non-free contrib

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM