Debian Stretch-存储库'http://192.168.196.1/sw/repo/deb9 Stretch Release'没有发布文件

时间:2018-12-15 17:00:44

标签: debian apt-get stretch

我已经使用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.

请注意,我能够安装软件包。

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

1 个答案:

答案 0 :(得分:1)

从以下位置更改/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