Score:1

Cannot remove architecture i386

jp flag

i tried to install WineHQ in my ubuntu 20.04 desktop

after the

sudo dpkg --add-architecture i386

that a video that i watched showed me i got some errors

now i cant install update the system

when i try to remove i386 with:

sudo dpkg --remove-architecture i386

it gives me the following error:

dpkg: error: cannot remove architecture 'i386' currently in use by the database

Please help me

ChanganAuto avatar
us flag
https://unix.stackexchange.com/questions/295241/dpkg-error-cannot-remove-architecture-i386-currently-in-use-by-the-database
MG.killergamer. 007 avatar
jp flag
@ChanganAuto nothing that this link said works for me
MG.killergamer. 007 avatar
jp flag
when i type ```sudo apt-get remove --purge `dpkg --get-selections | awk '/i386/{print $1}'` ``` it says: ```E: Malformed entry 62 in list file /etc/apt/sources.list (Component) E: The list of sources could not be read. E: Malformed entry 62 in list file /etc/apt/sources.list (Component) E: The list of sources could not be read. ```
user535733 avatar
cn flag
Read your output: Fix the 'malformed entry' error, then try again. If you don't understand what the 'malformed entry' error means or how to fix it, see https://askubuntu.com/questions/78951
MG.killergamer. 007 avatar
jp flag
@user535733 thanks it worked
MG.killergamer. 007 avatar
jp flag
but when i type sudo apt update it shows me an error: E: Could not get lock /var/lib/apt/lists/lock. It is held by process 3028 (aptd) N: Be aware that removing the lock file is not a solution and may break your system. E: Unable to lock directory /var/lib/apt/lists/
user535733 avatar
cn flag
If you try the error text in the 'Search' box at the top of the page, it will suggest https://askubuntu.com/questions/15433. Advice: Learn the habit of looking up errors. We will happily help with obscure or unusual errors, but the problems you have encountered so far are very common new-user learning experiences.
MG.killergamer. 007 avatar
jp flag
oh sorry ok btw i fixed it
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.