package architecture (i386) does not match system (amd64):

场景:

apt-get install libxml2:i386时报错

解决办法:

dpkg --add-architecture i386

apt-get update

apt-get install libxml2:i386