Ubuntu – Updating VS Code in ubuntu 18.04

18.04extensionvisual-studio-code

I want to update my VS Code so tried multiple option in doing so all result in something like this

sudo dpkg -i code_1.45.1-1589445302_amd64.deb

enter image description here

martin@martin:~/Downloads$ sudo apt install code
Reading package lists... Done
Building dependency tree       
Reading state information... Done
code is already the newest version (1.45.1-1589445302).
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.

enter image description here

But when i check in the VS Code about I see.

enter image description here

I needed to upgrade my VS Code because some extensions doesnt activate. The reason I think is because VS Code is not latest.

enter image description here

No matter how many times I reload them they dont activate

UPDATE:

martin@martin:~$ umake --list-installed 
visual-studio-code: Visual Studio focused on modern web and cloud
    path: /home/martin/.local/share/umake/ide/visual-studio-code

martin@martin:~$ snap list | grep -i code
martin@martin:~$ flatpak list | grep -i code
martin@martin:~$ 

Best Answer

If you plan to stay with deb-packaged version - remove the umake version:

umake --remove ide visual-studio-code

And use deb-package instead.


But personally I would recommend to use Visual Studio Code from umake ide visual-studio-code and remove it from APT with sudo apt-get remove code .

Related Question