小编Tar*_*nti的帖子

如何在apt包管理器的sources.list中同时拥有arch=amd64和trusted=yes?

我想做什么?

你可以有
deb [trusted=yes] http://pathtoserver/ubuntu bionic main
deb [arch=amd64] http://pathtoserver/ubuntu bionic main

分别在sources.list中。

有没有办法我可以做
deb [trusted=yes, arch=amd64] http://pathtoserver/ubuntu bionic main或类似的事情,我只能将 amd64 作为选项并且可信应该是肯定的。在 Ubuntu 18.04 仿生中。


错误

如果我使用以下 deb 行
deb [arch=amd64 trusted=yes] http://pathtoserver/ubuntu bionic main

E: Conflicting values set for option Trusted regarding source
E: The list of sources could not be read.
Run Code Online (Sandbox Code Playgroud)

这是一个气隙系统,我已经镜像了 ubuntu 存储库以供离线使用。

package-management aptitude synaptic apt localrepository

23
推荐指数
1
解决办法
2万
查看次数