Debian 8 Update/Backports在主源不复存在

jessie-updates和jessie-backports已经移除出主源,其中,updates没有意义可以直接删掉,backports被移动至archive.debian.org,国内无镜像。

deb http://archive.debian.org/debian/ jessie-backports main contrib non-free

Unfortunately, with the APT version in jessie, this cannot be ignored on a per source basis (it can with the APT version from stretch, using the deb [check-valid-until=no] ... syntax). So you need to disable this check globally, using:

echo 'Acquire::Check-Valid-Until no;' > /etc/apt/apt.conf.d/99no-check-valid-until

After that, apt-get update just works.

此处评论已关闭