diff --git a/init-apt.sh b/init-apt.sh index dc7b0f2..efda293 100644 --- a/init-apt.sh +++ b/init-apt.sh @@ -11,6 +11,9 @@ if [ -f /etc/apt/sources.list.d/${lsb_dist}.sources ]; then fi # 配置镜像源 echo "deb https://mirrors.martin98.com/repository/$lsb_dist $release $components" > /etc/apt/sources.list +echo "deb https://mirrors.martin98.com/repository/$lsb_dist $release-updates $components" >> /etc/apt/sources.list +echo "deb https://mirrors.martin98.com/repository/$lsb_dist $release-backports $components" >> /etc/apt/sources.list +echo "deb https://mirrors.martin98.com/repository/$lsb_dist $release-security $components" >> /etc/apt/sources.list # 关闭交互式弹窗 echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections