elementary / appcenter

Pay-what-you-can app store for elementary OS
https://elementary.io
GNU General Public License v3.0
542 stars 101 forks source link

Crash while carrying out operating system updates #1777

Closed aral closed 2 years ago

aral commented 2 years ago

What Happened?

AppCenter crashed while carrying out operating system updates.

Steps to Reproduce

Most likely specific to my machine, but:

  1. Open AppCenter
  2. Run the Operating System updates

Expected Behavior

Should not crash.

OS Version

6.x (Odin)

Software Version

Latest release (I have run all updates)

Log Output

Latest from `journalctl`:

-- Logs begin at Sun 2021-08-15 15:33:42 IST, end at Tue 2021-11-30 11:08:43 GMT. --
Nov 30 11:08:43 dev.ar.al gala[2264]: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Nov 30 11:08:43 dev.ar.al gala[2264]: invalid (NULL) pointer instance
Nov 30 11:08:43 dev.ar.al gala[2264]: clutter_actor_remove_child: assertion 'CLUTTER_IS_ACTOR (child)' failed
Nov 30 11:08:42 dev.ar.al gala.desktop[2264]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1c00003
Nov 30 11:08:41 dev.ar.al gala[2264]: meta_window_is_focusable: assertion '!window->unmanaging' failed
Nov 30 11:08:37 dev.ar.al gala.desktop[2264]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1c00003
Nov 30 11:08:26 dev.ar.al dbus-daemon[1559]: [session uid=1000 pid=1559] Successfully activated service 'org.freedesktop.thumbnails.Cache1'
Nov 30 11:08:26 dev.ar.al org.freedesktop.thumbnails.Cache1[34416]: Registered thumbnailer gnome-thumbnail-font --size %s %u %o
Nov 30 11:08:26 dev.ar.al org.freedesktop.thumbnails.Cache1[34416]: Registered thumbnailer /usr/bin/gdk-pixbuf-thumbnailer -s %s %u %o
Nov 30 11:08:26 dev.ar.al org.freedesktop.thumbnails.Cache1[34416]: Registered thumbnailer /usr/bin/gdk-pixbuf-thumbnailer -s %s %u %o
Nov 30 11:08:26 dev.ar.al dbus-daemon[1559]: [session uid=1000 pid=1559] Activating service name='org.freedesktop.thumbnails.Cache1' requested by ':1.1' (uid=1000 pid=1551 comm="/usr/libexec/tracker-miner-fs " label="unconfined")
Nov 30 11:08:25 dev.ar.al systemd[1542]: var-tmp-flatpak\x2dcache\x2d9K7FD1-org.gnome.SoundRecorderDevel.Locale\x2d0CUOD1.mount: Succeeded.
Nov 30 11:08:25 dev.ar.al io.elementary.appcenter[32657]: /var/tmp/flatpak-cache-9K7FD1/org.gnome.SoundRecorderDevel.Locale-0CUOD1/repo-drW6rh: Pulled runtime/org.gnome.SoundRecorderDevel.Locale/x86_64/master from gnome-nightly
Nov 30 11:08:25 dev.ar.al io.elementary.appcenter[32657]: libostree pull from 'gnome-nightly' for runtime/org.gnome.SoundRecorderDevel.Locale/x86_64/master complete
                                                          security: GPG: summary+commit 
                                                          security: SIGN: disabled http: TLS
                                                          non-delta: meta: 4 content: 0
                                                          transfer: secs: 0 size: 5.1 kB
Nov 30 11:08:23 dev.ar.al systemd[1542]: var-tmp-flatpak\x2dcache\x2d9K7FD1-org.gnome.Platform\x2dK5S1D1.mount: Succeeded.
Nov 30 11:08:23 dev.ar.al io.elementary.appcenter[32657]: /var/tmp/flatpak-cache-9K7FD1/org.gnome.Platform-K5S1D1/repo-fMwZi0: Pulled runtime/org.gnome.Platform/x86_64/master from gnome-nightly
Nov 30 11:08:23 dev.ar.al io.elementary.appcenter[32657]: libostree pull from 'gnome-nightly' for runtime/org.gnome.Platform/x86_64/master complete
                                                          security: GPG: summary+commit 
                                                          security: SIGN: disabled http: TLS
                                                          non-delta: meta: 169 content: 923
                                                          transfer: secs: 17 size: 116.2 MB
Nov 30 11:08:05 dev.ar.al systemd[1542]: var-tmp-flatpak\x2dcache\x2d9K7FD1-org.gnome.Platform.Locale\x2dDVD0D1.mount: Succeeded.
Nov 30 11:08:05 dev.ar.al io.elementary.appcenter[32657]: /var/tmp/flatpak-cache-9K7FD1/org.gnome.Platform.Locale-DVD0D1/repo-xva71E: Pulled runtime/org.gnome.Platform.Locale/x86_64/master from gnome-nightly
Nov 30 11:08:05 dev.ar.al io.elementary.appcenter[32657]: libostree pull from 'gnome-nightly' for runtime/org.gnome.Platform.Locale/x86_64/master complete
                                                          security: GPG: summary+commit 
                                                          security: SIGN: disabled http: TLS
                                                          non-delta: meta: 4 content: 0
                                                          transfer: secs: 0 size: 17.4 kB

### Hardware Info

OS: elementary OS 6 Odin x86_64 Host: LabTop Mk IV Kernel: 5.11.0-38-generic Uptime: 22 hours, 49 mins Packages: 2424 (dpkg), 72 (flatpak) Shell: fish 3.3.1 Resolution: 1920x1080, 3840x2160 DE: Pantheon WM: Mutter(Gala) Terminal: io.elementary.t CPU: Intel i7-10710U (12) @ 4.700GHz GPU: Intel Device 9bca Memory: 2668MiB / 15875MiB

aral commented 2 years ago

Re-ran the installer and got the following error (but no crash):

Screenshot from 2021-11-30 11-16-08@2x

Restarted and saw # of operating system updates was now being reported as 33 (instead of 160 before restart).

Re-ran the installer again and got the same error as above.

Going to try installing them with apt.

aral commented 2 years ago

Result of apt upgrade shows the errors:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  maya-calendar-daemon squashfs-tools suckless-tools
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  appcenter elementary-icon-theme io.elementary.mail io.elementary.onboarding io.elementary.settings-daemon
  io.elementary.shortcut-overlay pantheon-photos slingshot-launcher switchboard-plug-keyboard
  switchboard-plug-locale switchboard-plug-online-accounts switchboard-plug-pantheon-shell switchboard-plug-sound
  switchboard-plug-useraccounts wingpanel-indicator-datetime wingpanel-indicator-network wingpanel-indicator-sound
17 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 6,771 kB of archives.
After this operation, 139 kB disk space will be freed.
Do you want to continue? [Y/n] 
Get:1 http://ppa.launchpad.net/elementary-os/stable/ubuntu focal/main amd64 elementary-icon-theme all 6.1.0+r2389+pkg20~ubuntu6.1 [2,739 kB]
Get:2 http://ppa.launchpad.net/elementary-os/stable/ubuntu focal/main amd64 io.elementary.settings-daemon amd64 1.1.0+r56+pkg7~ubuntu6.1 [41.9 kB]
Get:3 http://ppa.launchpad.net/elementary-os/stable/ubuntu focal/main amd64 io.elementary.shortcut-overlay amd64 1.2.1+r758+pkg12~ubuntu6.1 [41.6 kB]
Get:4 http://ppa.launchpad.net/elementary-os/stable/ubuntu focal/main amd64 pantheon-photos amd64 2.7.3+r4378+pkg61~ubuntu6.1 [1,808 kB]
Get:5 http://ppa.launchpad.net/elementary-os/stable/ubuntu focal/main amd64 slingshot-launcher amd64 2.10.1+r1779+pkg99~ubuntu6.1 [225 kB]
Get:6 http://ppa.launchpad.net/elementary-os/stable/ubuntu focal/main amd64 switchboard-plug-keyboard amd64 2.6.0+r1543+pkg991~ubuntu6.1 [181 kB]
Get:7 http://ppa.launchpad.net/elementary-os/stable/ubuntu focal/main amd64 switchboard-plug-locale amd64 2.5.6+r772+pkg575~ubuntu6.1 [81.8 kB]
Get:8 http://ppa.launchpad.net/elementary-os/stable/ubuntu focal/main amd64 switchboard-plug-online-accounts amd64 6.2.2+r348+pkg70~ubuntu6.1 [111 kB]
Get:9 http://ppa.launchpad.net/elementary-os/stable/ubuntu focal/main amd64 switchboard-plug-pantheon-shell amd64 6.1.0+r1479+pkg903~ubuntu6.1 [121 kB]
Get:10 http://ppa.launchpad.net/elementary-os/stable/ubuntu focal/main amd64 switchboard-plug-sound amd64 2.3.0+r738+pkg20~ubuntu6.1 [159 kB]
Get:11 http://ppa.launchpad.net/elementary-os/stable/ubuntu focal/main amd64 switchboard-plug-useraccounts amd64 2.4.2+r988+pkg675~ubuntu6.1 [112 kB]
Get:12 http://ppa.launchpad.net/elementary-os/stable/ubuntu focal/main amd64 wingpanel-indicator-datetime amd64 2.3.1+r808+pkg30~ubuntu6.1 [63.9 kB]
Get:13 http://ppa.launchpad.net/elementary-os/stable/ubuntu focal/main amd64 wingpanel-indicator-network amd64 2.3.2+r831+pkg28~ubuntu6.1 [70.1 kB]
Get:14 http://ppa.launchpad.net/elementary-os/stable/ubuntu focal/main amd64 wingpanel-indicator-sound amd64 6.0.1+r651+pkg26~ubuntu6.1 [112 kB]
Get:15 http://ppa.launchpad.net/elementary-os/stable/ubuntu focal/main amd64 appcenter amd64 3.9.0+r3522+pkg109~ubuntu6.1 [590 kB]
Get:16 http://ppa.launchpad.net/elementary-os/stable/ubuntu focal/main amd64 io.elementary.mail amd64 6.3.0+r917+pkg26~ubuntu6.1 [229 kB]
Get:17 http://ppa.launchpad.net/elementary-os/stable/ubuntu focal/main amd64 io.elementary.onboarding amd64 6.1.0+r689+pkg12~ubuntu6.1 [84.5 kB]
Fetched 6,771 kB in 2s (3,983 kB/s)                 
(Reading database ... 224509 files and directories currently installed.)
Preparing to unpack .../00-elementary-icon-theme_6.1.0+r2389+pkg20~ubuntu6.1_all.deb ...
Unpacking elementary-icon-theme (6.1.0+r2389+pkg20~ubuntu6.1) over (6.0.0+r2248+pkg19~ubuntu6.1) ...
Preparing to unpack .../01-io.elementary.settings-daemon_1.1.0+r56+pkg7~ubuntu6.1_amd64.deb ...
Unpacking io.elementary.settings-daemon (1.1.0+r56+pkg7~ubuntu6.1) over (1.0.0+r17+pkg6~ubuntu6.1) ...
Preparing to unpack .../02-io.elementary.shortcut-overlay_1.2.1+r758+pkg12~ubuntu6.1_amd64.deb ...
Unpacking io.elementary.shortcut-overlay (1.2.1+r758+pkg12~ubuntu6.1) over (1.2.0+r691+pkg11~ubuntu6.1) ...
Preparing to unpack .../03-pantheon-photos_2.7.3+r4378+pkg61~ubuntu6.1_amd64.deb ...
Unpacking pantheon-photos (2.7.3+r4378+pkg61~ubuntu6.1) over (2.7.2+r4325+pkg60~ubuntu6.1) ...
Preparing to unpack .../04-slingshot-launcher_2.10.1+r1779+pkg99~ubuntu6.1_amd64.deb ...
Unpacking slingshot-launcher (2.10.1+r1779+pkg99~ubuntu6.1) over (2.9.0+r1703+pkg96~ubuntu6.1) ...
Preparing to unpack .../05-switchboard-plug-keyboard_2.6.0+r1543+pkg991~ubuntu6.1_amd64.deb ...
Unpacking switchboard-plug-keyboard (2.6.0+r1543+pkg991~ubuntu6.1) over (2.5.1+r1452+pkg990~ubuntu6.1) ...
Preparing to unpack .../06-switchboard-plug-locale_2.5.6+r772+pkg575~ubuntu6.1_amd64.deb ...
Unpacking switchboard-plug-locale (2.5.6+r772+pkg575~ubuntu6.1) over (2.5.4+r704+pkg573~ubuntu6.1) ...
Preparing to unpack .../07-switchboard-plug-online-accounts_6.2.2+r348+pkg70~ubuntu6.1_amd64.deb ...
Unpacking switchboard-plug-online-accounts (6.2.2+r348+pkg70~ubuntu6.1) over (6.2.1+r306+pkg69~ubuntu6.1) ...
Preparing to unpack .../08-switchboard-plug-pantheon-shell_6.1.0+r1479+pkg903~ubuntu6.1_amd64.deb ...
Unpacking switchboard-plug-pantheon-shell (6.1.0+r1479+pkg903~ubuntu6.1) over (6.0.0+r1358+pkg902~ubuntu6.1) ...
Preparing to unpack .../09-switchboard-plug-sound_2.3.0+r738+pkg20~ubuntu6.1_amd64.deb ...
Unpacking switchboard-plug-sound (2.3.0+r738+pkg20~ubuntu6.1) over (2.2.7+r666+pkg19~ubuntu6.1) ...
Preparing to unpack .../10-switchboard-plug-useraccounts_2.4.2+r988+pkg675~ubuntu6.1_amd64.deb ...
Unpacking switchboard-plug-useraccounts (2.4.2+r988+pkg675~ubuntu6.1) over (2.4.0+r861+pkg673~ubuntu6.1) ...
Preparing to unpack .../11-wingpanel-indicator-datetime_2.3.1+r808+pkg30~ubuntu6.1_amd64.deb ...
Unpacking wingpanel-indicator-datetime (2.3.1+r808+pkg30~ubuntu6.1) over (2.3.0+r732+pkg29~ubuntu6.1) ...
Preparing to unpack .../12-wingpanel-indicator-network_2.3.2+r831+pkg28~ubuntu6.1_amd64.deb ...
Unpacking wingpanel-indicator-network (2.3.2+r831+pkg28~ubuntu6.1) over (2.3.1+r802+pkg27~ubuntu6.1) ...
Preparing to unpack .../13-wingpanel-indicator-sound_6.0.1+r651+pkg26~ubuntu6.1_amd64.deb ...
Unpacking wingpanel-indicator-sound (6.0.1+r651+pkg26~ubuntu6.1) over (6.0.0+r603+pkg25~ubuntu6.1) ...
Preparing to unpack .../14-appcenter_3.9.0+r3522+pkg109~ubuntu6.1_amd64.deb ...
Unpacking appcenter (3.9.0+r3522+pkg109~ubuntu6.1) over (3.8.0+r3356+pkg106~ubuntu6.1) ...
Preparing to unpack .../15-io.elementary.mail_6.3.0+r917+pkg26~ubuntu6.1_amd64.deb ...
Unpacking io.elementary.mail (6.3.0+r917+pkg26~ubuntu6.1) over (6.2.0+r840+pkg25~ubuntu6.1) ...
Preparing to unpack .../16-io.elementary.onboarding_6.1.0+r689+pkg12~ubuntu6.1_amd64.deb ...
Unpacking io.elementary.onboarding (6.1.0+r689+pkg12~ubuntu6.1) over (6.0.0+r507+pkg10~ubuntu6.1) ...
Setting up switchboard-plug-useraccounts (2.4.2+r988+pkg675~ubuntu6.1) ...
Setting up switchboard-plug-online-accounts (6.2.2+r348+pkg70~ubuntu6.1) ...
Setting up wingpanel-indicator-sound (6.0.1+r651+pkg26~ubuntu6.1) ...
Setting up io.elementary.shortcut-overlay (1.2.1+r758+pkg12~ubuntu6.1) ...
Setting up linux-firmware (1.187.20) ...
update-initramfs: Generating /boot/initrd.img-5.11.0-38-generic
W: Possible missing firmware /lib/firmware/i915/skl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/glk_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/cml_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/icl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/ehl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/ehl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_huc_7.5.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_huc_7.5.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/dg1_dmc_ver2_02.bin for module i915
I: The initramfs will attempt to resume from /dev/dm-2
I: (/dev/mapper/data-swap)
I: Set the RESUME variable to override this.
Error 24 : Write error : cannot write compressed block 
E: mkinitramfs failure cpio 141 lz4 -9 -l 24
update-initramfs: failed for /boot/initrd.img-5.11.0-38-generic with 1.
dpkg: error processing package linux-firmware (--configure):
 installed linux-firmware package post-installation script subprocess returned error exit status 1
Setting up slingshot-launcher (2.10.1+r1779+pkg99~ubuntu6.1) ...
Setting up linux-image-5.11.0-41-generic (5.11.0-41.45~20.04.1) ...
Setting up wingpanel-indicator-datetime (2.3.1+r808+pkg30~ubuntu6.1) ...
Setting up switchboard-plug-pantheon-shell (6.1.0+r1479+pkg903~ubuntu6.1) ...
Setting up switchboard-plug-sound (2.3.0+r738+pkg20~ubuntu6.1) ...
Setting up io.elementary.settings-daemon (1.1.0+r56+pkg7~ubuntu6.1) ...
Setting up elementary-icon-theme (6.1.0+r2389+pkg20~ubuntu6.1) ...
Setting up switchboard-plug-keyboard (2.6.0+r1543+pkg991~ubuntu6.1) ...
Setting up io.elementary.mail (6.3.0+r917+pkg26~ubuntu6.1) ...
Setting up wingpanel-indicator-network (2.3.2+r831+pkg28~ubuntu6.1) ...
Setting up appcenter (3.9.0+r3522+pkg109~ubuntu6.1) ...
Setting up switchboard-plug-locale (2.5.6+r772+pkg575~ubuntu6.1) ...
dpkg: dependency problems prevent configuration of linux-image-generic-hwe-20.04:
 linux-image-generic-hwe-20.04 depends on linux-firmware; however:
  Package linux-firmware is not configured yet.

dpkg: error processing package linux-image-generic-hwe-20.04 (--configure):
 dependency problems - leaving unconfigured
Setting up pantheon-photos (2.7.3+r4378+pkg61~ubuntu6.1) ...
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu2) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.4) ...
Processing triggers for man-db (2.9.1-1) ...
Setting up io.elementary.onboarding (6.1.0+r689+pkg12~ubuntu6.1) ...
Processing triggers for linux-image-5.11.0-41-generic (5.11.0-41.45~20.04.1) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.11.0-41-generic
W: Possible missing firmware /lib/firmware/i915/skl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/glk_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/cml_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/icl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/ehl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/ehl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_huc_7.5.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_huc_7.5.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/dg1_dmc_ver2_02.bin for module i915
I: The initramfs will attempt to resume from /dev/dm-2
I: (/dev/mapper/data-swap)
I: Set the RESUME variable to override this.
Error 24 : Write error : cannot write compressed block 
E: mkinitramfs failure cpio 141 lz4 -9 -l 24
update-initramfs: failed for /boot/initrd.img-5.11.0-41-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-5.11.0-41-generic (--configure):
 installed linux-image-5.11.0-41-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-firmware
 linux-image-generic-hwe-20.04
 linux-image-5.11.0-41-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
aral commented 2 years ago

Looks like this is due to the same issue as https://github.com/elementary/appcenter/issues/1773 – I can confirm that my /boot partition is 100% full.

aral commented 2 years ago

Core issue: https://github.com/elementary/installer/issues/506

Closing this as the issue can be tracked there and in #1773