How do I add i386 architecture in Ubuntu MATE 15.04?
To resolve it, run this command:
sudo dpkg --add-architecture i386
Or, if fails, you can still add it using the other answer's method below.
Check that the only file in the below folder is multiarch using:-
ls /etc/dpkg/dpkg.cfg.d/
See if the output is multiarch
.
If the output is multiarch then run below:-
sudo sh -c "echo 'foreign-architecture i386' > /etc/dpkg/dpkg.cfg.d/multiarch"
NOTE:- First, check the output of uname -m
, if it is already i386, then no-need to follow above steps, i.e, i386 is enabled by default.