Debian本地镜像长时间不更新

一、执行apt-get update

使用一个长期未更新的本地源,得到错误的提示:

Release file for ... is expired. Updates for this repository will not be applied.

二、解决办法

apt-get -o Acquire::Check-Valid-Until=false update

 

posted @ 2018-01-04 20:33  一沙世界  阅读(493)  评论(0编辑  收藏  举报