root@kali:~# sudo apt-get install wine32
Reading package lists...DoneBuilding dependency tree
Reading state information...DoneYou might want to run 'apt --fix-broken install' to correct these.The following packages have unmet dependencies:
metasploit-framework :Depends: postgresql but it is not going to be installed
wine32:i386 :Depends: libc6:i386 (>=2.28) but it is not going to be installed
Depends: libwine:i386 (=4.0-1) but it is not going to be installed
Recommends: wine:i386 (=4.0-1)
E:Unmet dependencies.Try'apt --fix-broken install' with no packages (or specify a solution).
How can I fix it?
Here is my linux version:
Linux kali 4.9.0-kali3-amd64 #1 SMP Debian 4.9.18-1kali1 (2017-04-04) x86_64 GNU/Linux
( 6 months ago )
First, as the error message describes, you should probably try running:
apt --fix-broken install
Second, you should confirm that you want to specifically install Wine32 and not just standard Wine. It appears that the errors specifically relate to 32-bit dependencies (i386) which, if you're on a 64-bit machine, you probably won't have installed. Alternatively, if you really want Wine32, you could try installing libc6:i386 manually.
Last, I'd mention that Kali isn't really intended for desktop usage. The only reason most users would want Wine on Kali would be for disassembly/reverse engineering. I am assuming, based on that you're asking this question, that that isn't what you're doing.
I would recommend switching to a more desktop focused and beginner friendly distro and using Kali in a VM or as a live-boot tool.