debian - 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.
请注意,我可以安装软件包。
但是,我想知道如何删除此警告。
解决方案
将 /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
推荐阅读
- reactjs - 有没有办法将 create-react-app 导出到包含所有 API/DB 数据的静态应用程序?
- angular - 角度视图未更新,从一个组件调用方法到另一个组件
- time-complexity - 使用双 for 循环查找递归算法的时间复杂度
- java - 在 Spring Boot 中实现 TDD,我不能在控制器中使用 @valid 注释
- android - 如何在矢量可绘制图像中添加圆形边框?
- jenkins - 在 Jenkinsfile 中使用“findFiles”,通过后缀匹配多个文件,使用 glob (ant glob)
- python - 网状不在docker内部创建多个线程?
- python - 无法导入python模块
- java - 在 JGroups 配置中放置 test-jgroups-jdbc_ping.xml jgroup 文件的位置
- python - 来自熊猫列切片的新列