[artful] gnome-shell missing dependency on gir1.2-gdm-1.0

Bug #1725288 reported by Jeremy Bicha on 2017-10-20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)

Bug Description

A user who tries to use a different display manager than GDM might easily uninstall a package needed by GNOME Shell and therefore will be unable to log in to the default Ubuntu session or to GNOME or to GNOME Classic

Test Case
Before applying the update
sudo apt install lightdm
(Choose lightdm when asked which display manager to use)
sudo apt remove gdm3 gir1.2-gdm-1.0
(This will uninstall ubuntu-desktop.)
Try to log in to Ubuntu

A black screen shows and you will get returned to the log in screen

The systemd journal shows this error:

gnome-shell: JS ERROR: Error: Requiring Gdm, version none: Typelib file for namespace 'Gdm' (any version) not found

After applying the update
You won't be able to uninstall gir1.2-gdm-1.0 without uninstalling gnome-shell.

You should be able to log in to Ubuntu now from lightdm if gnome-shell and ubuntu-session are installed.

Regression Potential
None. This simply restores a dependency that was accidentally not restored earlier. The dependency was dropped in
but ultimately it ended up being too difficult to run gnome-shell without gir1.2-gdm-1.0 installed so the Ubuntu Desktop Team decided to use GDM instead of LightDM plus the GDM gir by default.

Hello Jeremy, or anyone else affected,

Accepted gnome-shell into artful-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-shell/3.26.1-0ubuntu5 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-artful to verification-done-artful. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-artful. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in gnome-shell (Ubuntu Artful):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-artful
Jeremy Bicha (jbicha) wrote :

After installing gnoms-shell 3.26.1-0ubuntu5, I verified that I was able to install lightdm then uninstall gdm3 and I was still able to reboot adn log in to the default Ubuntu session. I was unable to uninstall gir1.2-gdm-1.0 without uninstalling gnome-shell.

tags: added: verification-done verification-done-artful
removed: verification-needed verification-needed-artful
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-shell - 3.26.1-0ubuntu5

gnome-shell (3.26.1-0ubuntu5) artful; urgency=medium

  [ Didier Roche ]
  * Reenable headless patches and cherry-pick now that the gdm fix
    is in mutter. (LP: #1725153)
  * Add dep on latest mutter to ensure people don't end up in a non working
    UI state again.

  [ Jeremy Bicha ]
  * Restore dependency on gir1.2-gdm-1.0 (LP: #1725288)

 -- Didier Roche <email address hidden> Thu, 19 Oct 2017 08:38:31 +0200

Changed in gnome-shell (Ubuntu):
status: Fix Committed → Fix Released
Changed in gnome-shell (Ubuntu Artful):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for gnome-shell has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers