infobyte / faraday

Open Source Vulnerability Management Platform
https://www.faradaysec.com
GNU General Public License v3.0
5.04k stars 915 forks source link

unmet dependancies on kali #87

Closed leonteale closed 8 years ago

leonteale commented 8 years ago

So i was trying to install this in a standard intall of Kali. but it doesnt work out of the box? or perhaps not with kali 2.0?

unmet dependancies, now i know this isnt strictly relating to an issue with the tool but perhaps some guidance on a way round this?

`snip Ign http://http.kali.org kali-rolling/non-free Translation-en
Fetched 83.4 kB in 8s (9,420 B/s)
Reading package lists... Done Reading package lists... Done Building dependency tree
Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: gsettings-desktop-schemas : Breaks: gnome-settings-daemon (< 3.19.92) but 3.14.2-3 is to be installed Breaks: mutter (< 3.19.92) but 3.14.4-1~deb8u1 is to be installed gstreamer1.0-plugins-base : Breaks: gstreamer1.0-plugins-bad (< 1.7.90) but 1.4.4-2.1+b1 is to be installed libgstreamer-plugins-base1.0-0 : Breaks: gstreamer1.0-plugins-bad (< 1.7.1) but 1.4.4-2.1+b1 is to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. Traceback (most recent call last): File "/usr/bin/pip", line 9, in load_entry_point('pip==1.5.6', 'console_scripts', 'pip')() File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 542, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2569, in load_entry_point return ep.load() File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2229, in load return self.resolve() File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2235, in resolve module = import(self.module_name, fromlist=['name'], level=0) File "/usr/lib/python2.7/dist-packages/pip/init.py", line 74, in from pip.vcs import git, mercurial, subversion, bazaar # noqa File "/usr/lib/python2.7/dist-packages/pip/vcs/mercurial.py", line 9, in from pip.download import path_to_url File "/usr/lib/python2.7/dist-packages/pip/download.py", line 25, in from requests.compat import IncompleteRead ImportError: cannot import name IncompleteRead You can now run Faraday, enjoy!`

Ezequieltbh commented 8 years ago

Hi leonteale! Can you try with a update and upgrade of your system? I think Kali packages is the problem here.... apt-get update && apt-get upgrade Let me know if works! Regards!

f-amato commented 8 years ago

Hi @leonteale Let us know if you have feedback about this issue. Have a great weekend. Best

leonteale commented 8 years ago

I tried this but with no luck. I instead used your premade VM which worked but that's not ideal to use long term. Hoping to roll this out to the guys at work but would work best being able to install on our own machines On 18 Jun 2016 21:07, "Francisco Amato" notifications@github.com wrote:

Hi @leonteale https://github.com/leonteale Let us know if you have feedback about this issue. Have a great weekend. Best

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/infobyte/faraday/issues/87#issuecomment-226962363, or mute the thread https://github.com/notifications/unsubscribe/ADBfpCgwj9tRFXnN-ccFCm7ifPAeQK1Qks5qNE_tgaJpZM4IpKEc .

Ezequieltbh commented 8 years ago

Hi leonteale! We think this is a problem with pip and requests modules, this is a old problem... More info here... https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991

Use this commands for reinstall pip with easy_install...

sudo apt-get purge python-pip sudo apt-get autoremove sudo easy_install pip

Let me know if works! Regards!

micabot commented 8 years ago

Hi @leonteale! Were you able to fix the issue using the commands @Ezequieltbh suggested? Let us know if you need some help with that! Cheers!

leonteale commented 8 years ago

No this didn't work I tried opting for testing a VM instead but wasn't ideal. So I've unfortunately gone to using dradis for now. But I'd have preferred Faraday. Perhaps I will if I can get a kali version to work

On 18 Jul 2016 17:06, "micabot" notifications@github.com wrote:

Hi @leonteale https://github.com/leonteale! Were you able to fix the issue using the commands @Ezequieltbh https://github.com/Ezequieltbh suggested? Let us know if you need some help with that! Cheers!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/infobyte/faraday/issues/87#issuecomment-233375220, or mute the thread https://github.com/notifications/unsubscribe-auth/ADBfpNbaPGk2AG31o7yI6g5SRsfwlsJjks5qW6R2gaJpZM4IpKEc .

f-amato commented 8 years ago

Hi @leonteale could you please test the latest Faraday 2.0 let us know if it is working now.

Shadow-Reaper commented 8 years ago

I was Having the same problem. After lot of trying i used repositories from github for kali i.e pasted links in sources.list file and run command in terminal

apt-get install gsettings-desktop-schemas apt-get update

and problem was solved.... May be it will also help you. Let me know if it works.

Ezequieltbh commented 8 years ago

Any feedback @leonteale ? Thankss...

llazzaro commented 4 years ago

If you are having trouble with kali 2020, please check this issue https://github.com/infobyte/faraday/issues/399

Thanks!

chrisreddersen commented 4 years ago

Not for nothing, I was having similar issues. switching to echo "deb http://http.kali.org/kali kali-last-snapshot main non-free contrib" | sudo tee /etc/apt/sources.list allowed me to run apt-get update, then install the correct packages

2580ayush2580 commented 4 years ago

I was Having the same problem. After lot of trying i used repositories from github for kali i.e pasted links in sources.list file and run command in terminal

apt-get install gsettings-desktop-schemas apt-get update

and problem was solved.... May be it will also help you. Let me know if it works.

this works

chrisreddersen commented 4 years ago

@2580ayush2580, Yes, your solution fixed the problem. Thank you!

vivekdussa commented 4 years ago

root@kali:~# apt-get install vlc Reading package lists... Done Building dependency tree
Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: gsettings-desktop-schemas : Breaks: mutter (< 3.31.4) but 3.30.2-7 is to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

vivekdussa commented 4 years ago

root@kali:~# apt-get install vlc Reading package lists... Done Building dependency tree
Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: gsettings-desktop-schemas : Breaks: mutter (< 3.31.4) but 3.30.2-7 is to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

vivekdussa commented 4 years ago

root@kali:~# apt-get install vlc Reading package lists... Done Building dependency tree
Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: gsettings-desktop-schemas : Breaks: mutter (< 3.31.4) but 3.30.2-7 is to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

vivekdussa commented 4 years ago

root@kali:~# apt-get install vlc Reading package lists... Done Building dependency tree
Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: gsettings-desktop-schemas : Breaks: mutter (< 3.31.4) but 3.30.2-7 is to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

vivekdussa commented 4 years ago

root@kali:~# apt-get install vlc Reading package lists... Done Building dependency tree
Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: gsettings-desktop-schemas : Breaks: mutter (< 3.31.4) but 3.30.2-7 is to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

vivekdussa commented 4 years ago

root@kali:~# apt-get install vlc Reading package lists... Done Building dependency tree
Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: gsettings-desktop-schemas : Breaks: mutter (< 3.31.4) but 3.30.2-7 is to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

vivekdussa commented 4 years ago

root@kali:~# apt-get install vlc Reading package lists... Done Building dependency tree
Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: gsettings-desktop-schemas : Breaks: mutter (< 3.31.4) but 3.30.2-7 is to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

souravnewatia commented 4 years ago

sudo apt install gcc-8-base mutter

This will solve the problem.

ahadniazi123 commented 4 years ago

Hi leonteale! Can you try with a update and upgrade of your system? I think Kali packages is the problem here.... apt-get update && apt-get upgrade Let me know if works! Regards!

its not working.

NEWATIA1234 commented 4 years ago

Hi leonteale! Can you try with a update and upgrade of your system? I think Kali packages is the problem here.... apt-get update && apt-get upgrade Let me know if works! Regards!

its not working.

sudo apt install gcc-8-base mutter

Use this

kemw commented 4 years ago

Hi I have a problem if Kali os installed after i can install pakages Error

The following packages have unmet dependencies: gsettings-desktop-schemas : Breaks: mutter (< 3.31.4) but 3.30.2-7 is to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

I install sudo apt install gcc-8-base mutter

but not working

Please help me anyone thanks

Ostoic commented 4 years ago

Hi I have a problem if Kali os installed after i can install pakages Error

The following packages have unmet dependencies: gsettings-desktop-schemas : Breaks: mutter (< 3.31.4) but 3.30.2-7 is to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

I install sudo apt install gcc-8-base mutter

but not working

Please help me anyone thanks

The following worked for me: sudo apt update sudo apt remove linux-headers-amd64 sudo apt install gcc-10-base mutter

Once you remove the headers, the rest should prompt you to reinstall all of the incompatible(?) packages.

kemw commented 4 years ago

Hi I have a problem if Kali os installed after i can install pakages Error The following packages have unmet dependencies: gsettings-desktop-schemas : Breaks: mutter (< 3.31.4) but 3.30.2-7 is to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. I install sudo apt install gcc-8-base mutter but not working Please help me anyone thanks

The following worked for me: sudo apt update sudo apt remove linux-headers-amd64 sudo apt install gcc-10-base mutter

Once you remove the headers, the rest should prompt you to reinstall all of the incompatible(?) packages.

Hi another problems show me when I install gcc-10-base mutter . The error is

unmet dependencies: libc6-dev : Breaks: libgcc-8-dev (< 8.4.0-2~) but 8.3.0-6 is installed E:Error ,pkg Problem Resolver::Resolve generated break, My Kali version 2019 4.19 amdx64 Help me please . thanks

kemw commented 4 years ago

Hi another problems show me when I install gcc-10-base mutter . The error is

unmet dependencies: libc6-dev : Breaks: libgcc-8-dev (< 8.4.0-2~) but 8.3.0-6 is installed E:Error ,pkg Problem Resolver::Resolve generated break, My Kali version 2019 4.19 amdx64 Help me please . thanks

Ostoic commented 4 years ago

Hi another problems show me when I install gcc-10-base mutter . The error is

unmet dependencies: libc6-dev : Breaks: libgcc-8-dev (< 8.4.0-2~) but 8.3.0-6 is installed E:Error ,pkg Problem Resolver::Resolve generated break, My Kali version 2019 4.19 amdx64 Help me please . thanks

I believe the offending headers for that case are "linux 5.3.0-kali2-amd64" (for me it was this), but you should verify this is the case by trying to uninstall libgcc-8-dev, then see what that breaks, and continue until you find the culprit.

kemw commented 4 years ago

Hi another problems show me when I install gcc-10-base mutter . The error is unmet dependencies: libc6-dev : Breaks: libgcc-8-dev (< 8.4.0-2~) but 8.3.0-6 is installed E:Error ,pkg Problem Resolver::Resolve generated break, My Kali version 2019 4.19 amdx64 Help me please . thanks

I believe the offending headers for that case are "linux 5.3.0-kali2-amd64" (for me it was this), but you should verify this is the case by trying to uninstall libgcc-8-dev, then see what that breaks, and continue until you find the culprit.

apt-get remove libgcc-8-dev but the error is the same before gsettings-desktop-schemas Breaks mutter (<3.31.4) but 3.30.2-7 installed

Is shall I install gcc-10-base with out mutter

kemw commented 4 years ago

apt-get remove libgcc-8-dev but the error is the same before gsettings-desktop-schemas Breaks mutter (<3.31.4) but 3.30.2-7 installed

Is shall I install gcc-10-base with out mutter

Anj-Raut commented 4 years ago

sudo apt install gcc-8-base mutter

This will solve the problem.

This works!!. Thanks

0xHertz commented 4 years ago

sudo apt install gcc-8-base mutter

This will solve the problem.

i solved it by using following cmd: sudo apt install gcc-8-base mutter mitmproxy

kemw commented 4 years ago

sudo apt remove linux-headers-amd64 sudo apt install gcc-8-base mutter

This will solve the problem.

This works!!. Thanks all of you

TONYJUDD commented 4 years ago

nice job Liubing-Zhen your sulution worked for me ty