Can't install vim on Ubuntu 18.04 because of broken python package [closed]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








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






share|improve this question














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
If this question can be reworded to fit the rules in the help center, please edit the question.








  • 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














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






share|improve this question














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
If this question can be reworded to fit the rules in the help center, please edit the question.








  • 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












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






share|improve this question














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








share|improve this question













share|improve this question




share|improve this question








edited May 20 at 17:50









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
If this question can be reworded to fit the rules in the help center, please edit the question.




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
If this question can be reworded to fit the rules in the help center, please edit the question.







  • 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




    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















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

GRUB: Fatal! inconsistent data read from (0x84) 0+xxxxxx

`kcmshell` modules relation with `/usr/share/applications`

How to enroll fingerprints to Ubuntu 17.10 with VFS491