随随 發表於 2022-9-16 21:34:00

【问题解决】Debian更新源提示InRelease已过期

<h2 id="问题">问题</h2>
<p>本人日常用 Debian10 今天在更新源(apt update) 时,出现InRelease文件过期的问题</p>
<pre><code class="language-bash">E: http://mirrors.163.com/debian/dists/buster-updates/InRelease 的 Release 文件已经过期(自 1天 22小时 37分 41秒 起处于无效状态)。该仓库的更新将不会应用。
E: http://mirrors.163.com/debian/dists/buster-backports/InRelease 的 Release 文件已经过期(自 1天 22小时 37分 41秒 起处于无效状态)。该仓库的更新将不会应用。
</code></pre>
<p><img src="https://img2022.cnblogs.com/blog/1149398/202209/1149398-20220916211532390-1591729071.png" alt="" loading="lazy"></p>
<p>粗略在网上查了查,很多文章在说服务器未对时导致的(服务器时间快),而本人的情况显然不是。</p>
<h2 id="解决思路">解决思路</h2>
<p>访问它的链接地址 http://mirrors.163.com/debian/dists/buster-updates/InRelease,下载了文件,发现如图情况:</p>
<p><img src="https://img2022.cnblogs.com/blog/1149398/202209/1149398-20220916212306963-1893144241.png" alt="" loading="lazy"></p>
<p>也就是说镜像源已经有几天没更新了,导致InRelease文件过期时间到达。将访问地址换成中科大镜像源,https://mirrors.ustc.edu.cn/debian/dists/buster-updates/InRelease</p>
<p><img src="https://img2022.cnblogs.com/blog/1149398/202209/1149398-20220916212928083-155902507.png" alt="" loading="lazy"></p>
<p>更直观的对比:</p>
<p><img src="https://img2022.cnblogs.com/blog/1149398/202209/1149398-20220916213114409-1230890205.png" alt="" loading="lazy"></p>
<p>所以,更换163为中科大源,更新即可。</p>
<p>(完)</p><br><br>
来源:https://www.cnblogs.com/hellxz/p/16701276.html
頁: [1]
查看完整版本: 【问题解决】Debian更新源提示InRelease已过期