See More
Popular Forum

MBA (4887) B.Tech (1769) Engineering (1486) Class 12 (1030) Study Abroad (1004) Computer Science and Engineering (988) Business Management Studies (865) BBA (846) Diploma (746) CAT (651) B.Com (648) B.Sc (643) JEE Mains (618) Mechanical Engineering (574) Exam (525) India (462) Career (452) All Time Q&A (439) Mass Communication (427) BCA (417) Science (384) Computers & IT (Non-Engg) (383) Medicine & Health Sciences (381) Hotel Management (373) Civil Engineering (353) MCA (349) Tuteehub Top Questions (348) Distance (340) Colleges in India (334)
See More

how to fix E: Unmet dependencies in kali linux?

General Tech Bugs & Fixes

Max. 2000 characters



( 6 months ago )


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



( 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.

what's your interest