how to fix E: Unmet dependencies in kali linux?

General Tech Bugs & Fixes 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years 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
profilepic.png
manpreet 2 years 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.


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.