![尝试在 Landscape 客户端上更新时出现“存储库不支持架构”](https://linux22.com/image/1156345/%E5%B0%9D%E8%AF%95%E5%9C%A8%20Landscape%20%E5%AE%A2%E6%88%B7%E7%AB%AF%E4%B8%8A%E6%9B%B4%E6%96%B0%E6%97%B6%E5%87%BA%E7%8E%B0%E2%80%9C%E5%AD%98%E5%82%A8%E5%BA%93%E4%B8%8D%E6%94%AF%E6%8C%81%E6%9E%B6%E6%9E%84%E2%80%9D.png)
当我尝试在横向客户端机器上更新时出现此错误。
$ sudo apt-get update
N: Skipping acquire of configured file 'restricted/binary-i386/Packages'
as repository 'http://landscape/repository/standalone/xenial xenial-updates InRelease'
doesn't support architecture 'i386'
有没有简单的方法可以添加 arch i386,而不必创建新的 pocket,只使用 CLI?
答案1
APi 有一个編輯口袋方法采用架构列表。类似这样的方法应该可以让你更改口袋的架构列表:
landscape-api edit-pocket pocket series distribution --architectures amd64,i386