1. Debian8.11是比较老的一个版本,许多镜像网站更新软件源都会报错。
找到一个相对错误少的一个:
deb http://mirror.nus.edu.sg/Debian/ jessie main
deb-src http://mirror.nus.edu.sg/Debian/ jessie main
编辑/etc/apt/sources.list,添加此软件源,apt update更新,有一个警告:
W: GPG error: http://mirror.nus.edu.sg jessie Release: The following signatures were invalid: KEYEXPIRED 1668891673
相对其他镜像网站来说,好一些。
2. 用iso做更新源
root@debian:~# mount debian-8.11.1-amd64-DVD-1.iso /media/cdrom/
mount: /dev/loop0 is write-protected, mounting read-only
root@debian69:~# apt-cdrom -m -d /media/cdrom/ add
root@debian69:~# apt update
3. 通过http方式取得
root@debian:~# cat /etc/ap