I downloaded a new version of VS Code today. When I try to install it using GDebi, GDebi says: "Error: Dependency is not satisfiable: libglib2.0-0 (>=2.37.3)". Note the hyphen in the first version and the dots in the second one. Is this a clue?
What can I do to fix this please?
It may be relevant that a few weeks ago I upgraded from ubuntu 24.04.0 to 24.04.1. The update ran until very late at night and I think that I was so tired I missed an error message. So something is probably wrong with my system but I don't know what it is! Everything has worked up until now and all the software updates seem to have installed correctly including the one I did before trying to update Visual Studio Code.
In Ubuntu 24.04 the name of the GLib library of C routines package has been changed to libglib2.0-0t64 and the version of this package is now 2.80.0, but the libraries from the two GLib library of C routines packages are not interchangeable. I would expect some future update of the VSCode .deb file to address this issue.
The way out of this predicament is to install the VSCode snap package with the following command: