Visual Studio Code Install Issue Part 2

So I posted an issue with a similar topic name and got a positive result in so much as the install of the application "Visual Studio Code" appeared to go very well up until the very end. Some of the missing library file errors in the first install effort seemed to go away when I upgraded from U.M.18.04 to 24.04

I watched as the installer extracted and presumably installed the needed files.

All went well except it seemed to throw an error on the last line and I cannot find any reference to Visual Studio Code in the installed applications menu. Could someone look at the last line of the terminal screen capture and interpret what it means for the install? Also is there a command line I can use to search for and find the directory where the application is?

2 Likes

There might be an issue if the package was installed previously but failed part-way through? If that was the case, you could try sudo apt purge ./code_1.97.2-1739406807_amd64.deb --dry-run and check that it isn't going to remove anything important, then remove the --dry-run. Then try installing again.

2 Likes

dpkg -c <package> lists the contents of not installed package
dpkg -L <package> lists the contents of installed package
.deb file can be opened and inspected as an archive using Engrampa Archive Manager in GUI.

3 Likes

Repository is broken... has no size information is a warning. I.e. the package in question was installed and the application would run as intended.

3 Likes

Thanks for this reply.

I suppose it should be obvious that any text string preceded by a yellow "w:"is in all likelihood a warning. At least to any one having more than a beginner's experience with the O.S.

Thanks also for the info in post 2/4 about "dpkg" I will have to read more on the use of the command.

I did a first install and the log displayed in the terminal window offered two lines (sudo apt autoremove) of some sort of suggestion to run a command to what appeared to be a cleanup of two obsolete items.

I did what the displayed log suggested and ran the install a second time. The result was that I then got a message saying the application already existed or something to that effect.

1 Like

Not wanting to be obtuse, but why tell me this?

Anyway, glad you got it working!

Message to All,

I opened the application via terminal window and started running the on-line tutorial. Everything seemed to function as in the tutorial.

I have looked into the method for placing a desktop shortcut to skip the terminal launch.

Thanks to all for the help.

2 Likes