因此,我猜我在处理存储库时某个时候不小心输入了 1386 而不是 i386(我想是在下载 wine 时)。
当我运行时sudo apt-get update
,它显示:
N: Skipping acquire of configured file 'main/binary-i1386/Packages' as repository 'http://us.archive.ubuntu.com/ubuntu xenial InRelease' doesn't support architecture 'i1386'
我尝试删除所有 wine ppa 并运行:
sudo dpkg --remove-architecture 1386
我得到了:
dpkg: warning: cannot remove non-foreign architecture '1386'
Odd number of elements in hash assignment at /usr/share/pkg-config-dpkghook line 30.
答案1
您收到的消息表明您添加的体系结构是'i1386'
,而不是 1386。请尝试以下操作:
sudo dpkg --remove-architecture i1386