I used this command to add i386 arch:
sudo dpkg --add-architecture i386
And then immediately after without installing any packages I tried to remove the i386 arch like so:
sudo dpkg --remove-architecture i386
And i got the error:
dpkg: error: cannot remove architecture 'i386' currently in use by the database
Solutions I have seen so far involve removing i386 packages, I haven't installed any, the ones that are installed are vital to the functioning of the OS. What do I do?
EDIT, PLEASE READ THE FOLLOWING TO AVOID DESTROYING YOUR OS:
Turns out that 64-bit Linux OSes already include the i386 arch, so the command
sudo dpkg --add-architecture i386 didn't really do anything.