Skipping acquire of configured file ···doesn't support architecture 'i386' acquire of configured file

时间:2022-04-30 15:03:22

系统更新的时候报错:

    Skipping acquire of configured file 'main/binary-i386/Packages' as repository
'http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.0 InRelease' doesn't support architecture 'i386'
acquire of configured file 'main/binary-i386/Packages' as repository 'http://repo.mongodb.org/apt/debian
stretch/mongodb-org/4.0 InRelease' doesn't support architecture 'i386'

  解决方法 :

vim /etc/apt/sources.list.d/mongodb-org-4.0.list 
在deb后面加入 [arch=amd64] 如果是其他软件更新