3

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.

3
  • Why don't you try to remove the same from software centre?
    – Kulfy
    Commented Sep 12, 2018 at 8:07
  • 1
    I did. But my goal is not to remove it. ;) Commented Sep 12, 2018 at 8:16
  • Did you install it using snap or deb package? I sometimes have problems launching programs installed in snap
    – evening_g
    Commented Sep 11, 2021 at 21:57

1 Answer 1

0

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .