首页 > 解决方案 > Debian Stretch - 存储库“http://192.168.196.1/sw/repo/deb9 stretch Release”没有发布文件

问题描述

我已经使用 apt-mirror 下载了 Debian Stretch Repo 并将其托管在本地。

当我进行 apt-get 更新时,我收到以下警告:

W: The repository 'http://192.168.196.1/sw/repo/deb9 stretch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.

请注意,我可以安装软件包。

但是,我想知道如何删除此警告。

标签: debianapt-getstretch

解决方案


将 /etc/apt/sources.list 从

deb http://192.168.196.1/sw/repo/deb9/ stretch main

deb [trusted=1] http://192.168.196.1/sw/repo/deb9/ stretch main

推荐阅读