wine32:i386 : Depends: libwine:i386 (= 3.0-1ubuntu1) but it is not going to be installed
The thing is Ubuntu do not come with everything required to install "WINE". In this case it is the 32bit dependencies. That's why this error occurs no matter what you do.
All the solutions on the internet I saw based upon if you have missed some steps. But after doing the same things from different sources for thousands of time I understood there was some other problems.
First I uninstalled the entire wine dependencies, sources , libraries from my computer by using :
sudo apt-get --purge remove wine
This doesn't remove the wine completely, So I visited the following directories and removed the following files :
cd $HOME
rm -r .wine
rm .config/menus/applications-merged/wine*
rm -r .local/share/applications/wine
rm .local/share/desktop-directories/wine*
rm .local/share/icons/????_*.xpm
If you want you can run this command again :
sudo apt-get --purge remove wine
Then I ran this command to correct any broken Files
sudo apt-get update
sudo apt-get autoclean
sudo apt-get clean
sudo apt-get autoremove
After that I searched on google for "how to enable 32 bit architecture in ubuntu 20", I came to this site: https://support.humblebundle.com/hc/en-us/articles/202759400-Installing-32-bit-libs-on-a-64-bit-Linux-system
It said to install this in Ubuntu 12 or less version we have to run this command in terminal:
sudo apt-get install ia32-libs
And For the new versions :
sudo apt-get install lib32z1
I have Ubuntu 20 So I went with the second approach. After this as mentioned in Wine's official website I proceeded And magically installed the wine.
For me it seems that you forgot to add i386 architecture to the list of CPU architectures supported by dpkg
.
I would suggest to add this CPU architecture with command below:
sudo dpkg --add-architecture i386
sudo apt update
And then install wine as you have already requested:
sudo apt install wine-stable wine64 wine32:i386 wine64
Or if you need to install latest Wine - follow official WineHQ guide for Ubuntu but change bionic to xenial (as the bionic packages are not installable) as follows:
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
sudo apt-add-repository -r "deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main"
# ^ remove broken repository for 18.04 LTS
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'
# ^ add 16.04 LTS repository instead
## Install one of WineHQ packages:
# Stable branch
sudo apt install --install-recommends winehq-stable
#Development branch
#sudo apt install --install-recommends winehq-devel
#Staging branch
#sudo apt install --install-recommends winehq-staging
Optionally you may want to remove old versions of Wine packages with
sudo apt purge wine1.6 wine1.8 wine1.8-amd64 wine1.8-i386:i386