-2

This question is an exact duplicate of:

I did

sudo apt-get install wine32

And here are the results:

root@kali:~# sudo apt-get install wine32
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You 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

marked as duplicate by Rui F Ribeiro, Mr Shunz, elbarna, Stephen Harris, msp9011 Apr 15 at 5:50

This question was marked as an exact duplicate of an existing question.

  • by the way, i am an otaku. who can make friend with me ??? – Aika Tsukimiya Apr 12 at 1:42
  • 1
    Hello and welcome to the Unix and Linux stack exchange site! Please review the Help Center for information on how to best post to this site. Have you tried apt --fix-broken install as your error message suggests? Kali Linux, as pointed out in official documentation, is not really designed to handle installing whatever. It is pretty much a WYSIWYG style Linux distro. – kemotep Apr 12 at 1:45
  • and here is my version – Aika Tsukimiya Apr 12 at 1:45
  • Linux kali 4.9.0-kali3-amd64 #1 SMP Debian 4.9.18-1kali1 (2017-04-04) x86_64 GNU/Linux – Aika Tsukimiya Apr 12 at 1:45
  • if the version of Kali Linux that you are using is as old as you say it is you need to upgrade. Your dependencies are missing because they are so far behind what is current. That is the issue with using a rolling release distro is you need to keep some level of parity with updates to maintain a working system. To be honest it may be easier to start over with a fresh install of the latest iso available at kali.org. Backup any important data you have and start over. – kemotep Apr 12 at 14:02
0

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.

  • i have tried it – Aika Tsukimiya Apr 12 at 1:47
  • but it didn't work – Aika Tsukimiya Apr 12 at 1:48
  • try running just sudo apt-get install wine instead of sudo apt-get install wine32. – svartedauden Apr 12 at 1:51
  • i have install wine before – Aika Tsukimiya Apr 12 at 1:52
  • why are you installing wine32 then? – svartedauden Apr 12 at 1:53

Not the answer you're looking for? Browse other questions tagged or ask your own question.