Bug#1074796: gnome-shell: Silently applies pending package updates on shutdown

Mark Brown broonie at debian.org
Wed Jul 3 13:17:19 BST 2024


Package: gnome-shell
Version: 43.9-0+deb12u2
Severity: serious

[This bug is probably misfiled, I have no idea which GNOME component is
responsible for the actual behaviour so this is a guess based on the
fact that I interact with the UI to trigger it.]

When I select "Power off" from the power menu at the top right of the
screen if there any pending package updates then instead of shutting
down GNOME will reboot into a single user mode, apply the pending
package updates and then shut down.  I have never noticed any visible
indication that this will happen rather than an immediate shutdown.

On my system when there is a kernel package update this renders the
system unbootable, my /boot partition does not have enough space to
store two copies of the initramfs so installation of the new kernel
package is left half finished with no modules available.  This in turn
causes boot failures since the display driver is the nVidia module and
the nouveau driver which gets loaded instead simply does not work on
this hardware.

I can imagine this may also be an issue in cases where the user needs to
power the system off urgently, for example due to running out of
battery, and since I use an encrypted rootfs I am also routinely
suprised to find that the system I thought I had turned off has been
sitting at the decrypt filesystem prompt for an extended period.

I would expect some indication that upgrades are to happen, and for
there to be some way to skip the update and just do a normal shutdown
instead.  Windows has a model where when updates are pending some
additional shutdown and reboot options are provided called "Update and
X".

-- System Information:
Debian Release: 12.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.1.0-18-amd64 (SMP w/56 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnome-shell depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.40.0-4
ii  gir1.2-accountsservice-1.0                   22.08.8-6
ii  gir1.2-adw-1                                 1.2.2-1
ii  gir1.2-atk-1.0                               2.46.0-5
ii  gir1.2-atspi-2.0                             2.46.0-5
ii  gir1.2-freedesktop                           1.74.0-3
ii  gir1.2-gcr-3                                 3.41.1-1+b1
ii  gir1.2-gdesktopenums-3.0                     43.0-1
ii  gir1.2-gdkpixbuf-2.0                         2.42.10+dfsg-1+deb12u1
ii  gir1.2-gdm-1.0                               43.0-3
ii  gir1.2-geoclue-2.0                           2.6.0-2
ii  gir1.2-glib-2.0                              1.74.0-3
ii  gir1.2-gnomebluetooth-3.0                    42.5-3
ii  gir1.2-gnomedesktop-3.0                      43.2-2
ii  gir1.2-graphene-1.0                          1.10.8-1
ii  gir1.2-gstreamer-1.0                         1.22.0-2
ii  gir1.2-gtk-3.0                               3.24.38-2~deb12u1
ii  gir1.2-gtk-4.0                               4.8.3+ds-2+deb12u1
ii  gir1.2-gweather-4.0                          4.2.0-2
ii  gir1.2-ibus-1.0                              1.5.27-5
ii  gir1.2-mutter-11                             43.8-0+deb12u1
ii  gir1.2-nm-1.0                                1.42.4-1
ii  gir1.2-nma-1.0                               1.10.6-1
ii  gir1.2-pango-1.0                             1.50.12+ds-1
ii  gir1.2-polkit-1.0                            122-3
ii  gir1.2-rsvg-2.0                              2.54.7+dfsg-1~deb12u1
ii  gir1.2-soup-3.0                              3.2.2-2
ii  gir1.2-upowerglib-1.0                        0.99.20-2
ii  gir1.2-webkit2-4.1                           2.44.2-1~deb12u1
ii  gnome-backgrounds                            43.1-1
ii  gnome-settings-daemon                        43.0-4
ii  gnome-shell-common                           43.9-0+deb12u2
ii  gsettings-desktop-schemas                    43.0-1
ii  gstreamer1.0-pipewire                        0.3.65-3+deb12u1
ii  libatk-bridge2.0-0                           2.46.0-5
ii  libatk1.0-0                                  2.46.0-5
ii  libc6                                        2.36-9+deb12u7
ii  libcairo2                                    1.16.0-7
ii  libecal-2.0-2                                3.46.4-2
ii  libedataserver-1.2-27                        3.46.4-2
ii  libgcr-base-3-1                              3.41.1-1+b1
ii  libgdk-pixbuf-2.0-0                          2.42.10+dfsg-1+deb12u1
ii  libgirepository-1.0-1                        1.74.0-3
ii  libgjs0g                                     1.74.2-1+deb12u1
ii  libgles2                                     1.6.0-1
ii  libglib2.0-0                                 2.74.6-2+deb12u3
ii  libglib2.0-bin                               2.74.6-2+deb12u3
ii  libgnome-autoar-0-0                          0.4.3-1
ii  libgnome-desktop-3-20                        43.2-2
ii  libgraphene-1.0-0                            1.10.8-1
ii  libgtk-3-0                                   3.24.38-2~deb12u1
ii  libgtk-4-1                                   4.8.3+ds-2+deb12u1
ii  libical3                                     3.0.16-1+b1
ii  libjson-glib-1.0-0                           1.6.6-1
ii  libmutter-11-0                               43.8-0+deb12u1
ii  libnm0                                       1.42.4-1
ii  libpango-1.0-0                               1.50.12+ds-1
ii  libpangocairo-1.0-0                          1.50.12+ds-1
ii  libpolkit-agent-1-0                          122-3
ii  libpolkit-gobject-1-0                        122-3
ii  libpulse-mainloop-glib0                      16.1+dfsg1-2+b1
ii  libpulse0                                    16.1+dfsg1-2+b1
ii  libsecret-1-0                                0.20.5-3
ii  libsystemd0                                  252.26-1~deb12u2
ii  libwayland-server0                           1.21.0-1
ii  libx11-6                                     2:1.8.4-2+deb12u2
ii  libxfixes3                                   1:6.0.0-2
ii  python3                                      3.11.2-1+b1

Versions of packages gnome-shell recommends:
ii  bolt                   0.9.5-1
ii  chrome-gnome-shell     42.1-3
ii  evolution-data-server  3.46.4-2
ii  gdm3                   43.0-3
ii  gkbd-capplet           3.28.1-1
ii  gnome-control-center   1:43.6-2~deb12u1
ii  gnome-menus            3.36.0-1.1
ii  gnome-remote-desktop   43.3-1
ii  gnome-user-docs        43.0-2
ii  ibus                   1.5.27-5
ii  iio-sensor-proxy       3.0-2
ii  power-profiles-daemon  0.12-1+b1
ii  switcheroo-control     2.6-1+b1
ii  unzip                  6.0-28

Versions of packages gnome-shell suggests:
ii  gir1.2-malcontent-0          0.11.0-4
pn  gir1.2-telepathyglib-0.12    <none>
pn  gir1.2-telepathylogger-0.2   <none>
ii  gnome-shell-extension-prefs  43.9-0+deb12u2

Versions of packages gnome-session depends on:
ii  gnome-session-bin                                    43.0-1+deb12u1
ii  gnome-session-common                                 43.0-1+deb12u1
ii  gnome-settings-daemon                                43.0-4
ii  xdg-desktop-portal-gtk [xdg-desktop-portal-backend]  1.14.1-1

Versions of packages gnome-session suggests:
ii  desktop-base   12.0.6+nmu1~deb12u1
ii  gnome-keyring  42.1-1+b2

Versions of packages gnome-settings-daemon depends on:
ii  gnome-settings-daemon-common  43.0-4
ii  gsettings-desktop-schemas     43.0-1
ii  libasound2                    1.2.8-1+b1
ii  libc6                         2.36-9+deb12u7
ii  libcairo2                     1.16.0-7
ii  libcanberra-gtk3-0            0.30-10
ii  libcanberra0                  0.30-10
ii  libcolord2                    1.4.6-2.2
ii  libcups2                      2.4.2-3+deb12u5
ii  libfontconfig1                2.14.1-4
ii  libgcr-base-3-1               3.41.1-1+b1
ii  libgdk-pixbuf-2.0-0           2.42.10+dfsg-1+deb12u1
ii  libgeoclue-2-0                2.6.0-2
ii  libgeocode-glib-2-0           3.26.3-6
ii  libglib2.0-0                  2.74.6-2+deb12u3
ii  libgnome-desktop-3-20         43.2-2
ii  libgtk-3-0                    3.24.38-2~deb12u1
ii  libgudev-1.0-0                237-2
ii  libgweather-4-0               4.2.0-2
ii  libmm-glib0                   1.20.4-1
ii  libnm0                        1.42.4-1
ii  libnotify4                    0.8.1-1
ii  libnspr4                      2:4.35-1
ii  libnss3                       2:3.87.1-1
ii  libpam-systemd [logind]       252.26-1~deb12u2
ii  libpango-1.0-0                1.50.12+ds-1
ii  libpangocairo-1.0-0           1.50.12+ds-1
ii  libpolkit-gobject-1-0         122-3
ii  libpulse-mainloop-glib0       16.1+dfsg1-2+b1
ii  libpulse0                     16.1+dfsg1-2+b1
ii  libspa-0.2-bluetooth          0.3.65-3+deb12u1
ii  libupower-glib3               0.99.20-2
ii  libwacom9                     2.6.0-1
ii  libwayland-client0            1.21.0-1
ii  libx11-6                      2:1.8.4-2+deb12u2
ii  libxext6                      2:1.3.4-1+b1
ii  libxfixes3                    1:6.0.0-2
ii  libxi6                        2:1.8-1+b1
ii  pipewire-audio                0.3.65-3+deb12u1

Versions of packages gnome-settings-daemon recommends:
ii  iio-sensor-proxy   3.0-2
ii  pipewire-audio     0.3.65-3+deb12u1
ii  pkexec             122-3
ii  x11-xserver-utils  7.7+9+b1

Versions of packages gnome-settings-daemon suggests:
pn  usbguard  <none>

Versions of packages libgjs0g depends on:
ii  libc6                                                    2.36-9+deb12u7
ii  libcairo-gobject2                                        1.16.0-7
ii  libcairo2                                                1.16.0-7
ii  libffi8                                                  3.4.4-1
ii  libgcc-s1                                                12.2.0-14
ii  libgirepository-1.0-1 [libgirepository-1.0-1-with-libff  1.74.0-3
    i8]
ii  libglib2.0-0                                             2.74.6-2+deb12u3
ii  libmozjs-102-0                                           102.15.1-1~deb12u1
ii  libreadline8                                             8.2-1.3
ii  libstdc++6                                               12.2.0-14
ii  libx11-6                                                 2:1.8.4-2+deb12u2

Versions of packages libmutter-11-0 depends on:
ii  adwaita-icon-theme         43-1
ii  gsettings-desktop-schemas  43.0-1
ii  libatk1.0-0                2.46.0-5
ii  libc6                      2.36-9+deb12u7
ii  libcairo-gobject2          1.16.0-7
ii  libcairo2                  1.16.0-7
ii  libcanberra0               0.30-10
ii  libcolord2                 1.4.6-2.2
ii  libdrm2                    2.4.114-1+b1
ii  libegl1                    1.6.0-1
ii  libfontconfig1             2.14.1-4
ii  libfribidi0                1.0.8-2.1
ii  libgbm1                    22.3.6-1+deb12u1
ii  libgdk-pixbuf-2.0-0        2.42.10+dfsg-1+deb12u1
ii  libgl1                     1.6.0-1
ii  libglib2.0-0               2.74.6-2+deb12u3
ii  libgnome-desktop-3-20      43.2-2
ii  libgraphene-1.0-0          1.10.8-1
ii  libgtk-3-0                 3.24.38-2~deb12u1
ii  libgudev-1.0-0             237-2
ii  libice6                    2:1.0.10-1
ii  libinput10                 1.22.1-1
ii  libjson-glib-1.0-0         1.6.6-1
ii  liblcms2-2                 2.14-2
ii  libpango-1.0-0             1.50.12+ds-1
ii  libpangocairo-1.0-0        1.50.12+ds-1
ii  libpangoft2-1.0-0          1.50.12+ds-1
ii  libpipewire-0.3-0          0.3.65-3+deb12u1
ii  libsm6                     2:1.2.3-1
ii  libstartup-notification0   0.12-6+b1
ii  libsystemd0                252.26-1~deb12u2
ii  libudev1                   252.26-1~deb12u2
ii  libwacom9                  2.6.0-1
ii  libwayland-server0         1.21.0-1
ii  libx11-6                   2:1.8.4-2+deb12u2
ii  libx11-xcb1                2:1.8.4-2+deb12u2
ii  libxau6                    1:1.0.9-1
ii  libxcb-randr0              1.15-1
ii  libxcb-res0                1.15-1
ii  libxcb1                    1.15-1
ii  libxcomposite1             1:0.4.5-1
ii  libxcursor1                1:1.2.1-1
ii  libxdamage1                1:1.1.6-1
ii  libxext6                   2:1.3.4-1+b1
ii  libxfixes3                 1:6.0.0-2
ii  libxi6                     2:1.8-1+b1
ii  libxinerama1               2:1.1.4-3
ii  libxkbcommon-x11-0         1.5.0-1
ii  libxkbcommon0              1.5.0-1
ii  libxkbfile1                1:1.1.0-1
ii  libxrandr2                 2:1.5.2-2+b1
ii  libxtst6                   2:1.2.3-1.1
ii  mutter-common              43.8-0+deb12u1

Versions of packages gnome-shell is related to:
ii  libegl-mesa0 [libegl-vendor]    22.3.6-1+deb12u1
ii  libgl1-mesa-dri                 22.3.6-1+deb12u1
ii  libglx-mesa0 [libglx-vendor]    22.3.6-1+deb12u1
ii  libglx-nvidia0 [libglx-vendor]  535.183.01-1~deb12u1
ii  nvidia-egl-icd [libegl-vendor]  535.183.01-1~deb12u1

-- no debconf information



More information about the pkg-gnome-maintainers mailing list