![将 APT 存储库限制为单一架构?](https://linux22.com/image/189350/%E5%B0%86%20APT%20%E5%AD%98%E5%82%A8%E5%BA%93%E9%99%90%E5%88%B6%E4%B8%BA%E5%8D%95%E4%B8%80%E6%9E%B6%E6%9E%84%EF%BC%9F%20.png)
每次我运行时都会收到此apt update
警告Ubuntu 20.04.2
:
N: Skipping acquire of configured file 'universe/binary-i386/Packages' as repository 'http://miktex.org/download/ubuntu focal InRelease' doesn't support architecture 'i386'
我知道我需要i386
某些软件包的拱门,但我想知道是否可以防止apt
扫描i386
该软件包的版本miktex
可以这样做吗?
答案1
我发现(在docker
官方linux上安装指南) 在和[arch=*whatever arch needed*]
之间添加正是这样做的deb
URL