Score:14

Accidentally added architecture 1386 instead of i386

us flag

When installing wine on my Ubuntu machine, I made a small typo when allowing for 32-bit and 64-bit systems. I accidentally typed sudo dpkg --add-architecture 1386 instead of i386.

Now, when I try to sudo apt-get update or install any new software, I eventually get (among others) two noticeable error messages. The first is:

404 IP [some strange number, not my IP address] not found

The second error message ends with:

architecture 1386 not supported

I believe this is a result of the typo that I made using the dpkg command. How can I undo this?

Thank you very much.

muru avatar
us flag
Does this answer your question? [How to solve "Unable to find expected entry 'restricted/binary-1386/Packages' Wrong sources.list entry or malformed file"?](https://askubuntu.com/questions/383644/how-to-solve-unable-to-find-expected-entry-restricted-binary-1386-packages-wr)
Score:31
cn flag

You can just undo --add-architecture with --remove-architecture.

Dpkg maintains a list of architectures it is supposed to track, apt consumes this list and tries to fetch package lists for each of them.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.