无法安装 gnome 扩展

无法安装 gnome 扩展

重启后,我意识到我的 ubuntu 出了问题。Ubuntu dock 不再出现(我设法通过重新安装修复了它 -- sudo apt-get remove gnome-shell-extension-ubuntu-dock)并且许多 gnome 扩展都消失了/停止工作了。(谁知道我还有什么问题。)

仔细观察后发现,这种症状适用于任何扩展安装尝试。这种尝试将导致出现红色错误按钮,而不是将 chrome 扩展中的滑块从“关闭”移到“打开”,并且系统日志中会出现每个扩展独有的奇怪 JS 错误。

一些随机系统日志示例:

Dec 15 15:02:07 gep gnome-shell[1823]: JS ERROR: Extension [email protected]: TypeError: Shell.GenericContainer is not a constructor#012_init@/home/gep/.local/share/gnome-shell/extensions/[email protected]/extension.js:391:22#012wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:82:27#012_Base.prototype._construct@resource:///org/gnome/gjs/modules/script/_legacy.js:18:10#012newClass@resource:///org/gnome/gjs/modules/script/_legacy.js:114:21#012enable@/home/gep/.local/share/gnome-shell/extensions/[email protected]/extension.js:985:12#012_callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:167:32#012loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:349:26#012callback@resource:///org/gnome/shell/ui/extensionDownloader.js:234:39#012gotExtensionZipFile/<@resource:///org/gnome/shell/ui/extensionDownloader.js:115:13

Dec 15 21:52:36 gep gnome-shell[1790]: JS ERROR: Extension [email protected]: GLib.FileError: Failed to open file “/home/gep/.local/share/gnome-shell/extensions/[email protected]/schemas/gschemas.compiled”: open() failed: No such file or directory#012_getSettingsSchema@/home/gep/.local/share/gnome-shell/extensions/[email protected]/utils.js:9:25#012@/home/gep/.local/share/gnome-shell/extensions/[email protected]/extension.js:11:24#012_callExtensionInit@resource:///org/gnome/shell/ui/extensionSystem.js:425:13#012loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:346:27#012callback@resource:///org/gnome/shell/ui/extensionDownloader.js:234:39#012gotExtensionZipFile/<@resource:///org/gnome/shell/ui/extensionDownloader.js:115:13

Dec 15 22:24:00 gep gnome-shell[1790]: JS ERROR: Extension [email protected]: Error: Requiring NMClient, version none: Typelib file for namespace 'NMClient' (any version) not found#012@/home/gep/.local/share/gnome-shell/extensions/[email protected]/extension.js:30:13#012_callExtensionInit@resource:///org/gnome/shell/ui/extensionSystem.js:425:13#012_callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:145:18#012_onEnabledExtensionsChanged/<@resource:///org/gnome/shell/ui/extensionSystem.js:497:18#012_onEnabledExtensionsChanged@resource:///org/gnome/shell/ui/extensionSystem.js:496:11#012_init/createCheckedMethod/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:529:46#012enableExtension@resource:///org/gnome/shell/ui/extensionSystem.js:194:29#012callback@resource:///org/gnome/shell/ui/extensionDownloader.js:235:44#012gotExtensionZipFile/<@resource:///org/gnome/shell/ui/extensionDownloader.js:115:13

Dec 15 22:19:38 gep gnome-shell[1790]: JS ERROR: Extension temperature@xtranophilist: SyntaxError: missing ( after for @ /home/gep/.local/share/gnome-shell/extensions/temperature@xtranophilist/extension.js:140

Dec 15 22:22:19 gep gnome-shell[1790]: JS ERROR: Extension [email protected]: SyntaxError: expected expression, got '<' @ /home/gep/.local/share/gnome-shell/extensions/[email protected]/dbus.js:23

知道如何修复吗?我真的不想重新安装 ubuntu... 提前谢谢大家。

相关内容