You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Poking around, this error line seems to be coming from something called gsettings.
As you can see below, running wsl doesn't work/initialize a new session, but directly invoking wsl bash does?
Very odd:
A comment here suggests setting GSETTINGS_SCHEMA_DIR=/usr/share/glib-2.0/schemas:
The text was updated successfully, but these errors were encountered:
GavinRay97
changed the title
WSL2: After do-release-upgrade of Ubuntu-CommPrev 21.04 -> 21.10, launching shows: No schemas installed and exits
WSL2: After do-release-upgrade of Ubuntu-CommPrev 21.04 -> 21.10, launching shows: No schemas installed and exits. Related to gsettings I think
Dec 6, 2021
It may be a "solution", but it's a pretty serious issue since it seems like the instance is bricked, and even a wsl -u root doesn't resolve (it requires circumventing the login/profile script at startup). However, I do agree that this should be closed since it is really a Canonical issue with the Community Preview (a problem in /etc/profile.d/wsl-integration.sh). It's been reported to Canonical here.
EDIT: This was fixed by running
sudo apt install gsettings-desktop-schemas
I have no idea why.
Googling leads to a single result, a comment in an issue here:
Poking around, this error line seems to be coming from something called
gsettings
.As you can see below, running
wsl
doesn't work/initialize a new session, but directly invokingwsl bash
does?Very odd:
A comment here suggests setting
GSETTINGS_SCHEMA_DIR=/usr/share/glib-2.0/schemas
:But, this directory is empty for me:
The text was updated successfully, but these errors were encountered: