我从 1989 年开始使用 UNIX,但我从未成为系统管理员。我最近从動能的到月球。更新所有内容、重新安装所有常用的 IDE、应用程序、编译器、浏览器等花了一段时间,但我最终让它们全部运行起来了。
在更新中,我Python
从 3.10.7 升级到了 3.11.2,Gnome
从 43.? 升级到了 44.0。我四处查看,似乎建议升级Gnome
到 44.1,但除了从源代码编译之外,我找不到其他方法。
我的笔记本电脑是 LG Gram(LG Electronics 14Z90Q-G.AD7BF),具有以下优点(节选):
$ lspci -v
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c) (prog-if 00 [VGA controller])
Subsystem: LG Electronics, Inc. Alder Lake-P Integrated Graphics Controller
00:06.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #0 (rev 02) (prog-if 00 [Normal decode])
Subsystem: LG Electronics, Inc. 12th Gen Core Processor PCI Express x4 Controller
本周早些时候,设置停止打开。我得到一个小旋转器,然后什么都没有。我无法更改屏幕或任何其他配置。从 bash,我得到:
$ gnome-control-center
19:23:41.4587 GStreamer-Play[18516]: ERROR: GtkGstPlay: 'playbin' element not found, please check your setup
Trace/breakpoint trap (core dumped)
当我更加努力时,我得到:
$ sudo gnome-control-center
19:38:13.2118 Gtk[24510]: WARNING: Unable to acquire session bus: Failed to execute child process “dbus-launch” (No such file or directory)
19:38:13.3836 dconf[24510]: WARNING: failed to commit changes to dconf: Failed to execute child process “dbus-launch” (No such file or directory)
Error creating rfkill proxy: Failed to execute child process “dbus-launch” (No such file or directory)
这一次,“设置”窗口打开了,但它甚至不像系统的其他部分那样处于暗模式,而且无论我尝试进行什么更改,新的行都会不断出现,例如:
19:39:48.0455 cc-ubuntu-panel[24510]: WARNING: No gedit is installed here. Colors won't be updated. Please fix your installation.
19:39:48.0458 dconf[24510]: WARNING: failed to commit changes to dconf: Failed to execute child process “dbus-launch” (No such file or directory)
19:39:48.0849 cc-background-panel[24510]: WARNING: Error creating proxy: Failed to execute child process “dbus-launch” (No such file or directory)
这些只需点击外观!
我都做了:
$ sudo apt install gedit
$ sudo apt install dbus-x11
一些错误消失了,但仍然设置不使用 无法打开sudo
,也无法从 UI 打开。此外,使用 打开时sudo
,它现在显示一些进度,但屏幕显示什么都不显示并且继续记录:
19:48:17.3111 cc-display-panel[25888]: WARNING: Missing property 'ApplyMonitorsConfigAllowed' on DisplayConfig API
19:48:17.3111 cc-display-panel[25888]: WARNING: Missing property 'NightLightSupported' on DisplayConfig API
19:48:17.3113 cc-display-panel[25888]: WARNING: no sunset data, using 16.00
19:48:17.3113 cc-display-panel[25888]: WARNING: no sunrise data, using 8.00
19:48:17.3119 cc-display-panel[25888]: WARNING: no sunset data, using 16.00
19:48:17.3119 cc-display-panel[25888]: WARNING: no sunrise data, using 8.00
19:48:17.3119 cc-display-panel[25888]: WARNING: Error calling GetCurrentState: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.Mutter.DisplayConfig" does not exist
19:48:17.3126 cc-display-panel[25888]: WARNING: Missing property 'ApplyMonitorsConfigAllowed' on DisplayConfig API
19:48:17.3126 cc-display-panel[25888]: WARNING: Missing property 'NightLightSupported' on DisplayConfig API
19:48:17.3130 cc-display-panel[25888]: WARNING: Error calling GetCurrentState: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.Mutter.DisplayConfig" does not exist
19:48:27.7981 cc-display-panel[25888]: WARNING: no sunset data, using 16.00
19:48:27.7981 cc-display-panel[25888]: WARNING: no sunrise data, using 8.00
19:48:37.8030 cc-display-panel[25888]: WARNING: no sunset data, using 16.00
19:48:37.8031 cc-display-panel[25888]: WARNING: no sunrise data, using 8.00
19:48:48.4884 cc-display-panel[25888]: WARNING: no sunset data, using 16.00
19:48:48.4885 cc-display-panel[25888]: WARNING: no sunrise data, using 8.00
19:48:58.7981 cc-display-panel[25888]: WARNING: no sunset data, using 16.00
19:48:58.7982 cc-display-panel[25888]: WARNING: no sunrise data, using 8.00
19:49:08.7968 cc-display-panel[25888]: WARNING: no sunset data, using 16.00
19:49:08.7969 cc-display-panel[25888]: WARNING: no sunrise data, using 8.00
19:49:18.7966 cc-display-panel[25888]: WARNING: no sunset data, using 16.00
19:49:18.7966 cc-display-panel[25888]: WARNING: no sunrise data, using 8.00
19:49:28.7964 cc-display-panel[25888]: WARNING: no sunset data, using 16.00
19:49:28.7964 cc-display-panel[25888]: WARNING: no sunrise data, using 8.00
这是我的工作笔记本电脑,我正在努力完成最后期限,就像这是我的工作一样。我应该看看 FastAPI 和 React。我在使用 Wayland 和 Xorg 时也遇到了同样的问题。我急需帮助。
我能做些什么?
编辑 2023-05-03
如果我删除该文件~/.config/dconf/user
,我就可以打开设置,但每当我尝试访问时它仍然会崩溃多任务。这是进步吗?