![]()
由于官方删除了Debian 8及以下系统的源,造成系统没法安装软件,现给出解决办法(建议还是DD到Debian9好点)
1、操作前做好相应备份
mv /etc/apt/sources.list /etc/apt/sources.list.bak
2、编辑/etc/apt/sources.list
文件
deb http://snapshot.debian.org/archive/debian/20190321T212815Z jessie main
deb-src http://snapshot.debian.org/archive/debian/20190321T212815Z jessie main
deb http://snapshot.debian.org/archive/debian/20190321T212815Z/ jessie/updates main
deb-src http://snapshot.debian.org/archive/debian/20190321T212815Z/ jessie/updates main
deb http://snapshot.debian.org/archive/debian/20190321T212815Z/ jessie-updates main
deb-src http://snapshot.debian.org/archive/debian/20190321T212815Z/ jessie-updates main
添加以上到文件最前面,或者直接删了原来的。
3、更新源
apt-get update
2 条评论
牛,找了半天解决办法才搜到你的博客,这样才解决了
不客气