Skip to content

Extension fails to update on Ubuntu 25.04 #4

@thecalamityjoe87

Description

@thecalamityjoe87

Due to symlinks being used in some of the themes (i.e. Hatter), the extension fails to update via Extension Manager. This issue is caused by the symlinks not being able to be recursively deleted during the update process. This affects GNOME Shell version lower than 48.2 (Ubuntu 25.04 is on 48.0).

The log shows this issue:

Oct 02 11:47:25 isaac-Ubuntu gnome-shell[37920]: Failed to install extension updates for dynamic-calendar-and-clocks-icons-reborn@thecalamityjoe87.github.com
Oct 02 11:47:25 isaac-Ubuntu gnome-shell[37920]: JS ERROR: Gio.IOErrorEnum: Gio.IOErrorEnum: Error removing file /home/dev/.local/share/gnome-shell/extension-updates/dynamic-calendar-and-clocks-icons-reborn@thecalamityjoe87.github.com/themes/Hatter: Directory not empty
 
                                                 Stack trace:
                                                   recursivelyDeleteDir@resource:///org/gnome/shell/misc/fileUtils.js:62:13
                                                   recursivelyDeleteDir@resource:///org/gnome/shell/misc/fileUtils.js:58:33
                                                   recursivelyDeleteDir@resource:///org/gnome/shell/misc/fileUtils.js:58:33
                                                   _installExtensionUpdates@resource:///org/gnome/shell/ui/extensionSystem.js:678:27
                                                   init@resource:///org/gnome/shell/ui/extensionSystem.js:76:14
                                                   _initializeUI@resource:///org/gnome/shell/ui/main.js:338:22
                                                   start@resource:///org/gnome/shell/ui/main.js:189:11
                                                   @resource:///org/gnome/shell/ui/init.js:12:47
                                                   @resource:///org/gnome/shell/ui/init.js:21:20
 
                                                 @resource:///org/gnome/shell/ui/init.js:21:20
Oct 02 11:47:25 isaac-Ubuntu gnome-shell[37920]: Execution of main.js threw exception: Module resource:///org/gnome/shell/ui/init.js threw an exception

If you find that your Shell session always reverts back to the login screen, try this:

  1. Drop into TTY by pressing CTRL+ALT+F4
  2. Login with your username and password.
  3. Remove the extension-updates folder: rm -rf .local/share/gnome-shell/extension-updates
  4. Reboot

If you already have version 1 installed and are running into issues, I believe removing the themes folder from the extension will allow the update to proceed:

  1. Drop into TTY by pressing CTRL+ALT+F4
  2. Login with your username and password.
  3. Remove the themes folder: rm -rf .local/share/gnome-shell/extensions/dynamic-calendar-and-clocks-icons-reborn@thecalamityjoe87.github.com/themes
  4. Reboot

This issue was fixed for all users in Version 3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions