I ran the following command to install GNOME Vanilla on Ubuntu 21.10:
sudo apt install vanilla-gnome-desktop
This worked successfully and I was able to log into GNOME 40.4. But I got a random dpkg error, as follows:
Setting up vanilla-gnome-default-settings (20.04.1) ...
update-alternatives: error: no alternatives for gdm3-theme.gresource
dpkg: error processing package vanilla-gnome-default-settings (--configure):
installed vanilla-gnome-default-settings package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of vanilla-gnome-desktop:
vanilla-gnome-desktop depends on vanilla-gnome-default-settings; however:
Package vanilla-gnome-default-settings is not configured yet.
dpkg: error processing package vanilla-gnome-desktop (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
vanilla-gnome-default-settings
vanilla-gnome-desktop
E: Sub-process /usr/bin/dpkg returned an error code (1)
It persisted while using the Ubuntu DE and the Gnome DE. Gnome settings itself seems to be working. After this, now I'm getting the following error after any apt command:
Setting up vanilla-gnome-default-settings (20.04.1) ...
update-alternatives: error: no alternatives for gdm3-theme.gresource
dpkg: error processing package vanilla-gnome-default-settings (--configure):
installed vanilla-gnome-default-settings package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of vanilla-gnome-desktop:
vanilla-gnome-desktop depends on vanilla-gnome-default-settings; however:
Package vanilla-gnome-default-settings is not configured yet.
dpkg: error processing package vanilla-gnome-desktop (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
vanilla-gnome-default-settings
vanilla-gnome-desktop
E: Sub-process /usr/bin/dpkg returned an error code (1)
I tried running sudo dpkg --configure -a
but this happened:
$ sudo dpkg --configure -a
Setting up vanilla-gnome-default-settings (20.04.1) ...
update-alternatives: error: no alternatives for gdm3-theme.gresource
dpkg: error processing package vanilla-gnome-default-settings (--configure):
installed vanilla-gnome-default-settings package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of vanilla-gnome-desktop:
vanilla-gnome-desktop depends on vanilla-gnome-default-settings; however:
Package vanilla-gnome-default-settings is not configured yet.
dpkg: error processing package vanilla-gnome-desktop (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
vanilla-gnome-default-settings
vanilla-gnome-desktop
I'm running all of this on an Ubuntu 21.10 install in Gnome Boxes (downloaded using the built in OS download option)