Was trying to install Pip through the command
I was getting the following error message.
You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: ..... E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Also as stated in the terminal tried using the command
sudo apt-get -f install
Which gave this in return
Correcting dependencies... failed. The following packages have unmet dependencies: ..... E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. E: Unable to correct dependencies
As Suggested in some threads I tried using
sudo apt-get install --fix-broken && sudo apt-get autoremove && sudo apt-get update && sudo apt-get install samba
but didnt work. I also tried removing the individual package but this failed as well.
I have both python 2.7 as well 3.5.1 installed.
python -V returns
python3 -V returns
apt-cache policy python python3 returns
python: Installed: 3.5.1-1 Candidate: 3.5.1-1 Version table: *** 3.5.1-1 0 100 /var/lib/dpkg/status python3: Installed: 3.4.0-0ubuntu2 Candidate: 3.4.0-0ubuntu2 Version table: *** 3.4.0-0ubuntu2 0 100 /var/lib/dpkg/status
sudo rm -rf /var/lib/apt/lists/* ; sudo apt-get update ; sudo add-apt-repository main; apt-cache policy python
python: Installed: 3.5.1-1 Candidate: 3.5.1-1 Version table: *** 3.5.1-1 0 100 /var/lib/dpkg/status 2.7.5-5ubuntu3 0 500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
Thanks in advance