跳至正文
  • 31 views
  • 1 min read

Debian9(Stretch)换源

新浪微博 豆瓣 QQ 百度贴吧 QQ空间

从2023年4月23日起,debian9的源包地址更换至新地址。 新地址如下:

deb http://archive.debian.org/debian/ stretch main contrib non-free
deb-src http://archive.debian.org/debian/ stretch main contrib non-free
deb http://archive.debian.org/debian-security/ stretch/updates main contrib non-free
deb-src http://archive.debian.org/debian-security/ stretch/updates main contrib non-free
deb http://archive.debian.org/debian/ stretch-backports main contrib non-free

将上面内容替换到/etc/apt/sources.list中,然后执行sudo apt-get update即可。

最终终于完成了安装包更新,然后就可以随便安装需要的工具软件了。

发表回复