Wednesday, May 8, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 490  / 1 Year ago, tue, february 7, 2023, 5:03:39

I have the following problem.



Recently I have installed vim (which I compiled myself, as the one in the Ubuntu repositories are old). With it I installed Cscope and You-Complete-Me plugins.



Now everytime Ubuntu checks for updates, it wants to "upgrade" my vim and the vim You-Complete-Me plugin stops working (because it actually downgrades my vim...).



How can I tell Ubuntu to mind it's own bussiness and stop "upgrading" my vim? I don't want to deselect boxes each time there is some system update...



UPDATE: I have installed vim using the steps provided here: https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source


More From » 12.04

 Answers
2

To hold your installed version, prevent the package manager from automatically updating it in the future running this command in terminal:



echo "<packagename> hold" | sudo dpkg --set-selections


Change <packagename> with what package you wish (in your case may be vim).


[#30476] Wednesday, February 8, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
aradxalte

Total Points: 70
Total Questions: 116
Total Answers: 116

Location: Dominica
Member since Sat, Nov 5, 2022
2 Years ago
;