0
Reading package lists... Done
Building dependency tree
Reading state information... Done
vim is already the newest version (2:7.4.1689-3ubuntu1.3).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 python3 : Depends: dh-python but it is not installable
 python3-setuptools : Depends: python3-pkg-resources (= 20.7.0-1) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

further tried to run apt-get -f install vim but again same error.

singrium
  • 7,320
balu
  • 1

2 Answers2

3

First, you have vim installed, and it is the newest version. You don't need to install it.

Second, you have some issues with Python packages. To solve them:
- Run sudo apt-get -f install then run sudo dpkg --configure -a. Finally, run sudo apt-get -f install.
- If the problem is not solved, run sudo apt-get install --reinstall python3

singrium
  • 7,320
-2

If not worked after sudo apt-get -f install, run the command sudo apt-get update to update.

Melebius
  • 11,750