Can't install vim on Ubuntu 18.04 because of broken python package [closed]
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
1
down vote
favorite
I'm having problems installing vim on my upgraded Ubuntu. When I try to install vim:
sudo apt-get install vim
I get this error saying I have broken packages.
The following packages have unmet dependencies.
vim : Depends: libpython3.6 (>= 3.6.4~rc1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I tried fixing this with
sudo apt-get update
sudo apt-get -f install
My python version is 3.6.5. So I am rather confused that something is missing for vim. Because before my upgrade to 18.04 I had vim installed and it worked fine.
dpkg --get-selections | grep hold
Doesn't show any held packages either.
But I still get the same error. Any ideas?
Thanks!
EDIT:
I fixed the issue by downgrading my python packages to the version vim was requesting. Thanks for the help. I solved the issue with
sudo aptitude install -f vim
package-management vim
closed as off-topic by karel, N0rbert, Fabby, Volker Siegel, Kevin Bowen May 21 at 1:05
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This describes a problem that can't be reproduced, that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." â Fabby, Volker Siegel
add a comment |Â
up vote
1
down vote
favorite
I'm having problems installing vim on my upgraded Ubuntu. When I try to install vim:
sudo apt-get install vim
I get this error saying I have broken packages.
The following packages have unmet dependencies.
vim : Depends: libpython3.6 (>= 3.6.4~rc1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I tried fixing this with
sudo apt-get update
sudo apt-get -f install
My python version is 3.6.5. So I am rather confused that something is missing for vim. Because before my upgrade to 18.04 I had vim installed and it worked fine.
dpkg --get-selections | grep hold
Doesn't show any held packages either.
But I still get the same error. Any ideas?
Thanks!
EDIT:
I fixed the issue by downgrading my python packages to the version vim was requesting. Thanks for the help. I solved the issue with
sudo aptitude install -f vim
package-management vim
closed as off-topic by karel, N0rbert, Fabby, Volker Siegel, Kevin Bowen May 21 at 1:05
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This describes a problem that can't be reproduced, that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." â Fabby, Volker Siegel
1
Possible duplicate of Unable to correct problems, you have held broken packages
â karel
May 20 at 15:02
this might help. askubuntu.com/questions/363200/â¦
â U. User
May 20 at 16:15
2
instead of the edit to your question, could you edit your question, remove it there and post an answer??? If you leave a comment @Fabby, I'll come back and upvote too!
â Fabby
May 20 at 17:27
I've got the same problem after upgrading to 18.04. For me the solution was to install a fork of vim :apt install neovim
â alphayax
Jul 23 at 12:00
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I'm having problems installing vim on my upgraded Ubuntu. When I try to install vim:
sudo apt-get install vim
I get this error saying I have broken packages.
The following packages have unmet dependencies.
vim : Depends: libpython3.6 (>= 3.6.4~rc1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I tried fixing this with
sudo apt-get update
sudo apt-get -f install
My python version is 3.6.5. So I am rather confused that something is missing for vim. Because before my upgrade to 18.04 I had vim installed and it worked fine.
dpkg --get-selections | grep hold
Doesn't show any held packages either.
But I still get the same error. Any ideas?
Thanks!
EDIT:
I fixed the issue by downgrading my python packages to the version vim was requesting. Thanks for the help. I solved the issue with
sudo aptitude install -f vim
package-management vim
I'm having problems installing vim on my upgraded Ubuntu. When I try to install vim:
sudo apt-get install vim
I get this error saying I have broken packages.
The following packages have unmet dependencies.
vim : Depends: libpython3.6 (>= 3.6.4~rc1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I tried fixing this with
sudo apt-get update
sudo apt-get -f install
My python version is 3.6.5. So I am rather confused that something is missing for vim. Because before my upgrade to 18.04 I had vim installed and it worked fine.
dpkg --get-selections | grep hold
Doesn't show any held packages either.
But I still get the same error. Any ideas?
Thanks!
EDIT:
I fixed the issue by downgrading my python packages to the version vim was requesting. Thanks for the help. I solved the issue with
sudo aptitude install -f vim
package-management vim
edited May 20 at 17:50
![](https://i.stack.imgur.com/8CW8e.png?s=32&g=1)
![](https://i.stack.imgur.com/8CW8e.png?s=32&g=1)
Zanna
47.8k13117227
47.8k13117227
asked May 20 at 14:44
Rib
215
215
closed as off-topic by karel, N0rbert, Fabby, Volker Siegel, Kevin Bowen May 21 at 1:05
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This describes a problem that can't be reproduced, that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." â Fabby, Volker Siegel
closed as off-topic by karel, N0rbert, Fabby, Volker Siegel, Kevin Bowen May 21 at 1:05
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This describes a problem that can't be reproduced, that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." â Fabby, Volker Siegel
1
Possible duplicate of Unable to correct problems, you have held broken packages
â karel
May 20 at 15:02
this might help. askubuntu.com/questions/363200/â¦
â U. User
May 20 at 16:15
2
instead of the edit to your question, could you edit your question, remove it there and post an answer??? If you leave a comment @Fabby, I'll come back and upvote too!
â Fabby
May 20 at 17:27
I've got the same problem after upgrading to 18.04. For me the solution was to install a fork of vim :apt install neovim
â alphayax
Jul 23 at 12:00
add a comment |Â
1
Possible duplicate of Unable to correct problems, you have held broken packages
â karel
May 20 at 15:02
this might help. askubuntu.com/questions/363200/â¦
â U. User
May 20 at 16:15
2
instead of the edit to your question, could you edit your question, remove it there and post an answer??? If you leave a comment @Fabby, I'll come back and upvote too!
â Fabby
May 20 at 17:27
I've got the same problem after upgrading to 18.04. For me the solution was to install a fork of vim :apt install neovim
â alphayax
Jul 23 at 12:00
1
1
Possible duplicate of Unable to correct problems, you have held broken packages
â karel
May 20 at 15:02
Possible duplicate of Unable to correct problems, you have held broken packages
â karel
May 20 at 15:02
this might help. askubuntu.com/questions/363200/â¦
â U. User
May 20 at 16:15
this might help. askubuntu.com/questions/363200/â¦
â U. User
May 20 at 16:15
2
2
instead of the edit to your question, could you edit your question, remove it there and post an answer??? If you leave a comment @Fabby, I'll come back and upvote too!
â Fabby
May 20 at 17:27
instead of the edit to your question, could you edit your question, remove it there and post an answer??? If you leave a comment @Fabby, I'll come back and upvote too!
â Fabby
May 20 at 17:27
I've got the same problem after upgrading to 18.04. For me the solution was to install a fork of vim :
apt install neovim
â alphayax
Jul 23 at 12:00
I've got the same problem after upgrading to 18.04. For me the solution was to install a fork of vim :
apt install neovim
â alphayax
Jul 23 at 12:00
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
1
Possible duplicate of Unable to correct problems, you have held broken packages
â karel
May 20 at 15:02
this might help. askubuntu.com/questions/363200/â¦
â U. User
May 20 at 16:15
2
instead of the edit to your question, could you edit your question, remove it there and post an answer??? If you leave a comment @Fabby, I'll come back and upvote too!
â Fabby
May 20 at 17:27
I've got the same problem after upgrading to 18.04. For me the solution was to install a fork of vim :
apt install neovim
â alphayax
Jul 23 at 12:00