Apt update throws 'doesn't support architecture i386' messages

The point was whether you specified a colon ( : ) or a semicolon ( ; ). The semicolon will requiring escaping in shells. The colon, to my knowledge, does not require escaping.

2 Likes

And, to be clear, that there is no semicolon followed by i386 in the output of sudo dpkg-query --list so grepping on “;i386” will not print anything.

2 Likes

Good to know. I never used the semicolon. Pulled up my command history and this is what I typed

355  sudo dpkg-query --list | grep :i386
356  sudo dpkg-query --list | grep \:i386
357  sudo dpkg-query --list | grep i386
2 Likes