Ubuntu 19.10
侏儒 3.28
我正在尝试运行gnome-control-center
结果:
分段错误(核心转储)
- 清除 gnome-control-center .cache 和 .config
- 删除所有 gnome 扩展
- 安装了所有更新
- 重启
没有改变...
> coredumpctl info:
PID: 12246 (gnome-control-c)
UID: 1000 (michaeldl)
GID: 1000 (michaeldl)
Signal: 11 (SEGV)
Timestamp: Sun 2019-11-10 23:23:21 MSK (1h 6min ago)
Command Line: gnome-control-center
Executable: /usr/bin/gnome-control-center
Control Group: /user.slice/user-1000.slice/[email protected]/gnome-shell-x11.service
Unit: [email protected]
User Unit: gnome-shell-x11.service
Slice: user-1000.slice
Owner UID: 1000 (michaeldl)
Boot ID: 4a24792e63014ae2904ad4e50987a50c
Machine ID: ef03f98c351a4bb19f7d0ca6b14695c6
Hostname: michaeldl
Storage: /var/lib/systemd/coredump/core.gnome-control-c.1000.4a24792e63014ae2904ad4e50987a50c.12246.1573417401000000.lz4
Message: Process 12246 (gnome-control-c) of user 1000 dumped core.
Stack trace of thread 12246:
#0 0x00007f34a3155e1e gtk_container_add (libgtk-3.so.0)
#1 0x000055c367493ba5 n/a (gnome-control-center)
#2 0x00007f34a3830546 n/a (libgobject-2.0.so.0)
#3 0x00007f34a3832278 g_object_new_valist (libgobject-2.0.so.0)
#4 0x00007f34a38325cd g_object_new (libgobject-2.0.so.0)
#5 0x000055c367452676 n/a (gnome-control-center)
#6 0x00007f34a382d7ef g_cclosure_marshal_VOID__STRINGv (libgobject-2.0.so.0)
#7 0x00007f34a382a936 n/a (libgobject-2.0.so.0)
#8 0x00007f34a384736c g_signal_emit_valist (libgobject-2.0.so.0)
#9 0x00007f34a38479b3 g_signal_emit (libgobject-2.0.so.0)
#10 0x000055c367450787 n/a (gnome-control-center)
#11 0x00007f34a382dde3 g_cclosure_marshal_VOID__OBJECTv (libgobject-2.0.so.0)
#12 0x00007f34a382a936 n/a (libgobject-2.0.so.0)
#13 0x00007f34a384736c g_signal_emit_valist (libgobject-2.0.so.0)
#14 0x00007f34a38479b3 g_signal_emit (libgobject-2.0.so.0)
#15 0x00007f34a382a936 n/a (libgobject-2.0.so.0)
#16 0x00007f34a384736c g_signal_emit_valist (libgobject-2.0.so.0)
#17 0x00007f34a3847fa9 g_signal_emit_by_name (libgobject-2.0.so.0)
#18 0x000055c367450f49 cc_panel_list_set_active_panel (gnome-control-center)
#19 0x000055c36745316f n/a (gnome-control-center)
#20 0x00007f34a3830546 n/a (libgobject-2.0.so.0)
#21 0x00007f34a3832278 g_object_new_valist (libgobject-2.0.so.0)
#22 0x00007f34a38325cd g_object_new (libgobject-2.0.so.0)
#23 0x000055c3674535ac cc_window_new (gnome-control-center)
#24 0x000055c36744cfc3 n/a (gnome-control-center)
#25 0x00007f34a382a936 n/a (libgobject-2.0.so.0)
#26 0x00007f34a384736c g_signal_emit_valist (libgobject-2.0.so.0)
#27 0x00007f34a38479b3 g_signal_emit (libgobject-2.0.so.0)
#28 0x00007f34a3952312 g_application_register (libgio-2.0.so.0)
#29 0x00007f34a39526ee n/a (libgio-2.0.so.0)
#30 0x00007f34a3952a72 g_application_run (libgio-2.0.so.0)
#31 0x000055c36744c639 main (gnome-control-center)
#32 0x00007f34a15c71e3 __libc_start_main (libc.so.6)
#33 0x000055c36744c84e _start (gnome-control-center)
Stack trace of thread 12255:
有任何想法吗?..
UPD:
删除带有依赖项的 gnome-control-center 并重新安装...
没有任何改变...
我修复它。
我有第三方存储库
ppa:system76/pop
它是在
pop-theme
安装过程中添加的。从替换原始更新后。
gnome-control-center
system76/pop
gnome-control-center
我做了什么:
pop-theme
/etc/apt/*
gnome-control-center
从 system76/pop中删除损坏的gnome-control-center
现在一切正常。
在我看来,除了摆脱我个人喜欢的有用存储库之外,还有一个更好的解决方案。帮助我的是确定主要的回购优先级。您可能会看到有两个可用于
gnome-control-center
软件包的存储库,并且现在使用apt-cache policy gnome-control-center
命令使用 system76:看到那些了
500
吗?这是默认的 repo 优先级,也是一样的。让我们给主 repo 更高的优先级(我在 Ubuntu 19.10 代号eoan
,请改用你的发行版的代号):这
release ...
部分是一种过滤器,您可以使用它来为 repo 赋予不同的优先级。创建并编辑(以根用户身份)一个名为/etc/apt/preferences.d/main_repo_priority
如下所示的文件:现在终于重新安装
gnome-control-center
:并仔细检查是否安装了正确的版本: