I'm completely new to Linux and wanted to experiment a little, so I don't really know what I'm doing. I am on working Ubuntu 18.04 and I have been unable to get Visual Studio Code to start again, even though it was working before. Trying to launch it through the application menu only resulted in a short loading animation followed by nothing. Launching it through the terminal issued /usr/lib/snapd/snap-confine: error while loading shared libraries: libudev.so.1: failed to map segment from shared object. I already tried to reinstall it. But attempting it through the terminal somehow didn't work at all manuel@Manuel-Ubuntu:~$ sudo dpkg --remove visual-studio-code dpkg: warning: ignoring request to remove visual-studio-code which isn't installed. According to the Ubuntu Software center it was installed.

I tried the suggestion by @karel snap-confine refuses to launch application to avoid permission attack, which didn't help my problem.

  • Why don't you try to remove the same from software centre? – Kulfy Sep 12 '18 at 8:07
  • I did. But my goal is not to remove it. ;) – Manuel Moser Sep 12 '18 at 8:16

snap-confine refuses to launch application to avoid permission attack only accomplished that I can't see Visual Studio Code in the Software Center at all. However I finally managed to install Visual Studio Code by following the instructions here. It seems like everything is working again now.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.